Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

M_Iota_Lib_CSharp_Api_IotaApi_SendTransfer

saniro edited this page Feb 16, 2017 · 1 revision

IotaApi.SendTransfer Method

Wrapper function that basically does prepareTransfers, as well as attachToTangle and finally, it broadcasts and stores the transactions locally.

Namespace: Iota.Lib.CSharp.Api
Assembly: IotaApi (in IotaApi.dll) Version: 0.9.0.24212 (1.0.0.0)

Syntax

C#

public bool[] SendTransfer(
	string seed,
	int depth,
	int minWeightMagnitude,
	Transfer[] transfers,
	Input[] inputs = null,
	string address = null
)

Parameters

 

seed
Type: System.String
tryte-encoded seed
depth
Type: System.Int32
depth
minWeightMagnitude
Type: System.Int32
The minimum weight magnitude
transfers
Type: Iota.Lib.CSharp.Api.Model.Transfer[]
Array of transfer objects
inputs (Optional)
Type: Iota.Lib.CSharp.Api.Model.Input[]
Optional (default null). List of inputs used for funding the transfer
address (Optional)
Type: System.String
Optional (default null). If defined, this address will be used for sending the remainder value (of the inputs) to

Return Value

Type: Boolean[]
an array of the boolean that indicates which Transactions where sent successully

See Also

Reference

IotaApi Class
Iota.Lib.CSharp.Api Namespace

Clone this wiki locally