Module std::inputs

Expand description

Getters for fields on transaction inputs.
This includes Input::Coin, Input::Message and Input::Contract.

Enums

The input type for a transaction.

Constants

Functions

Gets the amount field from the input at index.

Gets the asset id of the input at index.

Gets the owner field from the input at index if it’s a coin.

Gets the transaction inputs count.

Gets the data of the input message at index.

Gets the length of the input message at index.

Gets the nonce of the input message at index.

Gets the recipient of the input message at index.

Gets the sender of the input message at index.

Gets the predicate bytecode from the input at index.

Gets the predicate data from the input at index.

Gets the predicate data length from the input at index.

Gets the predicate length from the input at index.

Gets the predicate pointer from the input at index.

Gets the type of the input at index.

Gets the witness index from the input at index.