M_Iota_Lib_CSharp_Api_IotaApi_PrepareTransfers - iotaledger-archive/iota.lib.csharp GitHub Wiki
Main purpose of this function is to get an array of transfer objects as input, and then prepare the transfer by generating the correct bundle, as well as choosing and signing the inputs if necessary (if it's a value transfer). The output of this function is an array of the raw transaction data (trytes)
Namespace: Iota.Lib.CSharp.Api
Assembly: IotaApi (in IotaApi.dll) Version: 0.9.0.24212 (1.0.0.0)
C#
public List<string> PrepareTransfers(
string seed,
Transfer[] transfers,
List<Input> inputs = null,
string remainderAddress = null
)
- seed
- Type: System.String
81-tryte encoded address of recipient - transfers
- Type: Iota.Lib.CSharp.Api.Model.Transfer[]
the transfers to prepare - inputs (Optional)
- Type: System.Collections.Generic.List(Input)
Optional (default null). The inputs - remainderAddress (Optional)
- Type: System.String
Optional (default null). if defined, this address will be used for sending the remainder value (of the inputs) to.
Type: List(String)
a list containing the trytes of the new bundle