fuel_tx::input::message

Type Alias MessageCoinSigned

source
pub type MessageCoinSigned = Message<MessageCoin<Signed>>;

Aliased Type§

struct MessageCoinSigned {
    pub sender: Address,
    pub recipient: Address,
    pub amount: u64,
    pub nonce: Nonce,
    pub witness_index: u16,
    pub predicate_gas_used: Empty<u64>,
    pub data: Empty<Vec<u8>>,
    pub predicate: Empty<PredicateCode>,
    pub predicate_data: Empty<Vec<u8>>,
}

Fields§

§sender: Address

The sender from the L1 chain.

§recipient: Address

The receiver on the Fuel chain.

§amount: u64§nonce: Nonce§witness_index: u16§predicate_gas_used: Empty<u64>

Exact amount of gas used by the predicate. If the predicate consumes different amount of gas, it’s considered to be false.

§data: Empty<Vec<u8>>§predicate: Empty<PredicateCode>§predicate_data: Empty<Vec<u8>>

Implementations§