Get desktop application:
View/edit binary Protocol Buffers messages
AccessAPI is the public-facing API provided by access nodes.
Ping is used to check if the access node is alive and healthy.
(message has no fields)
(message has no fields)
GetNodeVersionInfo return node version information, such as semver, commit, sporkID and protocol version.
(message has no fields)
GetLatestBlockHeader gets the latest sealed or unsealed block header.
GetBlockHeaderByID gets a block header by ID.
GetBlockHeaderByHeight gets a block header by height.
GetLatestBlock gets the full payload of the latest sealed or unsealed block.
GetBlockByID gets a full block by ID.
GetBlockByHeight gets a full block by height.
GetCollectionByID gets a collection by ID.
SendTransaction submits a transaction to the network.
GetTransaction gets a transaction by ID.
GetTransactionResult gets the result of a transaction.
GetTransactionResultByIndex gets the result of a transaction at a specified block and index
GetTransactionResultsByBlockID gets all the transaction results for a specified block
GetTransactionsByBlockID gets all the transactions for a specified block
GetSystemTransaction gets a system transaction
GetSystemTransactionResult gets a system transaction result for a specified block
GetAccount is an alias for GetAccountAtLatestBlock. Warning: this function is deprecated. It behaves identically to GetAccountAtLatestBlock and will be removed in a future version.
GetAccountAtLatestBlock gets an account by address from the latest sealed execution state.
GetAccountAtBlockHeight gets an account by address at the given block height
ExecuteScriptAtLatestBlock executes a read-only Cadence script against the latest sealed execution state.
ExecuteScriptAtBlockID executes a ready-only Cadence script against the execution state at the block with the given ID.
ExecuteScriptAtBlockHeight executes a ready-only Cadence script against the execution state at the given block height.
GetEventsForHeightRange retrieves events emitted within the specified block range.
GetEventsForBlockIDs retrieves events for the specified block IDs and event type.
GetNetworkParameters retrieves the Flow network details
(message has no fields)
GetLatestProtocolStateSnapshot retrieves the latest sealed protocol state snapshot. Used by Flow nodes joining the network to bootstrap a space-efficient local state.
(message has no fields)
GetProtocolStateSnapshotByBlockID retrieves the latest sealed protocol state snapshot by block ID. Used by Flow nodes joining the network to bootstrap a space-efficient local state.
GetProtocolStateSnapshotByHeight retrieves the latest sealed protocol state snapshot by block height. Used by Flow nodes joining the network to bootstrap a space-efficient local state.
GetExecutionResultForBlockID returns Execution Result for a given block. At present, Access Node might not have execution results for every block and as usual, until sealed, this data can change
GetExecutionResultByID returns Execution Result by its ID.
SubscribeBlocksFromStartBlockID streams finalized or sealed blocks starting at the requested start block id, up until the latest available block. Once the latest is reached, the stream will remain open and responses are sent for each new block as it becomes available. Blocks are only returned when they have reached the provided block status. For example, if the status is "sealed", only sealed blocks will be returned.
The request for SubscribeBlocksFromStartBlockID
Block ID of the first block to subscribe.
Required block status of the block payload. Possible variants: 1. BLOCK_FINALIZED 2. BLOCK_SEALED
Boolean value determining the response: 'full' if `true`, 'light' otherwise.
SubscribeBlocksFromStartHeight streams finalized or sealed blocks starting at the requested start block height, up until the latest available block. Once the latest is reached, the stream will remain open and responses are sent for each new block as it becomes available. Blocks are only returned when they have reached the provided block status. For example, if the status is "sealed", only sealed blocks will be returned.
The request for SubscribeBlocksFromStartHeight
Block height of the first block to subscribe.
Required block status of the block payload. Possible variants: 1. BLOCK_FINALIZED 2. BLOCK_SEALED
Boolean value determining the response: 'full' if `true`, 'light' otherwise.
SubscribeBlocksFromLatest streams finalized or sealed blocks starting from the latest finalized or sealed block. The stream will remain open and responses are sent for each new block as it becomes available. Blocks are only returned when they have reached the provided block status. For example, if the status is "sealed", only sealed blocks will be returned.
The request for SubscribeBlocksFromLatest
Required block status of the block payload. Possible variants: 1. BLOCK_FINALIZED 2. BLOCK_SEALED
Boolean value determining the response: 'full' if `true`, 'light' otherwise.
SubscribeBlockHeadersFromStartBlockID streams finalized or sealed block headers starting at the requested start block id, up until the latest available block. Once the latest is reached, the stream will remain open and responses are sent for each new block header as it becomes available. Block headers are only returned when they have reached the provided block status. For example, if the status is "sealed", only sealed block headers will be returned.
The request for SubscribeBlockHeadersFromStartBlockID
Block ID of the first block header to subscribe.
Required block status of the block payload. Possible variants: 1. BLOCK_FINALIZED 2. BLOCK_SEALED
SubscribeBlockHeadersFromStartHeight streams finalized or sealed block headers starting at the requested start block height, up until the latest available block. Once the latest is reached, the stream will remain open and responses are sent for each new block header as it becomes available. Block headers are only returned when they have reached the provided block status. For example, if the status is "sealed", only sealed block headers will be returned.
The request for SubscribeBlockHeadersFromStartHeight
Block height of the first block header to subscribe.
Required block status of the block payload. Possible variants: 1. BLOCK_FINALIZED 2. BLOCK_SEALED
SubscribeBlockHeadersFromLatest streams finalized or sealed block headers starting from the latest finalized or sealed block. The stream will remain open and responses are sent for each new block header as it becomes available. Block headers are only returned when they have reached the provided block status. For example, if the status is "sealed", only sealed block headers will be returned.
The request for SubscribeBlockHeadersFromLatest
Required block status of the block payload. Possible variants: 1. BLOCK_FINALIZED 2. BLOCK_SEALED
SubscribeBlockDigestsFromStartBlockID streams finalized or sealed lightweight block starting at the requested start block id, up until the latest available block. Once the latest is reached, the stream will remain open and responses are sent for each new lightweight block as it becomes available. Lightweight blocks are only returned when they have reached the provided block status. For example, if the status is "sealed", only sealed lightweight blocks will be returned.
The request for SubscribeBlockDigestsFromStartBlockID
Block ID of the first block to subscribe.
Required block status of the block payload. Possible variants: 1. BLOCK_FINALIZED 2. BLOCK_SEALED
SubscribeBlockDigestsFromStartHeight streams finalized or sealed lightweight block starting at the requested start block height, up until the latest available block. Once the latest is reached, the stream will remain open and responses are sent for each new lightweight block as it becomes available. Lightweight blocks are only returned when they have reached the provided block status. For example, if the status is "sealed", only sealed lightweight blocks will be returned.
The request for SubscribeBlockDigestsFromStartHeight
Block height of the first block to subscribe.
Required block status of the block payload. Possible variants: 1. BLOCK_FINALIZED 2. BLOCK_SEALED
SubscribeBlockDigestsFromLatest streams finalized or sealed lightweight block headers starting of the latest finalized or sealed block. The stream will remain open and responses are sent for each new lightweight block as it becomes available. Lightweight blocks are only returned when they have reached the provided block status. For example, if the status is "sealed", only sealed lightweight blocks will be returned.
The request for SubscribeBlockDigestsFromLatest
Required block status of the block payload. Possible variants: 1. BLOCK_FINALIZED 2. BLOCK_SEALED
SendAndSubscribeTransactionStatuses send a transaction and immediately subscribe to its status changes. The status is streamed back until the block containing the transaction becomes sealed.
Request message for sending a transaction and subscribing to its status changes.
The transaction to be sent and tracked for status changes.
Response message for transaction status changes.
The ID of the tracked transaction.
The status of the tracked transaction Possible transaction statuses are: - TransactionStatusPending - TransactionStatusFinalized - TransactionStatusExecuted - TransactionStatusSealed - `TransactionStatusExpired
The message index of the response message. Used by the client to ensure they received all messages. Starts from "0".
Used as response type in: AccessAPI.GetAccountAtBlockHeight, AccessAPI.GetAccountAtLatestBlock
Used as response type in: AccessAPI.GetBlockHeaderByHeight, AccessAPI.GetBlockHeaderByID, AccessAPI.GetLatestBlockHeader
Used as response type in: AccessAPI.GetBlockByHeight, AccessAPI.GetBlockByID, AccessAPI.GetLatestBlock
Used as response type in: AccessAPI.GetEventsForBlockIDs, AccessAPI.GetEventsForHeightRange
Used in:
Used as response type in: AccessAPI.ExecuteScriptAtBlockHeight, AccessAPI.ExecuteScriptAtBlockID, AccessAPI.ExecuteScriptAtLatestBlock
Used as request type in: AccessAPI.GetTransaction, AccessAPI.GetTransactionResult
Used as request type in: AccessAPI.GetTransactionResultsByBlockID, AccessAPI.GetTransactionsByBlockID
Used as response type in: AccessAPI.GetLatestProtocolStateSnapshot, AccessAPI.GetProtocolStateSnapshotByBlockID, AccessAPI.GetProtocolStateSnapshotByHeight
The response for SubscribeBlockDigestsFromStartBlockID, SubscribeBlockDigestsFromStartHeight, SubscribeBlockDigestsFromLatest
Used as response type in: AccessAPI.SubscribeBlockDigestsFromLatest, AccessAPI.SubscribeBlockDigestsFromStartBlockID, AccessAPI.SubscribeBlockDigestsFromStartHeight
The block ID of the new sealed or finalized block according to the block status in the request.
The block height of the new sealed or finalized block according to the block status in the request.
The timestamp of the new sealed or finalized block according to the block status in the request.
The response for SubscribeBlockHeadersFromStartBlockID, SubscribeBlockHeadersFromStartHeight, SubscribeBlockHeadersFromLatest
Used as response type in: AccessAPI.SubscribeBlockHeadersFromLatest, AccessAPI.SubscribeBlockHeadersFromStartBlockID, AccessAPI.SubscribeBlockHeadersFromStartHeight
The sealed or finalized block headers according to the block status in the request.
The response for SubscribeBlocksFromStartBlockID, SubscribeBlocksFromStartHeight, SubscribeBlocksFromLatest
Used as response type in: AccessAPI.SubscribeBlocksFromLatest, AccessAPI.SubscribeBlocksFromStartBlockID, AccessAPI.SubscribeBlocksFromStartHeight
The sealed or finalized blocks according to the block status in the request.
Used as response type in: AccessAPI.GetSystemTransaction, AccessAPI.GetTransaction
Used as response type in: AccessAPI.GetSystemTransactionResult, AccessAPI.GetTransactionResult, AccessAPI.GetTransactionResultByIndex
Used as field type in: