# JSON RPC API

> GetBlock provides fast and reliable access to Avail nodes via JSON-RPC API. Connect to the Avail network without running your own infrastructure.

Avail's Substrate JSON-RPC methods, organized by namespace. These are request/response calls available over both the JSON-RPC (HTTP) and WebSocket interfaces. For pub-sub subscriptions, see the [WebSocket Subscriptions](/api-reference/avail/websocket-subscriptions-api/) API.

## System

| Method | Description |
| --- | --- |
| [system_chain](/api-reference/avail/json-rpc-api/system_chain-avail/) | Chain name |
| [system_health](/api-reference/avail/json-rpc-api/system_health-avail/) | Node health and sync flags |
| [system_name](/api-reference/avail/json-rpc-api/system_name-avail/) | Client implementation name |
| [system_version](/api-reference/avail/json-rpc-api/system_version-avail/) | Client version |
| [system_properties](/api-reference/avail/json-rpc-api/system_properties-avail/) | Token symbol, decimals, and SS58 format |
| [system_syncState](/api-reference/avail/json-rpc-api/system_syncstate-avail/) | Sync progress heights |
| [system_accountNextIndex](/api-reference/avail/json-rpc-api/system_accountnextindex-avail/) | Next nonce for an account |
| [system_chainType](/api-reference/avail/json-rpc-api/system_chaintype-avail/) | Chain type: Live, Local, or Development |
| [system_nodeRoles](/api-reference/avail/json-rpc-api/system_noderoles-avail/) | Node roles |

## Chain

| Method | Description |
| --- | --- |
| [chain_getBlock](/api-reference/avail/json-rpc-api/chain_getblock-avail/) | Full block by hash, or latest |
| [chain_getBlockHash](/api-reference/avail/json-rpc-api/chain_getblockhash-avail/) | Block hash by number, or latest |
| [chain_getHeader](/api-reference/avail/json-rpc-api/chain_getheader-avail/) | Block header by hash, or latest |
| [chain_getFinalizedHead](/api-reference/avail/json-rpc-api/chain_getfinalizedhead-avail/) | Latest finalized block hash |
| [chain_getRuntimeVersion](/api-reference/avail/json-rpc-api/chain_getruntimeversion-avail/) | Runtime version at a block |

## State

| Method | Description |
| --- | --- |
| [state_getRuntimeVersion](/api-reference/avail/json-rpc-api/state_getruntimeversion-avail/) | Runtime version and APIs |
| [state_getMetadata](/api-reference/avail/json-rpc-api/state_getmetadata-avail/) | Runtime metadata in SCALE hex |
| [state_getStorage](/api-reference/avail/json-rpc-api/state_getstorage-avail/) | Raw storage value by key |
| [state_getKeysPaged](/api-reference/avail/json-rpc-api/state_getkeyspaged-avail/) | Paged storage keys under a prefix |
| [state_queryStorageAt](/api-reference/avail/json-rpc-api/state_querystorageat-avail/) | Values for multiple keys at a block |
| [state_getKeys](/api-reference/avail/json-rpc-api/state_getkeys-avail/) | Storage keys under a prefix, unpaged |
| [state_getStorageHash](/api-reference/avail/json-rpc-api/state_getstoragehash-avail/) | Hash of a storage value |
| [state_getReadProof](/api-reference/avail/json-rpc-api/state_getreadproof-avail/) | Merkle proof for storage keys |
| [state_call](/api-reference/avail/json-rpc-api/state_call-avail/) | Invoke a runtime API |

## Childstate

| Method | Description |
| --- | --- |
| [childstate_getStorage](/api-reference/avail/json-rpc-api/childstate_getstorage-avail/) | Value in a child trie |
| `childstate_getStorageHash` | Hash of a child-trie value |

## Author

| Method | Description |
| --- | --- |
| [author_submitExtrinsic](/api-reference/avail/json-rpc-api/author_submitextrinsic-avail/) | Submit a signed extrinsic |
| [author_pendingExtrinsics](/api-reference/avail/json-rpc-api/author_pendingextrinsics-avail/) | Extrinsics in the pool |

## Payment

| Method | Description |
| --- | --- |
| [payment_queryInfo](/api-reference/avail/json-rpc-api/payment_queryinfo-avail/) | Estimate fee for an extrinsic |
| [payment_queryFeeDetails](/api-reference/avail/json-rpc-api/payment_queryfeedetails-avail/) | Detailed fee breakdown |

## New JSON-RPC (v1)

| Method | Description |
| --- | --- |
| [chainSpec_v1_chainName](/api-reference/avail/json-rpc-api/chainspec_v1_chainname-avail/) | Chain name |
| [chainSpec_v1_genesisHash](/api-reference/avail/json-rpc-api/chainspec_v1_genesishash-avail/) | Genesis hash |
| [chainSpec_v1_properties](/api-reference/avail/json-rpc-api/chainspec_v1_properties-avail/) | Chain properties |
| [transaction_v1_broadcast](/api-reference/avail/json-rpc-api/transaction_v1_broadcast-avail/) | Broadcast a transaction |

## RPC

| Method | Description |
| --- | --- |
| [rpc_methods](/api-reference/avail/json-rpc-api/rpc_methods-avail/) | List available RPC methods |

## Support

| Contact |
| --- |
| [support@getblock.io](mailto:support@getblock.io) |
