fuel_tx::input::coin

Type Alias CoinSigned

source
pub type CoinSigned = Coin<Signed>;

Aliased Type§

struct CoinSigned {
    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: Empty<u64>,
    pub predicate: Empty<PredicateCode>,
    pub predicate_data: Empty<Vec<u8>>,
}

Fields§

§utxo_id: UtxoId§owner: Address§amount: u64§asset_id: AssetId§tx_pointer: TxPointer§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.

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