Atleta Testnet RPC
v1.0.0https://atleta.nownodes.ioAtleta Testnet RPChttps://atleta-testnet.nownodes.ioAtleta Testnet RPCAPI for interacting with the Atleta Testnet via JSON-RPC methods.
Authentication
api-keyAuthapiKeyAPI Key: API_key in header
MAINNET
chain_getBlockHash
Get the block hash for a specific block number
Returns the block hash for the given block number in the blockchain.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<integer>Response
Block hash for the specified block number
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerchain_getBlock
JSON-RPC methods for the Atleta Testnet
Get the block data for a specific block hash
Returns the full block data including header and extrinsics for a specific block hash.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<string>Response
Block data for the given hash
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerchain_getFinalizedHead
Get the hash of the last finalized block in the canonical chain
Returns the hash of the latest finalized block in the blockchain.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<any>Response
The hash of the last finalized block.
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getMetadata
Returns the runtime metadata
Retrieves the runtime metadata of the blockchain node.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<any>Response
Runtime metadata in hexadecimal
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerpayment_queryInfo
Retrieve fee information for an encoded extrinsic
Returns information about the weight and fee of a given extrinsic.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<string>Response
Fee information for the extrinsic
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getReadProof
Returns proof of storage entries at a specific block state
Retrieves Merkle proofs for specific storage keys at a given block state, providing cryptographic verification of stored data.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<string>Response
Successfully retrieved proof of storage entries.
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getRuntimeVersion
Get the runtime version
Returns the current runtime version of the blockchain node.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<any>Response
Runtime version information
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getStorageHash
Retrieves the storage hash
Returns the storage hash for a given storage key. Useful for verifying data integrity and indexing values in the blockchain storage.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<string>Response
Successfully retrieved the storage hash for the given key.
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getStorageSize
Retrieves the storage size
Returns the size (in bytes) of the value stored under the given storage key. The size is returned as a hex-encoded number.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<string>Response
Successfully retrieved the storage size for the given key.
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getStorage
Retrieve storage for a key
Retrieves the value stored under a given key in the blockchain state. The value is returned as hex-encoded data in SCALE format.
Body
API_keystringjsonrpcstringidintegermethodstringparamsArray<string>Array with a single storage key (hex-encoded)
Response
Storage value for the given key
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_queryStorageAt
Query storage entries at a specific block
Queries storage entries by key starting at a specific block hash.
Body
API_keystringjsonrpcstringidintegermethodstringparamsarray- First parameter: array of state keys (hex-encoded) to query.
- Second parameter: block hash to retrieve the state from.
Response
Successfully retrieved storage entries at the specified block
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headersystem_chain
Retrieve the blockchain name
Returns the name of the chain that the node is connected to.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<any>Response
Returns the chain name
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headersystem_properties
Get a custom set of chain properties
Retrieves the chain-specific properties as a JSON object.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<any>Response
JSON object containing chain properties
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerTESTNET
chain_getBlockHash
Get the block hash for a specific block number
Returns the block hash for the given block number in the blockchain.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<integer>Response
Block hash for the specified block number
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerchain_getBlock
JSON-RPC methods for the Atleta Testnet
Get the block data for a specific block hash
Returns the full block data including header and extrinsics for a specific block hash.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<string>Response
Block data for the given hash
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerchain_getFinalizedHead
Get the hash of the last finalized block in the canonical chain
Returns the hash of the latest finalized block in the blockchain.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<any>Response
The hash of the last finalized block.
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getMetadata
Returns the runtime metadata
Retrieves the runtime metadata of the blockchain node.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<any>Response
Runtime metadata in hexadecimal
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerpayment_queryInfo
Retrieve fee information for an encoded extrinsic
Returns information about the weight and fee of a given extrinsic.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<string>Response
Fee information for the extrinsic
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getReadProof
Returns proof of storage entries at a specific block state
Retrieves Merkle proofs for specific storage keys at a given block state, providing cryptographic verification of stored data.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<string>Response
Successfully retrieved proof of storage entries.
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getRuntimeVersion
Get the runtime version
Returns the current runtime version of the blockchain node.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<any>Response
Runtime version information
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getStorageHash
Retrieves the storage hash
Returns the storage hash for a given storage key. Useful for verifying data integrity and indexing values in the blockchain storage.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<string>Response
Successfully retrieved the storage hash for the given key.
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getStorageSize
Retrieves the storage size
Returns the size (in bytes) of the value stored under the given storage key. The size is returned as a hex-encoded number.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<string>Response
Successfully retrieved the storage size for the given key.
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_getStorage
Retrieve storage for a key
Retrieves the value stored under a given key in the blockchain state. The value is returned as hex-encoded data in SCALE format.
Body
API_keystringjsonrpcstringidintegermethodstringparamsArray<string>Array with a single storage key (hex-encoded)
Response
Storage value for the given key
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_queryStorageAt
Query storage entries at a specific block
Queries storage entries by key starting at a specific block hash.
Body
API_keystringjsonrpcstringidintegermethodstringparamsarray- First parameter: array of state keys (hex-encoded) to query.
- Second parameter: block hash to retrieve the state from.
Response
Successfully retrieved storage entries at the specified block
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headersystem_chain
Retrieve the blockchain name
Returns the name of the chain that the node is connected to.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<any>Response
Returns the chain name
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headersystem_properties
Get a custom set of chain properties
Retrieves the chain-specific properties as a JSON object.
Body
API_keystringjsonrpcstringidstringmethodstringparamsArray<any>Response
JSON object containing chain properties
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in headerstate_queryStorage
Query historical storage entries
Returns the historical storage changes for the provided keys starting from a specific block hash.
Body
API_keystringjsonrpcstringidintegermethodstringparamsarray- First parameter: array of state keys (hex-encoded) to query changes for.
- Second parameter: block hash to start retrieving history from.
Response
Successfully retrieved historical storage entries.
Bad Request
Internal Server Error
Authorization
api-keyAuthapiKey in header