Module std::tx

Expand description

Transaction field getters.

Enums

A transaction type.

Constants

Functions

Get the script gas limit for the transaction.

Get the Transaction ID of the current transaction.

Get the maturity for the transaction, if it is set.

Get the max fee for the transaction, if it is set.

Get the script bytecode.

Get the hash of the script bytecode.
Reverts if not a transaction-script.

Get the script data, typed.

Get the script data length for the transaction.

Get the transaction script data start pointer.

Get the length of the script for the transaction.

Get the transaction script start pointer.

Get the tip for the transaction, if it is set.

Get the type of the current transaction.

Get the witness data at index.

Get the length of the witness data at index.

Get the witness limit for the transaction, if it is set.

Get a pointer to the witness at index index for the transaction.

Get the transaction witnesses count for the transaction.