fuel_tx::input::coin

Type Alias CoinFull

source
pub type CoinFull = Coin<Full>;

Aliased Type§

struct CoinFull {
    pub utxo_id: UtxoId,
    pub owner: Address,
    pub amount: u64,
    pub asset_id: AssetId,
    pub tx_pointer: TxPointer,
    pub witness_index: u16,
    pub predicate_gas_used: u64,
    pub predicate: PredicateCode,
    pub predicate_data: Vec<u8>,
}

Fields§

§utxo_id: UtxoId§owner: Address§amount: u64§asset_id: AssetId§tx_pointer: TxPointer§witness_index: u16§predicate_gas_used: u64

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

§predicate: PredicateCode§predicate_data: Vec<u8>