Crate fuel_tx

Source

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.
BlobBody
The body of the Blob transaction.
BlobId
FuelVM atomic array type.
BlobMetadata
Bytes4
FuelVM atomic array type.
Bytes8
FuelVM atomic array type.
Bytes32
FuelVM atomic array type.
Bytes64
FuelVM atomic type.
ChargeableMetadata
ChargeableTransaction
Contract
Deployable representation of a contract code.
ContractId
FuelVM atomic array type.
CreateMetadata
GasCosts
Gas costings for every op. The inner values are wrapped in an Arc so this is cheap to clone.
MessageId
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
PanicInstruction
Describe a panic reason with the instruction that generated it
Salt
FuelVM atomic array type.
ScriptCode
StorageSlot
TransactionFee
TxPointer
Identification of unspend transaction output.
UpgradeBody
The body of the Upgrade transaction.
UploadBody
The body of the Upload transaction.
UploadMetadata
UploadSubsection
UtxoId
Identification of unspend transaction output.
Witness

Enums§

ConsensusParameters
A versioned set of consensus parameters.
ContractParameters
Versioned contract parameters.
DependentCost
Dependent cost is a cost that depends on the number of units.
FeeParameters
The versioned fee parameters.
GasCostsValues
The versioned gas costs for every op.
Input
InputRepr
Output
OutputRepr
PanicReason
Panic reason representation for the interpreter.
PredicateParameters
Versioned predicate parameters.
Receipt
ScriptExecutionResult
ScriptParameters
Versioned script parameters.
Transaction
The fuel transaction entity https://github.com/FuelLabs/fuel-specs/blob/master/src/tx-format/transaction.md.
TransactionRepr
TxParameters
Versioned transaction parameters.
UpgradeMetadata
UpgradePurpose
The types describe the purpose of the upgrade performed by the Upgrade transaction.
ValidityError
The error returned during the checking of the transaction’s validity rules.

Traits§

BlobIdExt
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.
ContractIdExt
Trait extends the functionality of the ContractId type.
Executable
FormatValidityChecks
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.
PrepareSign
Prepares transaction for signing.
Signable
Means that transaction can be singed.
UniqueIdentifier
Means that transaction has a unique identifier.

Type Aliases§

Blob
Create
Script
TxId
Identification of transaction (also called transaction hash)
Upgrade
Upload
Word
Register value type