The balance of a particular asset for a wallet address.
fields:
An EOA account represented by 32 bytes.
The amount of the selected asset id as an unsigned 64 bit number.
A 32 byte representation of the asset.
The filter input type used to filter the balances
query.
fields:
The owner address of the balances.
Information about a block in the network.
fields:
A unique identifier for the block.
Metadata about a block.
The type of consensus used.
An array of transactions included in the block.
A breakpoint during debugging.
Defined as a tuple of a contract ID and relative pc
offset inside it.
fields:
The contract address.
The value of the program counter register $pc
, which is the memory address of the current instruction.
Information about the base chain. At a very high level chainInfo
helps you understand what Fuel chain you're connected to and the different parameters of this chain.
fields:
name
: String!
The human-readable string name of the chain. i.e. beta-5
The most recently created block.
The height of the base chain via relayer (i.e. Ethereum or DA)
consensusParameters
:
ConsensusParameters!
The consensus parameters used to validate blocks.
The gas cost of each opcode.
A transaction output that changes the unspent coins in a UTXO.
fields:
The recipient address of the coins.
The amount of coins.
The asset id for the coins.
Icon Link Coin
Information about a coin.
fields:
A unique 32 byte identifier for a UTXO.
The owner address of the coins.
The amount of coins.
The asset id of the coin.
The UTXO being spent must have been created at least this many blocks ago.
The block when the coins were created.
The index of the transaction that created this coin.
The filter input type for the coins
query.
fields:
The owner of the coins.
The asset id of the coins.
A type representing a coin output.
fields:
The receiver address of the output coins.
The amount of coins in the output.
The asset id for the output coins.
The consensus parameters used for validating blocks.
fields:
The allowed parameters of transactions
The allowed parameters of predicates
The allowed parameters of scripts
The allowed parameters of contracts
The allowed parameters of fees
The asset id of the "base" asset used for gas fees.
A unique identifier for the chain.
The gas cost of each opcode.
An object representing a deployed contract.
fields:
The contract address.
The contract bytecode.
A unique identifier for the contract.
An object representing the balance of a deployed contract for a certain asset.
fields:
The contract address.
The contract balance for the given asset.
The asset id for the coins.
The filter input type for the contractBalances
query.
fields:
The contract id that the query will return balances for.
The output type from deploying a contract.
fields:
The contract that was created.
The initial state root of contract.
The output type from a transaction that changed the state of a contract.
fields:
inputIndex
: Int!
The index of the input.
The root of amount of coins owned by contract after transaction execution.
The state root of contract after transaction execution.
An object containing information about a contract.
fields:
Maximum size of a contract in bytes
Maximum number of storage slots
The input type for the resourcesToSpend
query that defines what UTXOs and messages to exclude.
fields:
An array of UTXO IDs to exclude.
An array of message IDs to exclude.
The status type of a transaction that has failed.
fields:
transactionId
:
TransactionId!
A unique transaction id.
The block number for the failed transaction.
The time the transaction failed.
reason
: String!
The reason why the transaction failed.
programState
:
ProgramState
The state of the program execution.
The receipts for the transaction.
The consensus parameters for fees.
fields:
The dynamic adjustment of gas costs
The gas cost per byte
The breakdown of the gas costs of each opcode.
fields:
The gas cost of using the $add
ALU opcode.
The gas cost of using the $addi
ALU opcode.
The gas cost of using the $aloc
memory opcode.
The gas cost of using the $and
ALU opcode.
The gas cost of using the $andi
ALU opcode.
The gas cost of using the $bal
contract opcode.
The gas cost of using the $bhei
contract opcode.
The gas cost of using the $bhsh
contract opcode.
The gas cost of using the $burn
contract opcode.
The gas cost of using the $cb
contract opcode.
The gas cost of using the $cfei
memory opcode.
The gas cost of using the $cfsi
memory opcode.
The gas cost of using the $croo
contract opcode.
The gas cost of using the $div
ALU opcode.
The gas cost of using the $divi
ALU opcode.
The gas cost of using the $ecr1
cryptographic opcode.
The gas cost of using the $eck1
cryptographic opcode.
The gas cost of using the $ed19
cryptographic opcode.
The gas cost of using the $eq
ALU opcode.
The gas cost of using the $exp
ALU opcode.
The gas cost of using the $expi
ALU opcode.
The gas cost of using the $flag
opcode.
The gas cost of using the $gm
opcode.
The gas cost of using the $gt
opcode.
The gas cost of using the $gtf
ALU opcode.
The gas cost of using the $ji
control flow opcode.
The gas cost of using the $jmp
control flow opcode.
The gas cost of using the $jne
control flow opcode.
The gas cost of using the $jnei
control flow opcode.
The gas cost of using the $jnzi
control flow opcode.
The gas cost of using the $jmpf
control flow opcode.
The gas cost of using the $jmpb
control flow opcode.
The gas cost of using the $jnzf
control flow opcode.
The gas cost of using the $jnzb
control flow opcode.
The gas cost of using the $jnef
control flow opcode.
The gas cost of using the $jneb
control flow opcode.
The gas cost of using the $lb
memory opcode.
The gas cost of using the $log
contract opcode.
The gas cost of using the $lt
ALU opcode.
The gas cost of using the $lw
memory opcode.
The gas cost of using the $mint
contract opcode.
The gas cost of using the $mlog
ALU opcode.
The gas cost of using the $modOp
opcode.
The gas cost of using the $modi
ALU opcode.
The gas cost of using the $moveOp
ALU opcode.
The gas cost of using the $movi
ALU opcode.
The gas cost of using the $mroo
ALU opcode.
The gas cost of using the $mul
ALU opcode.
The gas cost of using the $muli
ALU opcode.
The gas cost of using the $mldv
ALU opcode.
The gas cost of using the $noop
ALU opcode.
The gas cost of using the $not
ALU opcode.
The gas cost of using the $or
ALU opcode.
The gas cost of using the $ori
ALU opcode.
The gas cost of using the $poph
opcode.
The gas cost of using the $popl
opcode.
The gas cost of using the $pshh
opcode.
The gas cost of using the $pshl
opcode.
The gas cost of using the $ret
opcode.
The gas cost of using the $rvrt
contract opcode.
The gas cost of using the $sb
memory opcode.
The gas cost of using the $sll
ALU opcode.
The gas cost of using the $slli
ALU opcode.
The gas cost of using the $srl
ALU opcode.
The gas cost of using the $srli
ALU opcode.
The gas cost of using the $srw
contract opcode.
The gas cost of using the $sub
ALU opcode.
The gas cost of using the $subi
ALU opcode.
The gas cost of using the $sw
memory opcode.
The gas cost of using the $sww
contract opcode.
The gas cost of using the $time
contract opcode.
The gas cost of using the $tr
contract opcode.
The gas cost of using the $tro
contract opcode.
The gas cost of using the $wdcm
ALU opcode.
The gas cost of using the $wqcm
ALU opcode.
The gas cost of using the $wdop
ALU opcode.
The gas cost of using the $wqop
ALU opcode.
The gas cost of using the $wdml
ALU opcode.
The gas cost of using the $wqml
ALU opcode.
The gas cost of using the $wddv
ALU opcode.
The gas cost of using the $wqdv
ALU opcode.
The gas cost of using the $wdmd
ALU opcode.
The gas cost of using the $wqmd
ALU opcode.
The gas cost of using the $wdam
ALU opcode.
The gas cost of using the $wqam
ALU opcode.
The gas cost of using the $wdmm
ALU opcode.
The gas cost of using the $wqmm
ALU opcode.
The gas cost of using the $xor
ALU opcode.
The gas cost of using the $xori
ALU opcode.
The dependent
gas cost of using the $call
contract opcode.
The dependent
gas cost of using the $ccp
contract opcode.
The dependent
gas cost of using the $csiz
contract opcode.
The dependent
gas cost of using the $k256
cryptographic opcode.
The dependent
gas cost of using the $ldc
contract opcode.
The dependent
gas cost of using the $logd
contract opcode.
The dependent
gas cost of using the $mcl
memory opcode.
The dependent
gas cost of using the $mcli
memory opcode.
The dependent
gas cost of using the $mcp
memory opcode.
The dependent
gas cost of using the $mcpi
memory opcode.
The dependent
gas cost of using the $meq
memory opcode.
The dependent
gas cost of using the $retd
contract opcode.
The dependent
gas cost of using the $mcpi
cryptographic opcode.
The dependent
gas cost of using the $scwq
cryptographic opcode.
The dependent
gas cost of using the $smo
contract opcode.
The dependent
gas cost of using the $srwq
contract opcode.
The dependent
gas cost of using the $swwq
contract opcode.
contractRoot
:
DependentCost!
The dependent
gas cost calculating the contractRoot
.
The dependent
gas cost calculating the stateRoot
.
vmInitialization
:
DependentCost!
The dependent
gas cost of the vmInitialization
.
The gas cost of storage per byte.
The genesis consensus type.
fields:
chainConfigHash
:
Bytes32!
The chain configuration hash. The chain configuration defines what consensus type to use, what settlement layer to use, and the rules of block validity.
The binary Merkle tree root of all genesis coins.
The binary Merkle tree root of state, balances, and the contracts code hash of each contract.
The binary merkle tree root of all genesis messages.
The operation dependent on the size of its inputs, and the time required per unit of input exceeding that of a single no-op operation
fields:
The minimum gas that this operation can cost
The gas is required to process a single unit
The header contains metadata about a certain block.
fields:
The current block id.
The block height for the data availability layer up to which (inclusive) input messages are processed.
The number of transactions in the block.
messageReceiptCount
:
U64!
The number of receipt messages in the block.
transactionsRoot
:
Bytes32!
The merkle root of the transactions in the block.
messageReceiptRoot
:
Bytes32!
The merkle root of the receipt messages in the block.
The block height.
The merkle root of all previous consensus header hashes (not including this block).
The timestamp for the block.
applicationHash
:
Bytes32!
The hash of the serialized application header for this block.
Information about a coin input.
fields:
A unique 32 byte identifier for the UTXO.
The owning address or predicate root.
The amount of coins.
The asset ID of the coins.
A pointer to the transaction whose output is being spent.
witnessIndex
: Int!
The index of the witness that authorizes spending the coin.
The UTXO being spent must have been created at least this many blocks ago.
The amount of gas used in the predicate transaction.
The predicate bytecode.
predicateData
:
HexString!
The predicate input parameters.
Information about a contract input.
fields:
A unique 32 byte identifier for the UTXO.
The root of amount of coins owned by contract before transaction execution.
The state root of contract before transaction execution.
A pointer to the TX whose output is being spent.
The input contract.
Information about a message input.
fields:
The sender address of the message.
The recipient address of the message.
The amount sent in the message.
A nonce value for the message input, which is determined by the sending system and is published at the time the message is sent.
witnessIndex
: Int!
The index of witness that authorizes spending the coin.
The amount of gas used in the predicate transaction.
The message data.
The predicate bytecode.
predicateData
:
HexString!
The predicate input parameters.
The operation dependent on the size of its inputs, and the time required per unit of input less that of a single no-op operation
fields:
The minimum gas that this operation can cost
The units that can be processed with a single gas
Information about a merkle proof.
fields:
The proof set of the message proof.
The index used to generate this proof.
Contains information about a message.
fields:
The amount of base asset coins sent with the message.
The address of the message sender.
The recipient of the message.
The nonce value for the message.
data
: [Int!]!
The vector with the message data.
The block height of the data availability layer up to which (inclusive) input messages are processed.
Information about message coin
fields:
The address of the message sender.
The recipient of the message.
The nonce value for the message.
The amount of base asset coins sent with the message.
The asset id of the coins transferred.
The block height of the data availability layer up to which (inclusive) input messages are processed.
Information about the message proof.
fields:
messageProof
:
MerkleProof!
The merkle proof of the message.
The merkle proof of the block.
messageBlockHeader
:
Header!
The merkle proof of the message.
commitBlockHeader
:
Header!
The merkle proof of the block.
The message sender.
The message recipient.
The message nonce.
The amount sent in the message.
The data from the message.
The status type of a message.
fields:
The state of the message.
Information about a node.
fields:
utxoValidation
: Boolean!
Whether or not the node is using UTXO validation.
vmBacktrace
: Boolean!
Whether or not logging of backtraces from VM errors is enabled.
The minimum gas price for the node.
The maximum number of transactions.
The maximum number of connected UTXOs allowed, excluding contracts.
nodeVersion
: String!
The node version.
The information about the node's peers.
A breakpoint during debugging.
fields:
The contract address.
The value of the program counter register $pc
, which is the memory address of the current instruction.
Information about a peer node.
fields:
id
: String!
The libp2p
ID of the peer node.
addresses
: [String!]!
The advertised addresses that can be used to connect to this peer node.
clientVersion
: String
The self-reported version of the client the peer node is using.
The last reported height of the peer node.
The time of the last heartbeat from this peer node in Unix epoch time milliseconds.
appScore
: Float!
The internal Fuel peer-to-peer reputation of this peer node.
The proof-of-authority (PoA) consensus type.
fields:
The signature of the block produced by PoA consensus.
An object representing the state of execution of a transaction.
fields:
The type of return response for the transaction.
The data returned from the transaction.
Information about the policies of a transaction.
fields:
The price for each unit of gas consumed during the transaction execution.
The limit of witnesses that can be included in the transaction.
The minimum block height that the transaction can be included at.
The maximum fee allowed for the transaction to consume.
The consensus parameters for a predicate.
fields:
The maximum length of a predicate.
maxPredicateDataLength
:
U64!
The maximum length of predicate data.
The maximum amount of gas allowed for a predicate.
maxMessageDataLength
:
U64!
The maximum length of message data for a predicate.
An object representing all possible types of receipts.
fields:
The contract that produced the receipt.
The value of the program counter register $pc
, which is the memory address of the current instruction.
The value of register $is
, which is the pointer to the start of the currently-executing code.
The recipient contract.
The recipient address.
The amount of coins transferred.
The asset id of the coins transferred.
The gas used for the transaction.
The first parameter for a CALL
receipt type, holds the function selector.
The second parameter for a CALL
receipt type, typically used for the user-specified input to the ABI function being selected.
The value of registers at the end of execution, used for debugging.
The value of the pointer register, used for debugging.
A 32-byte hash of MEM[$rC, $rD]
. The syntax MEM[x, y]
means the memory range starting at byte x
, of length y
bytes.
The decimal string representation of an 8-bit unsigned integer for the panic reason. Only returned if the receipt type is PANIC
.
The value of register $rA
.
The value of register $rB
.
The value of register $rC
.
The value of register $rD
.
The length of the receipt.
receiptType
:
ReceiptType!
The type of receipt.
0
if script exited successfully, any
otherwise.
The amount of gas consumed by the script.
The receipt data.
The address of the message sender.
The address of the message recipient.
The nonce value for a message.
The contract id.
The sub id.
The result of a transaction execution.
fields:
state
: RunState!
The state of the transaction execution.
breakpoint
: OutputBreakpoint
A breakpoint during debugging.
jsonReceipts
: [String!]!
The receipts of the transaction in JSON format.
The consensus parameters for a script.
fields:
The maximum length of a script.
maxScriptDataLength
:
U64!
The maximum length of script data.
A type used in the queryPerAsset
argument for the resourcesToSpend
query.
fields:
The asset id for the asset.
The amount of coins to send.
The max number of resources in the selection.
The status for a transaction that was squeezed out of the transaction pool.
fields:
reason
: String!
The reason why the transaction was squeezed out.
The status of a successful transaction.
fields:
transactionId
:
TransactionId!
The ID of the transaction.
The block of the transaction.
The time of the transaction.
programState
:
ProgramState
The state of the program execution.
The transaction receipts.
The status for a submitted transaction.
fields:
The time a transaction was submitted
An object containing information about a transaction.
fields:
A unique transaction id.
inputAssetIds
:
[AssetId!]
An array of asset ids used for the transaction inputs.
inputContracts
:
[Contract!]
An array of contracts used for the transaction inputs.
inputContract
:
InputContract
A contract used for the transaction input.
The policies for the transaction.
The gas price for the transaction.
The gas limit for the transaction.
The minimum block height that the transaction can be included at.
The amount minted in the transaction.
The asset ID for coins minted in the transaction.
The location of the transaction in the block.
isScript
: Boolean!
Whether or not the transaction is a script.
isCreate
: Boolean!
Whether or not the transaction is creating a new contract.
isMint
: Boolean!
Whether or not the transaction is minting new coins.
An array of inputs for the transaction.
An array of outputs for the transaction.
outputContract
:
ContractOutput
The contract output for the transaction.
An array of witnesses.
The root of the receipts.
The status of the transaction.
An array of the receipts produced by the transaction.
The script to execute.
The script input parameters.
bytecodeWitnessIndex
: Int
The witness index of contract bytecode.
The length of the transaction bytecode.
The salt value for the transaction.
storageSlots
:
[HexString!]
An array of storage slot.
A hex string of the raw transaction payload.
The consensus parameters for a transaction.
fields:
The maximum number of inputs allowed for a transaction.
The maximum number of outputs allowed for a transaction.
The maximum number of witnesses allowed for a transaction.
The maximum amount of gas allowed for a transaction.
The maximum size allowed for a transaction.
The output type for a transaction that outputs an amount that may vary based on transaction execution.
fields:
The address the coins were sent to.
The amount of coins in the output.
The asset id for the coins sent.