Wallet Operations Structures
The RawTxInfo
object includes the following items:
Parameter | Type | Description |
---|---|---|
tx_hex | string | UTXO only. The raw unsigned hex of a proposed transaction. |
prev_txns | list | UTXO only. A list of standard InputTxns objects. |
to | string | ETH/EVM only. A destination address to send the funds to. |
value | string | ETH/EVM only. The amount of funds to be sent as a string with a 0x prefix, in wei units. |
gas_limit | string | ETH/EVM only. The maximum gas to be used for sending the transaction, in gwei units. |
The InputTxns
object includes the following items:
Parameter | Type | Description |
---|---|---|
tx_hash | string | The transaction id of an unspent transaction from the same wallet output. |
index | integer | The [output index(https://bitcoin.stackexchange.com/questions/100765/what-does-the-index-of-an-utxo-stand-for)] of this unspent transaction output. |
script_pub_key | string | The scriptpubkey of this unspent transaction output. |
amount | float | The value of this unspent transaction output. |
amount |