Skip to content
Overview
Overview
Overview
Overview

QueryBlocksFromDepthConnectionEdge

cursor
String!,non-null
node
Block!,non-null
Sample
{ "cursor": "Example String", "node": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "hash": "Example String", "chainId": "Example Custom Scalar", "creationTime": "Example Custom Scalar", "difficulty": "Example Custom Scalar", "epoch": "Example Custom Scalar", "flags": "Example Custom Scalar", "height": "Example Custom Scalar", "nonce": "Example Custom Scalar", "payloadHash": "Example String", "weight": "Example String", "target": "Example String", "coinbase": "Example String", "neighbors": [ { "__typename": "BlockNeighbor" } ], "powHash": "Example String", "canonical": true, "parent": { "__typename": "Block" }, "totalGasUsedInKda": "Example Custom Scalar", "events": { "__typename": "BlockEventsConnection" }, "minerAccount": { "__typename": "FungibleChainAccount" }, "transactions": { "__typename": "BlockTransactionsConnection" } } }
pageInfo
PageInfo!,non-null
totalCount
Int!,non-null
Sample
{ "edges": [ { "cursor": "Example String", "node": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "cmd": { "__typename": "TransactionCommand" }, "hash": "Example String", "result": { "__typename": "TransactionMempoolInfo" }, "sigs": [ { "__typename": "TransactionSignature" } ] } } ], "pageInfo": { "startCursor": "Example String", "endCursor": "Example String", "hasNextPage": true, "hasPreviousPage": true }, "totalCount": 40 }
cursor
String!,non-null
node
Transaction!,non-null
Sample
{ "cursor": "Example String", "node": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "cmd": { "__typename": "TransactionCommand" }, "hash": "Example String", "result": { "__typename": "TransactionMempoolInfo" }, "sigs": [ { "__typename": "TransactionSignature" } ] } }
pageInfo
PageInfo!,non-null
totalCount
Int!,non-null
Sample
{ "edges": [ { "cursor": "Example String", "node": { "amount": "Example Custom Scalar", "block": { "__typename": "Block" }, "blockHash": "Example String", "chainId": "Example Custom Scalar", "creationTime": "Example Custom Scalar", "crossChainTransfer": { "__typename": "Transfer" }, "height": "Example Custom Scalar", "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "moduleHash": "Example String", "moduleName": "Example String", "orderIndex": "Example Custom Scalar", "receiverAccount": "Example String", "requestKey": "Example String", "senderAccount": "Example String", "tokenId": "Example String", "transaction": { "__typename": "Transaction" } } } ], "pageInfo": { "startCursor": "Example String", "endCursor": "Example String", "hasNextPage": true, "hasPreviousPage": true }, "totalCount": 40 }
cursor
String!,non-null
node
Transfer!,non-null
Sample
{ "cursor": "Example String", "node": { "amount": "Example Custom Scalar", "block": { "__typename": "Block" }, "blockHash": "Example String", "chainId": "Example Custom Scalar", "creationTime": "Example Custom Scalar", "crossChainTransfer": { "__typename": "Transfer" }, "height": "Example Custom Scalar", "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "moduleHash": "Example String", "moduleName": "Example String", "orderIndex": "Example Custom Scalar", "receiverAccount": "Example String", "requestKey": "Example String", "senderAccount": "Example String", "tokenId": "Example String", "transaction": { "__typename": "Transaction" } } }

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.

id
ID!,non-null

Globally unique identifier for this block node.

hash
String!,non-null

The cryptographic hash of the block. This serves as its unique identifier within the blockchain.

chainId
BigInt!,non-null

The specific chain where this block was mined. Kadena is a multi-chain system, and each block belongs to exactly one chain.

creationTime
DateTime!,non-null

The timestamp when this block was created and added to the chain.

difficulty
BigInt!,non-null

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!,non-null

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!,non-null

Consensus flags used internally by the protocol.

height
BigInt!,non-null

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!,non-null

A nonce value used in the proof-of-work process. Miners vary this value to discover a hash below the target threshold.

payloadHash
String!,non-null

The hash of the payload data contained within the block. This ensures the integrity of the transactions and other included data.

weight
String!,non-null

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!,non-null

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!,non-null

The coinbase transaction data. This transaction rewards the miner and may include information about block rewards or other protocol-defined payouts.

neighbors

The neighboring blocks that reference this block as a parent. These neighbors are essential in Kadena’s braided multi-chain architecture.

powHash
String!,non-null

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!,non-null

Indicates whether this block is part of the canonical chain. Non-canonical blocks may occur during temporary forks or reorganizations.

parent

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!,non-null

The total amount of gas used by all transactions in this block, expressed in KDA.

events

Paginated list of events emitted by transactions within this block.

afterbeforefirstlast
minerAccount

The account that mined this block and received the coinbase reward.

transactions

Paginated list of transactions included in this block.

afterbeforefirstlast

Implements interfaces

Node

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.

Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "hash": "Example String", "chainId": "Example Custom Scalar", "creationTime": "Example Custom Scalar", "difficulty": "Example Custom Scalar", "epoch": "Example Custom Scalar", "flags": "Example Custom Scalar", "height": "Example Custom Scalar", "nonce": "Example Custom Scalar", "payloadHash": "Example String", "weight": "Example String", "target": "Example String", "coinbase": "Example String", "neighbors": [ { "__typename": "BlockNeighbor" } ], "powHash": "Example String", "canonical": true, "parent": { "__typename": "Block" }, "totalGasUsedInKda": "Example Custom Scalar", "events": { "__typename": "BlockEventsConnection" }, "minerAccount": { "__typename": "FungibleChainAccount" }, "transactions": { "__typename": "BlockTransactionsConnection" } }

The neighbor of a block.

chainId
String!,non-null
hash
String!,non-null
Sample
{ "chainId": "Example String", "hash": "Example String" }
Referenced in
pageInfo
PageInfo!,non-null
totalCount
Int!,non-null
Sample
{ "edges": [ { "cursor": "Example String", "node": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "block": { "__typename": "Block" }, "chainId": "Example Custom Scalar", "height": "Example Custom Scalar", "moduleName": "Example String", "orderIndex": "Example Custom Scalar", "requestKey": "Example String", "parameters": "Example String", "parameterText": "Example String", "qualifiedName": "Example String", "transaction": { "__typename": "Transaction" } } } ], "pageInfo": { "startCursor": "Example String", "endCursor": "Example String", "hasNextPage": true, "hasPreviousPage": true }, "totalCount": 40 }
Referenced in
cursor
String!,non-null
node
Event!,non-null
Sample
{ "cursor": "Example String", "node": { "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "block": { "__typename": "Block" }, "chainId": "Example Custom Scalar", "height": "Example Custom Scalar", "moduleName": "Example String", "orderIndex": "Example Custom Scalar", "requestKey": "Example String", "parameters": "Example String", "parameterText": "Example String", "qualifiedName": "Example String", "transaction": { "__typename": "Transaction" } } }

Pagination metadata returned alongside paginated query results.

PageInfo provides information about the current page of results and whether there are more items available before or after the current set. It is used in all connection-based queries to enable efficient cursor-based pagination.

You can use startCursor and endCursor as the before and after arguments in subsequent queries to fetch previous or next pages of data.

startCursor

The cursor representing the first item in the current page of results. Can be used as the before value in a subsequent query to fetch the previous page.

endCursor

The cursor representing the last item in the current page of results. Can be used as the after value in a subsequent query to fetch the next page.

hasNextPage
Boolean!,non-null

Indicates whether there is another page of results after the current one.

hasPreviousPage
Boolean!,non-null

Indicates whether there is another page of results before the current one.

Sample
{ "startCursor": "Example String", "endCursor": "Example String", "hasNextPage": true, "hasPreviousPage": true }

Represents an event emitted during the execution of a smart contract function.

Events are structured outputs generated by Pact code when certain actions occur on-chain — such as token transfers, mints, burns, or other contract-specific behaviors. They are commonly used by explorers, indexers, wallets, and analytics tools to track contract activity, monitor state changes, and trigger off-chain processes.

Each event is associated with a specific block, transaction, and request key, and includes metadata like its qualified name (moduleName.eventName), parameters, and position within the transaction.

id
ID!,non-null

Globally unique identifier for this event.

name
String!,non-null

The name of the event as defined in the smart contract. Example: "TRANSFER".

block
Block!,non-null

The block in which this event was emitted.

chainId
BigInt!,non-null

The ID of the chain where the event occurred.

height
BigInt!,non-null

The height of the block in which this event was emitted.

moduleName
String!,non-null

The name of the module that emitted the event. Example: "coin".

orderIndex
BigInt!,non-null

The index position of this event within the transaction’s event list. Useful when multiple events are emitted by the same transaction.

requestKey
String!,non-null

The request key of the transaction that emitted this event.

parameters

The raw JSON-encoded event parameters as emitted by the contract.

parameterText
String!,non-null

A human-readable text representation of the event parameters.

qualifiedName
String!,non-null

The fully qualified event name, combining the module and event name. Example: "coin.TRANSFER".

transaction

The transaction that emitted this event.

Implements interfaces

Node

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.

Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "block": { "__typename": "Block" }, "chainId": "Example Custom Scalar", "height": "Example Custom Scalar", "moduleName": "Example String", "orderIndex": "Example Custom Scalar", "requestKey": "Example String", "parameters": "Example String", "parameterText": "Example String", "qualifiedName": "Example String", "transaction": { "__typename": "Transaction" } }
Overview
Overview
Overview
Overview