The Archive Access API is implemented as a gRPC service.
A language-agnostic specification for this API is defined using Protocol Buffers, which can be used to generate client libraries in a variety of programming languages.
The Archive Nodes hosted by DapperLabs are accessible at:
archive.mainnet.nodes.onflow.org:9000
archive.sandboxnet.nodes.onflow.org:9000
archive.devnet.nodes.onflow.org:9000
archive.canary.nodes.onflow.org:9000
Archive nodes operated by Dapper Labs are rate limited.
GetAccountAtBlockHeight
gets an account by address at the given block height.
The archive node queries an execution node for the account details, which are stored as part of the execution state.
1rpc GetAccountAtBlockHeight(GetAccountAtBlockHeightRequest) returns (AccountResponse)
1message GetAccountAtBlockHeightRequest {2bytes address3uint64 block_height4}
1message AccountResponse {2Account account3}
ExecuteScriptAtBlockID
executes a ready-only Cadence script against the execution state at the block with the given ID.
This method can be used to read account state from the blockchain. The script is executed on an execution node and the return value is encoded using the JSON-Cadence data interchange format.
1rpc ExecuteScriptAtBlockID (ExecuteScriptAtBlockIDRequest) returns (ExecuteScriptResponse)
1message ExecuteScriptAtBlockIDRequest {2bytes block_id3bytes script4}
1message ExecuteScriptResponse {2bytes value3}
ExecuteScriptAtBlockHeight
executes a ready-only Cadence script against the execution state at the given block height.
This method can be used to read account state from the blockchain. The script is executed on an execution node and the return value is encoded using the JSON-Cadence data interchange format.
1rpc ExecuteScriptAtBlockHeight (ExecuteScriptAtBlockHeightRequest) returns (ExecuteScriptResponse)
1message ExecuteScriptAtBlockHeightRequest {2uint64 block_height3bytes script4}
1message ExecuteScriptResponse {2bytes value3}