Build Unsigned Transaction
Build a unsigned transaction for use with the offline transaction signer
Required Param | Purpose | Requirements |
---|---|---|
| The account on which to perform this action | Account must exist in the wallet |
Optional Param | Purpose | Requirements |
---|---|---|
| An array of public addresses and Amounts as a tuple | addresses are b58-encoded public addresses |
| The recipient for this transaction | b58-encoded public address bytes |
| The Amount to send in this transaction | |
| Specific TXOs to use as inputs to this transaction | TXO IDs (obtain from |
| The fee value to submit with this transaction | If not provided, uses |
| The fee token_id to submit with this transaction | If not provided, uses token_id of first output, if available, or defaults to MOB |
| The block after which this transaction expires | If not provided, uses |
| string(u64) | The block version to build this transaction for. Defaults to the network block version |
| The maximum amount for an input TXO selected for this transaction |
Example
Since the tx_proposal
JSON object is quite large, you may wish to write the result to a file for use in the submit_transaction
call, such as:
Last updated