/v1 - Aptos
Example code for the /v1 JSON-RPC method. Сomplete guide on how to use /v1 json-rpc in GetBlock.io Web3 documentation.
Supported Network
Parameters
Request
https://go.getblock.io/curl --location 'https://go.getblock.io/<ACCESS_TOKEN>/v1/info'Response
{
"block_height": "58851650",
"chain_id": 1,
"epoch": "2796",
"git_hash": "6568c5ee6a58b4f96c0780d4f66d7e573e61c418",
"ledger_timestamp": "1685696086534090",
"ledger_version": "152087593",
"node_role": "full_node",
"oldest_block_height": "1101178",
"oldest_ledger_version": "2287593"
}Response Definition
Value
Data type
Description
Use Case
Code Example (Axios)
Error Handling
Integration
Last updated
Was this helpful?