Optional
attachmentAn optional attachment
Optional
deadlineThe deadline when after how many minutes the transaction will be discarded, if it was not processed, e.g. due to very low fee
The fee expressed in Planck
It's recommended to use util.Amount
Optional
referencedUsing this field allows to make a transaction dependent on other transactions.
Optional
senderThe senders private key, i.e. the crypto.SignKeys.signPrivateKey If the private key is not given, then the transaction method will return the unsigned byte string. The transaction won't be processed until the unsigned bytes are being signed and broadcasted using TransactionApi.signAndBroadcastTransaction
The senders public key, i.e. the crypto.SignKeys.publicKey
Optional
skipSetting this option to true
, skips the additional security check, i.e. the verification of the
unsigned transaction bytes, which detects tampered node responses. By default, the option is false
.
Usually, you won't use this option, but can be useful when a method cannot be verified,
because the verification is not implemented yet.
The argument object for TransactionApi.sendAmountToSingleRecipient
Param: amountPlanck
The amount to be sent as Planck value
Param: feePlanck
The fee as Planck value
Param: recipientId
The id of the recipient
Param: recipientPublicKey
The optional recipients public key in hex format. Using this arg allows to activate a recipients account, if not activated yet
Param: senderPublicKey
The senders public key for sending an unsigned message
Param: senderPrivateKey
The senders private key to sign the message
Param: attachment
An optional attachment
Param: deadline
The optional transactions deadline in minutes until it's being removed from mempool. This may happen on low fees. Defaults to 1440 (maximum)