> For the complete documentation index, see [llms.txt](https://docs.getblock.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getblock.io/api-reference/avail/json-rpc-api.md).

# 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.md) API.

## System

| Method                                                                                         | Description                             |
| ---------------------------------------------------------------------------------------------- | --------------------------------------- |
| [system\_chain](/api-reference/avail/json-rpc-api/system_chain-avail.md)                       | Chain name                              |
| [system\_health](/api-reference/avail/json-rpc-api/system_health-avail.md)                     | Node health and sync flags              |
| [system\_name](/api-reference/avail/json-rpc-api/system_name-avail.md)                         | Client implementation name              |
| [system\_version](/api-reference/avail/json-rpc-api/system_version-avail.md)                   | Client version                          |
| [system\_properties](/api-reference/avail/json-rpc-api/system_properties-avail.md)             | Token symbol, decimals, and SS58 format |
| [system\_syncState](/api-reference/avail/json-rpc-api/system_syncstate-avail.md)               | Sync progress heights                   |
| [system\_accountNextIndex](/api-reference/avail/json-rpc-api/system_accountnextindex-avail.md) | Next nonce for an account               |
| [system\_chainType](/api-reference/avail/json-rpc-api/system_chaintype-avail.md)               | Chain type: Live, Local, or Development |
| [system\_nodeRoles](/api-reference/avail/json-rpc-api/system_noderoles-avail.md)               | Node roles                              |

## Chain

| Method                                                                                         | Description                     |
| ---------------------------------------------------------------------------------------------- | ------------------------------- |
| [chain\_getBlock](/api-reference/avail/json-rpc-api/chain_getblock-avail.md)                   | Full block by hash, or latest   |
| [chain\_getBlockHash](/api-reference/avail/json-rpc-api/chain_getblockhash-avail.md)           | Block hash by number, or latest |
| [chain\_getHeader](/api-reference/avail/json-rpc-api/chain_getheader-avail.md)                 | Block header by hash, or latest |
| [chain\_getFinalizedHead](/api-reference/avail/json-rpc-api/chain_getfinalizedhead-avail.md)   | Latest finalized block hash     |
| [chain\_getRuntimeVersion](/api-reference/avail/json-rpc-api/chain_getruntimeversion-avail.md) | Runtime version at a block      |

## State

| Method                                                                                         | Description                          |
| ---------------------------------------------------------------------------------------------- | ------------------------------------ |
| [state\_getRuntimeVersion](/api-reference/avail/json-rpc-api/state_getruntimeversion-avail.md) | Runtime version and APIs             |
| [state\_getMetadata](/api-reference/avail/json-rpc-api/state_getmetadata-avail.md)             | Runtime metadata in SCALE hex        |
| [state\_getStorage](/api-reference/avail/json-rpc-api/state_getstorage-avail.md)               | Raw storage value by key             |
| [state\_getKeysPaged](/api-reference/avail/json-rpc-api/state_getkeyspaged-avail.md)           | Paged storage keys under a prefix    |
| [state\_queryStorageAt](/api-reference/avail/json-rpc-api/state_querystorageat-avail.md)       | Values for multiple keys at a block  |
| [state\_getKeys](/api-reference/avail/json-rpc-api/state_getkeys-avail.md)                     | Storage keys under a prefix, unpaged |
| [state\_getStorageHash](/api-reference/avail/json-rpc-api/state_getstoragehash-avail.md)       | Hash of a storage value              |
| [state\_getReadProof](/api-reference/avail/json-rpc-api/state_getreadproof-avail.md)           | Merkle proof for storage keys        |
| [state\_call](/api-reference/avail/json-rpc-api/state_call-avail.md)                           | Invoke a runtime API                 |

## Childstate

| Method                                                                                     | Description                |
| ------------------------------------------------------------------------------------------ | -------------------------- |
| [childstate\_getStorage](/api-reference/avail/json-rpc-api/childstate_getstorage-avail.md) | 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.md)     | Submit a signed extrinsic |
| [author\_pendingExtrinsics](/api-reference/avail/json-rpc-api/author_pendingextrinsics-avail.md) | Extrinsics in the pool    |

## Payment

| Method                                                                                         | Description                   |
| ---------------------------------------------------------------------------------------------- | ----------------------------- |
| [payment\_queryInfo](/api-reference/avail/json-rpc-api/payment_queryinfo-avail.md)             | Estimate fee for an extrinsic |
| [payment\_queryFeeDetails](/api-reference/avail/json-rpc-api/payment_queryfeedetails-avail.md) | Detailed fee breakdown        |

## New JSON-RPC (v1)

| Method                                                                                            | Description             |
| ------------------------------------------------------------------------------------------------- | ----------------------- |
| [chainSpec\_v1\_chainName](/api-reference/avail/json-rpc-api/chainspec_v1_chainname-avail.md)     | Chain name              |
| [chainSpec\_v1\_genesisHash](/api-reference/avail/json-rpc-api/chainspec_v1_genesishash-avail.md) | Genesis hash            |
| [chainSpec\_v1\_properties](/api-reference/avail/json-rpc-api/chainspec_v1_properties-avail.md)   | Chain properties        |
| [transaction\_v1\_broadcast](/api-reference/avail/json-rpc-api/transaction_v1_broadcast-avail.md) | Broadcast a transaction |

## RPC

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

## Support

| Contact               |
| --------------------- |
| <support@getblock.io> |
