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

# RPC overview

> Base URL, conventions, and error format for the RPC API.

## Base URL

The examples in this documentation use a local node:

```python theme={null}
import requests

rpc_url = "http://127.0.0.1:3000"
```

## Endpoints

| Method | Path | Description |
| - | - | - |
| POST | `/send_transaction` | [Send a signed transaction](https://docs.zecolabs.com/rpc/send-transaction.md) |
| GET | `/account/:address` | [Get account info](https://docs.zecolabs.com/rpc/account.md) |
| GET | `/traffic` | [Get tip recommendations](https://docs.zecolabs.com/rpc/traffic.md) |
| GET | `/transaction/:tx_hash` | [Get transaction details](https://docs.zecolabs.com/rpc/transaction.md) |
| GET | `/block/:number` | [Get block details](https://docs.zecolabs.com/rpc/block.md) |
| GET | `/block_number` | [Get the latest block number](https://docs.zecolabs.com/rpc/block-number.md) |
| GET | `/power_price` | [Get the current power price](https://docs.zecolabs.com/rpc/power-price.md) |
| GET | `/chainid` | [Get the chain ID](https://docs.zecolabs.com/rpc/chain-id.md) |
| GET | `/token_supply` | [Get token supply details](https://docs.zecolabs.com/rpc/token-supply.md) |

## Number format

Large integers (`uint64` and `uint256`) are returned as decimal strings, for example `"balance": "11910600000100600000"`. Smaller values such as `status`, `version`, `chainid`, and `position` are returned as JSON numbers.

## Errors

When a request fails, the response contains a single `error` field with a message.

```json theme={null}
{
  "error": "The error explanation is here"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.