Class TransferParams
Supports complex atomic multi-party multi-token and crypto transfers requests. Can support multi-account crypto transfers and/or multi-account token transfers in the same transaction. The crypto transfer list or token transfer list may be null if not used, however at least one transfer of some type must be defined to be valid.
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class TransferParams
Properties
| Improve this Doc View SourceAssetTransfers
A list of assets transfered from an arbitray set of accounts to another arbitrary set of accounts.
Declaration
public IEnumerable<AssetTransfer> AssetTransfers { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<AssetTransfer> |
CryptoTransfers
Transfer tinybars from an arbitray set of accounts to another arbitrary set of accounts.
Declaration
public IEnumerable<KeyValuePair<Address, long>> CryptoTransfers { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<KeyValuePair<Address, Int64>> |
Signatory
Additional private key, keys or signing callback method required to authorize the transfers. Typically matches the Endorsement assigned to sending accounts.
Declaration
public Signatory Signatory { get; set; }
Property Value
Type | Description |
---|---|
Signatory |
Remarks
Keys/callbacks added here will be combined with those already identified in the client object's context when signing this transaction to change the state of this account. They will not be asked to sign transactions to retrieve the record if the "WithRecord" form of the method call is made. The client will rely on the Signatory from the context to sign the transaction requesting the record.
TokenTransfers
A list of tokens transfered from an arbitray set of accounts to another arbitrary set of accounts.
Declaration
public IEnumerable<TokenTransfer> TokenTransfers { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<TokenTransfer> |