Icon SunFilledIcon MoonStars
Icon SunFilledIcon MoonStars

Icon LinkQueries

Icon Linkbalance

Returns the Balance! of a specific address for a given asset id.

args:

owner: Address!

The owner address.

assetId: AssetId!

The asset id.

Icon Linkbalances

Returns a BalanceConnection! for an array of balances for each asset owned by a given address.

args:

filter: BalanceFilterInput!

A filter to specify the wallet owner address.

Icon Linkblock

Returns information about a certain Block. Accepts either the block id or block height as an argument.

args:

id: BlockId

The block id.

height: U64

The block height.

Icon Linkblocks

Returns a BlockConnection! for an array of all blocks produced.

Icon Linkchain

Returns ChainInfo! about the target Fuel network used for the API.

Icon Linkcoin

Returns details about a specific Coin.

args:

utxoId: UtxoId!

A unique 32 byte identifier for the UTXO.

Icon Linkcoins

Returns a CoinConnection! for an array of coins based on a given owner and/or asset id

args:

filter: CoinFilterInput!

A filter with the owner address and optionally the asset id.

Icon Linkcontract

Returns the Contract information for a given contract id.

args:

id: ContractId!

The contract id of the requested contract.

Icon LinkcontractBalance

Returns the ContractBalance! for a given contract and asset id.

args:

contract: ContractId!

The contract that owns the balance.

asset: AssetId!

The asset id for the balance.

Icon LinkcontractBalances

Returns a ContractBalanceConnection! for an arrray of balances for all assets owned by a given contract

args:

filter: ContractBalanceFilterInput!

A filter for the contract balances.

Icon Linkhealth

Returns true if the API is running or false if the API is down.

Icon LinkmessageProof

Returns the MessageProof for a given message id or transaction.

args:

transactionId: TransactionId!

The transaction id for the message.

messageId: MessageId!

The id of the message.

Icon Linkmessages

Returns a MessageConnection! for an array of messages for a given owner.

args:

owner: Address

The owner address of the messages.

Icon LinknodeInfo

Returns NodeInfo! about the current node.

Icon LinkresourcesToSpend

Returns the list of spendable [[Resource!]!]! per asset from the query. The length of the result is the same as the length of query_per_asset. The ordering of assets and query_per_asset is the same.

args:

owner: Address!

The address to send coins to.

queryPerAsset: [SpendQueryElementInput!]!

The list of requested asset resources. Several entries with the same asset id are not allowed.

excludedIds: ExcludeInput

The resources to exclude.

Icon Linktransaction

Returns Transaction details for a given transaction id.

args:

id: TransactionId!

The id for the transaction.

Icon Linktransactions

Returns a TransactionConnection! for an array of all transactions.

Icon LinktransactionsByOwner

Returns a TransactionConnection! for an array of all transactions from a given address.

args:

owner: Address!

The owner address of the transactions.