M_Iota_Lib_CSharp_Api_IotaApi_SendTransfer - iotaledger-archive/iota.lib.csharp GitHub Wiki
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)
C#
public bool[] SendTransfer(
string seed,
int depth,
int minWeightMagnitude,
Transfer[] transfers,
Input[] inputs = null,
string address = null
)
- 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
Type: Boolean[]
an array of the boolean that indicates which Transactions where sent successully