Modules§
- consensus_
parameters - consts
- field
- The module contains traits for each possible field in the
Transaction
. Those traits can be used to write generic code based on the different combinations of the fields. - input
- output
- policies
Structs§
- Address
- FuelVM atomic array type.
- AssetId
- FuelVM atomic array type.
- Blob
Body - The body of the
Blob
transaction. - BlobId
- FuelVM atomic array type.
- Blob
Metadata - Bytes4
- FuelVM atomic array type.
- Bytes8
- FuelVM atomic array type.
- Bytes32
- FuelVM atomic array type.
- Bytes64
- FuelVM atomic type.
- Chargeable
Metadata - Chargeable
Transaction - Contract
- Deployable representation of a contract code.
- Contract
Id - FuelVM atomic array type.
- Create
Metadata - GasCosts
- Gas costings for every op.
The inner values are wrapped in an
Arc
so this is cheap to clone. - Message
Id - FuelVM atomic array type.
- Mint
- The definition of the
Mint
transaction from the specification: https://github.com/FuelLabs/fuel-specs/blob/master/src/tx-format/transaction.md#transactionmint - Panic
Instruction - Describe a panic reason with the instruction that generated it
- Salt
- FuelVM atomic array type.
- Script
Code - Storage
Slot - Transaction
Fee - TxPointer
- Identification of unspend transaction output.
- Upgrade
Body - The body of the
Upgrade
transaction. - Upload
Body - The body of the
Upload
transaction. - Upload
Metadata - Upload
Subsection - UtxoId
- Identification of unspend transaction output.
- Witness
Enums§
- Consensus
Parameters - A versioned set of consensus parameters.
- Contract
Parameters - Versioned contract parameters.
- Dependent
Cost - Dependent cost is a cost that depends on the number of units.
- FeeParameters
- The versioned fee parameters.
- GasCosts
Values - The versioned gas costs for every op.
- Input
- Input
Repr - Output
- Output
Repr - Panic
Reason - Panic reason representation for the interpreter.
- Predicate
Parameters - Versioned predicate parameters.
- Receipt
- Script
Execution Result - Script
Parameters - Versioned script parameters.
- Transaction
- The fuel transaction entity https://github.com/FuelLabs/fuel-specs/blob/master/src/tx-format/transaction.md.
- Transaction
Repr - TxParameters
- Versioned transaction parameters.
- Upgrade
Metadata - Upgrade
Purpose - The types describe the purpose of the upgrade performed by the
Upgrade
transaction. - Validity
Error - The error returned during the checking of the transaction’s validity rules.
Traits§
- Blob
IdExt - Adds method to
BlobId
to compute the it from blob data. - Cacheable
- Entity support metadata computation to cache results.
- Chargeable
- Means that the blockchain charges fee for the transaction.
- Contract
IdExt - Trait extends the functionality of the
ContractId
type. - Executable
- Format
Validity Checks - Contains logic for stateless validations that don’t result in any reusable metadata such as spendable input balances or remaining gas. Primarily involves validating that transaction fields are correctly formatted and signed.
- Prepare
Sign - Prepares transaction for signing.
- Signable
- Means that transaction can be singed.
- Unique
Identifier - Means that transaction has a unique identifier.