Struct fuel_gql_client::client::schema::tx::transparent_tx::Transaction
source · pub struct Transaction {Show 22 fields
pub gas_limit: Option<U64>,
pub gas_price: Option<U64>,
pub id: TransactionId,
pub tx_pointer: Option<TxPointer>,
pub input_asset_ids: Option<Vec<AssetId>>,
pub input_contracts: Option<Vec<ContractIdFragment>>,
pub inputs: Option<Vec<Input>>,
pub is_script: bool,
pub is_create: bool,
pub is_mint: bool,
pub outputs: Vec<Output>,
pub maturity: Option<U64>,
pub receipts_root: Option<Bytes32>,
pub status: Option<TransactionStatus>,
pub witnesses: Option<Vec<HexString>>,
pub receipts: Option<Vec<Receipt>>,
pub script: Option<HexString>,
pub script_data: Option<HexString>,
pub salt: Option<Salt>,
pub storage_slots: Option<Vec<HexString>>,
pub bytecode_witness_index: Option<i32>,
pub bytecode_length: Option<U64>,
}
Fields§
§gas_limit: Option<U64>
§gas_price: Option<U64>
§id: TransactionId
§tx_pointer: Option<TxPointer>
§input_asset_ids: Option<Vec<AssetId>>
§input_contracts: Option<Vec<ContractIdFragment>>
§inputs: Option<Vec<Input>>
§is_script: bool
§is_create: bool
§is_mint: bool
§outputs: Vec<Output>
§maturity: Option<U64>
§receipts_root: Option<Bytes32>
§status: Option<TransactionStatus>
§witnesses: Option<Vec<HexString>>
§receipts: Option<Vec<Receipt>>
§script: Option<HexString>
§script_data: Option<HexString>
§salt: Option<Salt>
§storage_slots: Option<Vec<HexString>>
§bytecode_witness_index: Option<i32>
§bytecode_length: Option<U64>
Trait Implementations§
source§impl Debug for Transaction
impl Debug for Transaction
source§impl<'de> Deserialize<'de> for Transaction
impl<'de> Deserialize<'de> for Transaction
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'de> QueryFragment<'de> for Transaction
impl<'de> QueryFragment<'de> for Transaction
§type SchemaType = Transaction
type SchemaType = Transaction
The type in a schema that this
QueryFragment
representssource§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::Variables>)
Adds this fragment to the query being built by
builder
source§impl TryFrom<Transaction> for Transaction
impl TryFrom<Transaction> for Transaction
§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.