public class SendAsset extends GraphQLRequest<SendAsset> implements TransactionRequestArguments<SendAsset>
AdvancedSendAsset
,
IProjectSchema
Constructor and Description |
---|
SendAsset()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
SendAsset |
assetId(java.lang.String assetId)
Sets the asset ID.
|
SendAsset |
assetIndex(java.lang.String assetIndex)
Sets the index for non-fungible assets.
|
SendAsset |
data(java.lang.String data)
Sets the data to forward with the transaction.
|
SendAsset |
recipientAddress(java.lang.String recipientAddress)
Sets the wallet address of the recipient.
|
SendAsset |
value(java.lang.String value)
Sets the amount to send.
|
getNamespace, getVariables, isSet, set
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ethAddress
transactionAssetIdFormat, withAssetData, withBlockchainData, withEncodedData, withError, withLogEvent, withMeta, withNonce, withReceipt, withReceiptLogs, withSignedTxs, withState, withTransactionProjectUuid, withTransactionWalletAddress
getVariables, isSet, set
public SendAsset recipientAddress(java.lang.String recipientAddress)
recipientAddress
- the addresspublic SendAsset assetId(java.lang.String assetId)
assetId
- the IDpublic SendAsset assetIndex(java.lang.String assetIndex)
assetIndex
- the indexpublic SendAsset value(java.lang.String value)
value
- the amountpublic SendAsset data(java.lang.String data)
data
- the data