## balance **Type:** GraphQL queries **Description:** Returns the balances for a given account, chain, and module combination. This query calculates and returns the user's balance for each specified combination of **account**, **chain ID**, and **module**. For example, it can return how much balance the account `k:9492...5c17` holds on **chain 1** within the **coin** module. ### Arguments - accountName (String): The full account name to retrieve balances for. - chainIds (String): A list of chain IDs to include in the balance retrieval. Example: `["0", "1"]` - module (String): The name of the module that issued the token. Example: `"coin"` - after (String): Cursor to start paginating **after** a specific result. Used for forward pagination. - before (String): Cursor to start paginating **before** a specific result. Used for backward pagination. - first (Int): Maximum number of balance records to return when paginating forward. - last (Int): Maximum number of balance records to return when paginating backward. ### Response **Type:** QueryBalanceConnection **Description:** Connection type for balance query results. #### Fields - edges (QueryBalanceConnectionEdge) - pageInfo (PageInfo) --- ## block **Type:** GraphQL queries **Description:** Retrieve detailed information about a specific block using its unique hash. Every block in the Kadena blockchain is identified by a cryptographic hash — a unique fingerprint generated from its contents. This query allows you to look up a block directly by that hash, returning all available details about it, such as its height, creation time, transactions, miner, and more. This is especially useful when you already know the block’s hash (for example, from a transaction receipt or an event log) and want to quickly inspect or verify that block’s contents without scanning the entire chain. ### Arguments - hash (String): The unique cryptographic hash (identifier) of the block to retrieve. ### Response **Type:** Block **Description:** A **Block** is the fundamental unit of the Kadena blockchain. Each block bundles a verified set of transactions and metadata that secure and extend the chain. Blocks are linked together cryptographically — each one referencing its parent — forming the immutable and tamper-evident chain structure. This type exposes all the core properties of a block, including consensus data (like difficulty, nonce, and proof of work), network metadata (like chain ID and epoch), and relations to transactions, events, and neighboring blocks. #### Fields - id (ID): Globally unique identifier for this block node. - hash (String): The cryptographic hash of the block. This serves as its unique identifier within the blockchain. - chainId (BigInt): The specific chain where this block was mined. Kadena is a multi-chain system, and each block belongs to exactly one chain. - creationTime (DateTime): The timestamp when this block was created and added to the chain. - difficulty (BigInt): The network difficulty at the time the block was mined. Higher difficulty reflects the amount of computational work required to produce a valid block. - epoch (DateTime): The epoch timestamp marking when the difficulty was last adjusted. Kadena targets ~30 seconds per block, and the difficulty is recalibrated periodically to maintain that target. - flags (Decimal): Consensus flags used internally by the protocol. - height (BigInt): The height (block number) of this block within its chain. The genesis block is height 0, and each subsequent block increments by 1. - nonce (Decimal): A nonce value used in the proof-of-work process. Miners vary this value to discover a hash below the target threshold. - payloadHash (String): The hash of the payload data contained within the block. This ensures the integrity of the transactions and other included data. - weight (String): The cumulative weight of the chain up to and including this block. Weight increases with each mined block and helps determine the canonical chain. - target (String): The target hash threshold that the block’s proof-of-work hash must fall below. This value adjusts with difficulty to regulate block production time. - coinbase (String): The coinbase transaction data. This transaction rewards the miner and may include information about block rewards or other protocol-defined payouts. - neighbors (BlockNeighbor): The neighboring blocks that reference this block as a parent. These neighbors are essential in Kadena’s braided multi-chain architecture. - powHash (String): The proof-of-work hash of the block. This is the result of hashing the block header with the nonce and must satisfy the target condition. - canonical (Boolean): Indicates whether this block is part of the canonical chain. Non-canonical blocks may occur during temporary forks or reorganizations. - parent (Block): The parent block directly preceding this one in the chain. Together with the hash, this forms the cryptographic link that secures the chain. - totalGasUsedInKda (Decimal): The total amount of gas used by all transactions in this block, expressed in KDA. - events (BlockEventsConnection): Paginated list of events emitted by transactions within this block. - minerAccount (FungibleChainAccount): The account that mined this block and received the coinbase reward. - transactions (BlockTransactionsConnection): Paginated list of transactions included in this block. --- ## blocksFromDepth **Type:** GraphQL queries **Description:** Retrieves blocks based on their **depth** in the Kadena blockchain. In Kadena, each new block extends the chain by one unit, and the term **depth** refers to how far a block is from the current chain tip (the most recent block). - A block with a depth of `0` is the latest block (the chain head). - A block with a depth of `1` is one block behind the tip, and so on. Because new blocks can occasionally be reorganized near the tip, specifying a **minimumDepth** helps ensure that only blocks that are deep enough — and therefore finalized and stable — are returned. For example, a `minimumDepth` of `20` means only blocks that are at least 20 blocks behind the current tip will be included in the results, reducing the chance of including blocks that might later be replaced due to a chain reorganization. Use this query to fetch finalized blocks across one or more chains. ### Arguments - chainIds (String): The chain IDs to retrieve blocks from. - minimumDepth (Int): The minimum depth of the blocks to retrieve. Blocks closer to the tip than this depth will be excluded. - after (String): Cursor to start paginating **after** a specific result. Used for forward pagination. - before (String): Cursor to start paginating **before** a specific result. Used for backward pagination. - first (Int): Maximum number of balance records to return when paginating forward. - last (Int): Maximum number of balance records to return when paginating backward. ### Response **Type:** QueryBlocksFromDepthConnection **Description:** undefined #### Fields - edges (QueryBlocksFromDepthConnectionEdge) - pageInfo (PageInfo) - totalCount (Int) --- ## blocksFromHeight **Type:** GraphQL queries **Description:** Retrieve blocks from one or more chains based on their block height range. In Kadena, **height** represents a block’s sequential position within its chain, starting at 0 for the genesis block and increasing by 1 for each new block. This query lets you fetch blocks by specifying a starting height (`startHeight`) and, optionally, an ending height (`endHeight`). It is particularly useful when you want to retrieve a continuous range of blocks — for example, when backfilling data, syncing from a specific point in the chain, or analyzing block activity over a known range. If `endHeight` is omitted, the query returns all blocks from the starting height up to the current chain tip. ### Arguments - chainIds (String): The chain IDs to retrieve blocks from. Kadena runs multiple braided chains in parallel — specify one or more chain IDs here. - endHeight (Int): The inclusive upper bound of the height range. If omitted, results will include all blocks from `startHeight` to the current tip. - startHeight (Int): The inclusive lower bound of the height range. Blocks with a height below this value will be excluded. - after (String): Cursor to start paginating **after** a specific result. Used for forward pagination. - before (String): Cursor to start paginating **before** a specific result. Used for backward pagination. - first (Int): Maximum number of records to return when paginating forward. - last (Int): Maximum number of records to return when paginating backward. ### Response **Type:** QueryBlocksFromHeightConnection **Description:** undefined #### Fields - edges (QueryBlocksFromHeightConnectionEdge) - pageInfo (PageInfo) - totalCount (Int) --- ## completedBlockHeights **Type:** GraphQL queries **Description:** Retrieve a list of **completed block heights** across one or more chains, starting from a given point. In Kadena’s braided multi-chain architecture, a **block height** is considered *completed* only when **all chains** have successfully produced a block at that height. Since each chain progresses independently, some chains may temporarily lag behind others. This query ensures that only *globally finalized* heights — where every specified chain has reached that block height — are returned. This is particularly useful for building indexers, explorers, and analytics tools that require consistent cross-chain data. You can specify how many completed heights to return with `heightCount`. ### Arguments - chainIds (String): The chain IDs to include when checking for completed heights. Only heights where all of these chains have produced a block will be returned. - completedHeights (Boolean): Whether to include only completed heights. Defaults to `true`. If set to `false`, the query may include heights that are not yet completed across all chains. - heightCount (Int): The maximum number of sequential completed heights to return per query. Results are always returned without gaps, starting from the most recent completed height and moving backward if no pagination arguments are provided. Examples: - If completed heights are `101`, `102`, `103`, `104`, and `105`, and you set `heightCount: 3` without pagination, the query returns the 3 most recent completed heights: `105`, `104`, `103`. - If you set `heightCount: 10` in the same scenario, the query still returns only the 5 available heights: `105`, `104`, `103`, `102`, `101`. - after (String): Cursor to start paginating **after** a specific result. Used for forward pagination. - before (String): Cursor to start paginating **before** a specific result. Used for backward pagination. - first (Int): Maximum number of results to return when paginating forward. - last (Int): Maximum number of results to return when paginating backward. ### Response **Type:** QueryCompletedBlockHeightsConnection **Description:** undefined #### Fields - edges (QueryCompletedBlockHeightsConnectionEdge) - pageInfo (PageInfo) --- ## events **Type:** GraphQL queries **Description:** Retrieve blockchain events with powerful filtering options. In Kadena, events are emitted by smart contracts when specific actions occur (e.g., `coin.TRANSFER`). You can filter by event name, module, chain, block, transaction, height range, or minimum depth, and even by JSON parameters using Prisma-compatible JSON object property filters (stringified). ### Arguments - qualifiedEventName (String): Fully qualified event name (e.g., `coin.TRANSFER`) to select a specific event type. - moduleName (String): The module that emitted the event (e.g., `coin`). - blockHash (String): Hash of the block that contains the event. - requestKey (String): Transaction request key (hash) associated with the event. - chainId (String): Chain ID where the event occurred. - maxHeight (Int): Inclusive upper bound for block height. - minHeight (Int): Inclusive lower bound for block height. - minimumDepth (Int): Minimum depth of the block that emitted the event (distance from the chain tip). Use this to return only more-final and stable events. - orderIndex (Int): Event position within the transaction’s execution order. - parametersFilter (String): JSON-stringified Prisma JSON object property filter applied to event parameters. Example (JSON-escaped): parametersFilter: "{\"array_starts_with\":\"k:abcdefg\"}" - after (String): Cursor to start paginating **after** a specific result (forward pagination). - before (String): Cursor to start paginating **before** a specific result (backward pagination). - first (Int): Maximum number of records to return when paginating forward. - last (Int): Maximum number of records to return when paginating backward. ### Response **Type:** QueryEventsConnection **Description:** undefined #### Fields - edges (QueryEventsConnectionEdge) - pageInfo (PageInfo) - totalCount (Int) --- ## fungibleAccount **Type:** GraphQL queries **Description:** Retrieve details of a specific fungible account (such as a KDA coin account) by its name and fungible type. In Kadena, a fungible account represents a balance-holding entity for a given fungible token module (e.g., `coin`, which isthe native KDA token). This query lets you look up that account’s information by providing its full `accountName` and the name of the fungible module. It is commonly used to fetch the balance and metadata for a user or contract address. ### Arguments - accountName (String): The full name of the account to retrieve. Example: `"k:abcdef123456..."` for a user account or `"free.my-contract"` for a contract account. - fungibleName (String): The name of the fungible token module (e.g., `coin`) associated with the account. ### Response **Type:** FungibleAccount **Description:** Represents an account associated with a specific fungible token on the Kadena blockchain. A `FungibleAccount` tracks the balance and activity of a single account (such as a user key account or contract) for a given fungible token module (for example, `coin` for KDA). Because Kadena is a multi-chain network, a fungible account may have balances distributed across multiple chains. This type exposes both the aggregated balance and per-chain details, along with historical transactions and transfers. #### Fields - id (ID): Globally unique identifier for this fungible account node. - accountName (String): The full name of the account (e.g., `k:abcdef123456...` for a user account or `free.my-contract` for a contract account). - chainAccounts (FungibleChainAccount): Per-chain breakdown of this fungible account. Since Kadena operates multiple braided chains, an account can have different balances on each chain. - fungibleName (String): The name of the fungible token module associated with this account (e.g., `coin`). - totalBalance (Decimal): The total balance of this account across all chains for the specified fungible token. - transactions (FungibleAccountTransactionsConnection): Paginated list of transactions involving this account. Transactions represent operations such as transfers, contract calls, or other state changes that affect this account. - transfers (FungibleAccountTransfersConnection): Paginated list of transfers associated with this account. Transfers represent direct movements of the fungible token into or out of this account. --- ## fungibleAccountsByPublicKey **Type:** GraphQL queries **Description:** Retrieve all fungible accounts associated with a given public key. In Kadena, a single public key can control multiple accounts — for example, one on each chain, or accounts tied to different contracts or modules. This query returns all `FungibleAccount` objects linked to the provided public key for a specified fungible token (default: `coin`). This is particularly useful when you want to discover all accounts controlled by a user key across the Kadena network, including balances and activity for each. ### Arguments - fungibleName (String): The name of the fungible token module to filter by (e.g., `coin` for the native KDA token). Defaults to `"coin"` if not specified. - publicKey (String): The public key used to control the account(s). Example: `"abcdef1234567890..."`. ### Response **Type:** FungibleAccount **Description:** Represents an account associated with a specific fungible token on the Kadena blockchain. A `FungibleAccount` tracks the balance and activity of a single account (such as a user key account or contract) for a given fungible token module (for example, `coin` for KDA). Because Kadena is a multi-chain network, a fungible account may have balances distributed across multiple chains. This type exposes both the aggregated balance and per-chain details, along with historical transactions and transfers. #### Fields - id (ID): Globally unique identifier for this fungible account node. - accountName (String): The full name of the account (e.g., `k:abcdef123456...` for a user account or `free.my-contract` for a contract account). - chainAccounts (FungibleChainAccount): Per-chain breakdown of this fungible account. Since Kadena operates multiple braided chains, an account can have different balances on each chain. - fungibleName (String): The name of the fungible token module associated with this account (e.g., `coin`). - totalBalance (Decimal): The total balance of this account across all chains for the specified fungible token. - transactions (FungibleAccountTransactionsConnection): Paginated list of transactions involving this account. Transactions represent operations such as transfers, contract calls, or other state changes that affect this account. - transfers (FungibleAccountTransfersConnection): Paginated list of transfers associated with this account. Transfers represent direct movements of the fungible token into or out of this account. --- ## fungibleChainAccount **Type:** GraphQL queries **Description:** Retrieve details of a specific fungible account on a specific chain. In Kadena’s multi-chain architecture, an account can exist on multiple chains simultaneously, each maintaining its own balance and transaction history. This query lets you retrieve the state of a single `FungibleChainAccount` by specifying the account name, the chain ID, and the fungible token module (default: `coin`). It’s particularly useful when you need precise, chain-level information — such as a user’s balance or transfer activity — without aggregating data across all chains. ### Arguments - accountName (String): The full name of the account to retrieve. Example: `"k:abcdef123456..."` for a user account or `"free.my-contract"` for a contract account. - chainId (String): The chain ID where the account exists. Kadena runs multiple braided chains, and balances are tracked separately on each. - fungibleName (String): The name of the fungible token module (e.g., `coin`) associated with the account. Defaults to `"coin"` if not specified. ### Response **Type:** FungibleChainAccount **Description:** Represents a fungible account **on a specific chain** in the Kadena blockchain. While a `FungibleAccount` aggregates balances and activity across all chains, a `FungibleChainAccount` focuses on a single chain. It exposes the account’s balance, security guard, and full transaction and transfer history specific to that chain and fungible token (e.g., `coin` for KDA). This type is useful when you need fine-grained, chain-level data — such as for explorers, wallets, or analytics tools that track balances and movements per chain. #### Fields - id (ID): Globally unique identifier for this chain account node. - accountName (String): The full name of the account (e.g., `k:abcdef123456...` for a user account or `free.my-contract` for a contract account). - balance (Float): The current balance of this account on the specified chain for the given fungible token. - chainId (String): The chain ID where this account exists. - fungibleName (String): The name of the fungible token module associated with this account (e.g., `coin`). - guard (IGuard): The guard that defines the account’s security conditions. A guard determines who must sign transactions in order to spend from this account. - transactions (FungibleChainAccountTransactionsConnection): Paginated list of transactions involving this account on this chain. Transactions represent operations such as transfers, contract calls, or other state changes. - transfers (FungibleChainAccountTransfersConnection): Paginated list of token transfers into or out of this account on this chain. Transfers are a subset of events focused specifically on balance movements. --- ## fungibleChainAccounts **Type:** GraphQL queries **Description:** Retrieve fungible account details across multiple chains. In Kadena’s multi-chain architecture, an account can exist on several chains simultaneously — each maintaining its own balance, guard, and activity history. This query allows you to retrieve all `FungibleChainAccount` objects for a given account name and fungible token (default: `coin`) across one or more specified chains in a single request. It’s especially useful when you want a comprehensive view of how an account is distributed across multiple chains, including balances and per-chain transaction or transfer histories. ### Arguments - accountName (String): The full name of the account to retrieve. Example: `"k:abcdef123456..."` for a user account or `"free.my-contract"` for a contract account. - chainIds (String): The list of chain IDs where the account exists. You can specify one or more chains to retrieve `FungibleChainAccount` details for each. - fungibleName (String): The name of the fungible token module associated with the account (e.g., `coin`). Defaults to `"coin"` if not specified. ### Response **Type:** FungibleChainAccount **Description:** Represents a fungible account **on a specific chain** in the Kadena blockchain. While a `FungibleAccount` aggregates balances and activity across all chains, a `FungibleChainAccount` focuses on a single chain. It exposes the account’s balance, security guard, and full transaction and transfer history specific to that chain and fungible token (e.g., `coin` for KDA). This type is useful when you need fine-grained, chain-level data — such as for explorers, wallets, or analytics tools that track balances and movements per chain. #### Fields - id (ID): Globally unique identifier for this chain account node. - accountName (String): The full name of the account (e.g., `k:abcdef123456...` for a user account or `free.my-contract` for a contract account). - balance (Float): The current balance of this account on the specified chain for the given fungible token. - chainId (String): The chain ID where this account exists. - fungibleName (String): The name of the fungible token module associated with this account (e.g., `coin`). - guard (IGuard): The guard that defines the account’s security conditions. A guard determines who must sign transactions in order to spend from this account. - transactions (FungibleChainAccountTransactionsConnection): Paginated list of transactions involving this account on this chain. Transactions represent operations such as transfers, contract calls, or other state changes. - transfers (FungibleChainAccountTransfersConnection): Paginated list of token transfers into or out of this account on this chain. Transfers are a subset of events focused specifically on balance movements. --- ## fungibleChainAccountsByPublicKey **Type:** GraphQL queries **Description:** Retrieve all fungible chain accounts associated with a given public key on a specific chain. In Kadena, a single public key can control multiple accounts on the same chain — for example, accounts created by different contracts or modules. This query returns all `FungibleChainAccount` objects linked to the provided public key for a specified fungible token (default: `coin`) on the given chain. It’s especially useful when you want to discover all accounts controlled by a user key on a particular chain, including their balances, guards, and per-chain transaction history. ### Arguments - chainId (String): The ID of the chain to search on. Kadena runs multiple braided chains — specify the one where the accounts exist. - fungibleName (String): The name of the fungible token module to filter by (e.g., `coin` for the native KDA token). Defaults to `"coin"` if not specified. - publicKey (String): The public key used to control the account(s). Example: `"abcdef1234567890..."`. ### Response **Type:** FungibleChainAccount **Description:** Represents a fungible account **on a specific chain** in the Kadena blockchain. While a `FungibleAccount` aggregates balances and activity across all chains, a `FungibleChainAccount` focuses on a single chain. It exposes the account’s balance, security guard, and full transaction and transfer history specific to that chain and fungible token (e.g., `coin` for KDA). This type is useful when you need fine-grained, chain-level data — such as for explorers, wallets, or analytics tools that track balances and movements per chain. #### Fields - id (ID): Globally unique identifier for this chain account node. - accountName (String): The full name of the account (e.g., `k:abcdef123456...` for a user account or `free.my-contract` for a contract account). - balance (Float): The current balance of this account on the specified chain for the given fungible token. - chainId (String): The chain ID where this account exists. - fungibleName (String): The name of the fungible token module associated with this account (e.g., `coin`). - guard (IGuard): The guard that defines the account’s security conditions. A guard determines who must sign transactions in order to spend from this account. - transactions (FungibleChainAccountTransactionsConnection): Paginated list of transactions involving this account on this chain. Transactions represent operations such as transfers, contract calls, or other state changes. - transfers (FungibleChainAccountTransfersConnection): Paginated list of token transfers into or out of this account on this chain. Transfers are a subset of events focused specifically on balance movements. --- ## gasLimitEstimate **Type:** GraphQL queries **Description:** Estimate the gas limit required to execute one or more transactions on the Kadena blockchain. This query accepts one or more JSON-encoded transaction inputs and analyzes them to calculate the expected gas usage. It automatically infers the transaction type based on the fields provided and returns the estimated gas limit for each input. If any transaction is invalid or cannot be parsed, the query will throw an error. Supported input types and required fields: - `full-transaction`: A fully signed transaction object. Required: `cmd`, `hash`, `sigs` - `stringified-command`: A JSON-stringified command. Required: `cmd` (optional: `sigs`) - `full-command`: A complete command object. Required: `payload`, `meta`, `signers` - `partial-command`: A partially defined command. Required: `payload` and either `meta` or `signers` (optional: `chainId` if `signers` is provided without `meta`) - `payload`: Only the payload of a command. Required: `payload`, `chainId` - `code`: Pact execution code. Required: `code`, `chainId` All input types optionally accept `networkId` to override the default network configured in the environment.
query {
gasLimitEstimate(
input: [
"{
\"code\": \"(coin.details \\\"k:1234\\\")\",
\"chainId\": \"3\"
}"
]
) {
amount
inputType
}
}
### Arguments
- input (String): One or more JSON-encoded transaction inputs to estimate gas for.
Each entry must follow one of the supported input type structures listed above.
### Response
**Type:** GasLimitEstimation
**Description:**
Represents the gas estimation result for a single transaction input.
Includes the estimated gas amount and metadata about how the estimation was performed.
#### Fields
- amount (Int): The estimated gas limit required to execute the transaction.
- inputType (String): The detected input type (e.g., `code`, `payload`, `full-transaction`, etc.).
- transaction (String): The normalized JSON representation of the transaction used for estimation.
- usedPreflight (Boolean): Whether a pre-execution (preflight) simulation was used during estimation.
- usedSignatureVerification (Boolean): Whether signature verification was performed as part of the estimation.
---
## graphConfiguration
**Type:** GraphQL queries
**Description:**
Retrieve general information about this GraphQL API endpoint.
It is commonly used to check how far back the indexer’s data goes and to verify the API version your application is interacting with.
### Response
**Type:** GraphConfiguration
**Description:**
General information about the GraphQL API.
#### Fields
- minimumBlockHeight (BigInt): The lowest block-height that is indexed in this endpoint.
- version (String): The version of the graphl api.
---
## lastBlockHeight
**Type:** GraphQL queries
**Description:**
Get the height of the block with the highest height.
### Response
**Type:** BigInt
---
## networkInfo
**Type:** GraphQL queries
**Description:**
Retrieve comprehensive information about the Kadena network.
This query returns a `NetworkInfo` object containing key metrics and configuration details
about the current state of the network.
Developers typically use this query to monitor network health, verify node synchronization,
analyze performance metrics, or display high-level blockchain data in explorers and dashboards.
### Response
**Type:** NetworkInfo
**Description:**
Detailed information about the current Kadena network and its state.
The `NetworkInfo` type provides an overview of the network’s operational and consensus metrics,
including circulation supply, hash rate, difficulty, transaction count, and chain topology details.
It’s commonly used by explorers, monitoring tools, and analytics dashboards to understand the
state, performance, and configuration of the Kadena blockchain network.
#### Fields
- apiVersion (String): The version of this GraphQL API.
Useful to verify compatibility between the client and API.
- coinsInCirculation (Float): The current total number of coins in circulation on the network.
- networkHashRate (Float): The current aggregate hash rate of the Kadena network.
Indicates the total mining power securing the network.
- networkHost (String): The host address or domain of the network node serving this API.
- networkId (String): The unique identifier of the network (e.g., `mainnet01`, `testnet04`).
- totalDifficulty (Float): The cumulative difficulty of all blocks mined so far.
A higher value reflects the total work securing the chain.
- transactionCount (Int): The total number of transactions that have been processed across the network.
- nodeBlockDelay (Int): The current delay (in blocks) between the latest mined block and the block processed by the node.
Useful for monitoring node synchronization status.
- nodeChains (String): The list of chain IDs that make up the Kadena network.
Kadena operates multiple braided chains in parallel.
- numberOfChains (Int): The total number of chains in the network.
- genesisHeights (GenesisHeight): The genesis block height for each chain in the network.
Provides insight into the starting point of each chain’s history.
- nodePackageVersion (String): The version of the node software package running this endpoint.
- nodeServiceDate (DateTime): The service start date and time of the current node.
Useful for tracking uptime and deployment history.
- nodeLatestBehaviorHeight (Int): The latest block height known by the node’s behavior monitor.
Can be used to assess node synchronization and chain progress.
- countersOfEachChain (CountersOfEachChain): Transaction counters and statistics broken down by chain.
Useful for analyzing per-chain activity levels and throughput.
---
## node
**Type:** GraphQL queries
**Description:**
Retrieve a single object in the graph by its globally unique identifier.
All major entities in this API implement the `Node` interface, which ensures that each one
has a unique `id` field. This query allows you to fetch any of those entities directly
using that global ID, regardless of its specific type (e.g., `Block`, `Transaction`, `FungibleAccount`).
### Arguments
- id (ID): The globally unique identifier (`id`) of the object to retrieve.
### Response
**Type:** Node
**Description:**
A globally identifiable object in the GraphQL schema.
All core entities in this API implement the `Node` interface, which guarantees that they have
a unique `id` field, enabling consistent caching, pagination, and reference resolution across the API.
#### Fields
- id (ID): A globally unique identifier for the object.
---
## nodes
**Type:** GraphQL queries
**Description:**
Retrieve multiple objects in the graph by their globally unique identifiers.
Like the `node` query, this query returns any entities that implement the `Node` interface,
but allows you to request several objects in a single call by passing a list of IDs.
It’s useful when resolving multiple references at once — for example, when reconstructing
relationships between entities or populating a list by ID.
### Arguments
- ids (ID): A list of globally unique identifiers (`id`) of the objects to retrieve.
### Response
**Type:** Node
**Description:**
A globally identifiable object in the GraphQL schema.
All core entities in this API implement the `Node` interface, which guarantees that they have
a unique `id` field, enabling consistent caching, pagination, and reference resolution across the API.
#### Fields
- id (ID): A globally unique identifier for the object.
---
## nonFungibleAccount
**Type:** GraphQL queries
**Description:**
Retrieve details of a specific non-fungible account by its name.
A non-fungible account represents the ownership and activity of unique tokens (NFTs) on the Kadena blockchain.
Unlike fungible accounts that track divisible token balances, non-fungible accounts hold individual, distinct tokens
and their associated metadata.
This query lets you look up a specific account and retrieve information such as its NFT balances, per-chain details,
and historical transaction and transfer activity. It is commonly used in NFT explorers, wallets, or analytics tools
to inspect an account’s non-fungible holdings and interactions.
### Arguments
- accountName (String): The full name of the account to retrieve.
Example: `"k:abcdef123456..."` for a user account or `"free.my-contract"` for a contract account.
### Response
**Type:** NonFungibleAccount
**Description:**
Represents an account associated with non-fungible tokens (NFTs) on the Kadena blockchain.
A `NonFungibleAccount` tracks the ownership and activity of a specific account for non-fungible tokens.
Unlike fungible accounts, which hold divisible token balances, non-fungible accounts are associated
with unique tokens and their metadata. Because Kadena operates as a multi-chain network, a single
account may hold NFTs across multiple chains.
This type exposes account-level NFT balances, per-chain details, and historical transaction and transfer data.
#### Fields
- accountName (String): The full name of the account (e.g., `k:abcdef123456...` for a user account or `free.my-contract` for a contract account).
- chainAccounts (NonFungibleChainAccount): Per-chain breakdown of this non-fungible account.
Since Kadena operates multiple braided chains, NFT balances and activity are tracked separately on each chain.
- id (ID): Globally unique identifier for this non-fungible account node.
- nonFungibleTokenBalances (NonFungibleTokenBalance): A list of non-fungible token balances held by this account across all chains.
Each balance entry includes token identifiers, metadata, and ownership details.
- transactions (NonFungibleAccountTransactionsConnection): Paginated list of transactions involving this account.
Note: Custom token-related transactions are not included.
Transactions here represent operations such as NFT minting, transfers, or contract interactions related to NFTs.
- transfers (NonFungibleAccountTransfersConnection): Paginated list of NFT transfers associated with this account.
Transfers represent movements of non-fungible tokens into or out of this account.
---
## nonFungibleChainAccount
**Type:** GraphQL queries
**Description:**
Retrieve details of a specific non-fungible account on a specific chain.
This query returns a `NonFungibleChainAccount`, which represents an account’s NFT holdings and activity
**restricted to a single chain** within the Kadena network. Because Kadena operates as a multi-chain blockchain,
NFT balances, transactions, and transfers are tracked separately on each chain.
Use this query when you need precise, chain-level data about a particular account — for example, when building
an NFT explorer or wallet feature that shows a user’s holdings and interactions on a specific chain.
### Arguments
- accountName (String): The full name of the account to retrieve.
Example: `"k:abcdef123456..."` for a user account or `"free.my-contract"` for a contract account.
- chainId (String): The ID of the chain where the account exists.
Kadena runs multiple braided chains, and NFT data is tracked separately on each.
### Response
**Type:** NonFungibleChainAccount
**Description:**
Represents a non-fungible (NFT) account **on a specific chain** in the Kadena network.
While `NonFungibleAccount` aggregates NFT holdings and activity across all chains for an account,
`NonFungibleChainAccount` focuses on a single chain. It exposes the account’s per-chain NFT balances
and its transaction/transfer history limited to that chain. This is useful for explorers, wallets,
and analytics tools that need precise, chain-level NFT data.
#### Fields
- accountName (String): The full name of the account (e.g., `k:abcdef123456...` for a user account
or `free.my-contract` for a contract account).
- chainId (String): The chain ID where this non-fungible account exists.
- id (ID): Globally unique identifier for this chain-scoped NFT account node.
- nonFungibleTokenBalances (NonFungibleTokenBalance): The list of NFT balances held by this account on this chain.
Each entry typically includes the token identifier(s), quantity/ownership info,
and associated metadata for that token/collection.
- transactions (NonFungibleChainAccountTransactionsConnection): Paginated list of NFT-related transactions involving this account on this chain.
Transactions can include mints, transfers, or contract interactions that affect NFT state.
- transfers (NonFungibleChainAccountTransfersConnection): Paginated list of NFT transfers into or out of this account on this chain.
Transfers are a subset of transactions focused specifically on movements of NFTs.
---
## pactQuery
**Type:** GraphQL queries
**Description:**
Execute arbitrary Pact code via a local call without requiring gas estimation or signature verification.
The `pactQuery` query allows you to run read-only Pact code directly against the Kadena blockchain,
such as arithmetic expressions or contract read functions (e.g., `(coin.get-details "