> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abs.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Abstract JSON-RPC API

> View the full reference for the Abstract JSON-RPC API.

Information about the state of Abstract such as the chain ID, block number, status of transactions and state changing operations
such as submitting transactions are executed via Abstract’s JSON RPC API.
The JSON RPC API has 4 namespaces:

| Namespace | Description                                                    | Example           |
| --------- | -------------------------------------------------------------- | ----------------- |
| `eth_`    | Standard Ethereum JSON-RPC methods.                            | `eth_chainId`     |
| `zks_`    | JSON-RPC methods specific to the ZKsync VM that Abstract uses. | `zks_estimateFee` |
| `debug_`  | JSON-RPC methods useful for debugging purposes.                | `debug_traceCall` |
| `pubsub_` | JSON-RPC methods for subscribing to events via WebSockets      | `eth_subscribe`   |

## RPC Namespaces

<CardGroup cols={2}>
  <Card title="Ethereum JSON-RPC API" icon="ethereum" href="/api-reference/ethereum-api/eth_chainid" />

  <Card
    title="ZKsync JSON-RPC API"
    href="/api-reference/zksync-api/zks_estimatefee"
    icon={
  <img
    src="https://raw.githubusercontent.com/Abstract-Foundation/abstract-docs/main/images/abs-green.png"
    alt="Native"
  />
}
  />

  <Card title="Debugging JSON-RPC API" icon="ban-bug" href="/api-reference/debug-api/debug_traceblockbyhash" />

  <Card title="PubSub JSON-RPC API" icon="webhook" href="/api-reference/pubsub-api/eth_subscribe" />
</CardGroup>
