# Sei

<figure><img src="/files/NU5KD8N70uAASUxuFSJ8" alt=""><figcaption></figcaption></figure>

> Sei API is available on [Web3 API platform](https://crypto-chief.com/rpc/sei/).

*Sei* is a high-performance Layer 1 blockchain built on the Cosmos SDK with a built-in order book matching engine optimized for trading applications. Sei achieves sub-400ms finality through a twin-turbo consensus (optimistic block processing + parallelized execution). It supports both Cosmos-native (CosmWasm) smart contracts and a full EVM execution layer, giving developers flexibility to build in Rust/CosmWasm or Solidity. SEI is the native token.

Sei exposes three developer interfaces: an EVM-compatible [JSON-RPC](https://www.jsonrpc.org/specification) API for Solidity tooling, a Tendermint JSON-RPC/REST API for consensus-layer queries, and a Cosmos REST API for module-level state and transaction access.

***

### EVM JSON-RPC methods

* [`web3_clientVersion`](#web3_clientversion) — returns the current client version.
* [`net_version`](#net_version) — returns the current network ID.
* [`eth_gasPrice`](#eth_gasprice) — returns the current price per gas in wei.
* [`eth_accounts`](#eth_accounts) — returns a list of addresses owned by client.
* [`eth_blockNumber`](#eth_blocknumber) — returns the number of most recent block.
* [`eth_getBalance`](#eth_getbalance) — returns the balance of the account specified by address.
* [`eth_getStorageAt`](#eth_getstorageat) — returns the value from a storage position at an address specified.
* [`eth_getTransactionCount`](#eth_gettransactioncount) — returns the number of transactions sent from an address.
* [`eth_getBlockTransactionCountByHash`](#eth_getblocktransactioncountbyhash) — returns the number of transactions in a block specified by block hash.
* [`eth_getBlockTransactionCountByNumber`](#eth_getblocktransactioncountbynumber) — returns the number of transactions in the block specified by number.
* [`eth_getUncleCountByBlockNumber`](#eth_gettransactionbyblocknumberandindex) — returns the number of uncles in a block specified by block number.
* [`eth_getCode`](#eth_getcode) — returns code at an address specified.
* [`eth_sendRawTransaction`](#eth_sendrawtransaction) — creates a new message call transaction or a contract creation for signed transactions.
* [`eth_call`](#eth_call) — executes a new message call immediately without creating a transaction on the blockchain.
* [`eth_estimateGas`](#eth_estimategas) — generates and returns an estimate of how much gas is necessary to allow the transaction to complete.
* [`eth_getBlockByHash`](#eth_getblockbyhash) — returns information for the block specified by block hash.
* [`eth_getBlockByNumber`](#eth_getblockbynumber) — returns information for the block specified by block number.
* [`eth_getTransactionByHash`](#eth_gettransactionbyhash) — returns information on a transaction specified by transaction hash.
* [`eth_getTransactionByBlockHashAndIndex`](#eth_gettransactionbyblockhashandindex) — returns information on a transaction specified by block hash and transaction index position.
* [`eth_getTransactionByBlockNumberAndIndex`](#eth_gettransactionbyblocknumberandindex) — returns information on a transaction by block number and transaction index position.
* [`eth_getTransactionReceipt`](#eth_gettransactionreceipt) — returns the receipt of a transaction by transaction hash.
* [`eth_getLogs`](#eth_getlogs) — returns logs matching the parameters specified.

***

### `web3_clientVersion`

> Returns the version string of the connected execution client.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required): none.

#### Returns

* `<string>`: the current client version.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "web3_clientVersion",
      "params": [],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "web3_clientVersion",
    params: [],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "web3_clientVersion",
        "params": [],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": "Geth/linux-amd64/go1.21.4"
}
```

***

### `net_version`

> Returns the numeric chain/network ID as a string.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required): none.

#### Returns

* `<string>`: the current network ID.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "net_version",
      "params": [],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "net_version",
    params: [],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "net_version",
        "params": [],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "1329"
}
```

***

### `eth_gasPrice`

> Returns the current median gas price in wei as reported by recent blocks.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required): none.

#### Returns

* `<string>` (quantity): the current gas price in wei.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_gasPrice",
      "params": [],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_gasPrice",
    params: [],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_gasPrice",
        "params": [],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x4190ab00"
}
```

***

### `eth_accounts`

> Returns the list of addresses managed by the connected node (empty for remote nodes).

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required): none.

#### Returns

* `<array>` (string; data, 20 bytes): addresses owned by the client.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_accounts",
      "params": [],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_accounts",
    params: [],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_accounts",
        "params": [],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": null
}
```

***

### `eth_blockNumber`

> Returns the height (number) of the most recently mined block.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required): none.

#### Returns

* `<string>` (quantity): the current block number the client is on.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_blockNumber",
      "params": [],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_blockNumber",
    params: [],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_blockNumber",
        "params": [],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x90a756c"
}
```

***

### `eth_getBalance`

> Returns the wei balance of the specified address at the given block.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (data, 20 bytes): an address to check for balance.
  2. `<string>` (quantity|tag): either the hex value of a *block number* or one of the following *block tags*:
     * `earliest`: the lowest numbered block available on the client.
     * `finalized`: the most recent crypto-economically secure block; cannot be re-orged outside of manual intervention driven by community coordination.
     * `safe`: the most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions.
     * `latest`: the most recent block in the canonical chain observed by the client; this block can be re-orged out of the canonical chain even under healthy/normal conditions.
     * `pending`: a sample next block built by the client on top of the `latest` and containing the set of transactions usually taken from local mempool. In other words, it is the block that has not been mined yet.

#### Returns

* `<string>` (quantity): the current balance in wei.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getBalance",
      "params": ["0x929549B12bA3BA6E71e6331A116dDCf56A5CA39c", "latest"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getBalance",
    params: ["0x929549B12bA3BA6E71e6331A116dDCf56A5CA39c", "latest"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getBalance",
        "params": ["0x929549B12bA3BA6E71e6331A116dDCf56A5CA39c", "latest"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x2a423e3700"
}
```

***

### `eth_getStorageAt`

> Returns the 32-byte value stored at a given storage slot of a contract.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (data, 20 bytes): an address of the storage (hex encoded).
  2. `<string>` (quantity): a slot position in the storage (hex encoded unsigned integer).
  3. `<string>` (quantity|tag): either the hex value of a *block number* or one of the following *block tags*:
     * `earliest`: the lowest numbered block available on the client.
     * `finalized`: the most recent crypto-economically secure block; cannot be re-orged outside of manual intervention driven by community coordination.
     * `safe`: the most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions.
     * `latest`: the most recent block in the canonical chain observed by the client; this block can be re-orged out of the canonical chain even under healthy/normal conditions.
     * `pending`: a sample next block built by the client on top of the `latest` and containing the set of transactions usually taken from local mempool. In other words, it is the block that has not been mined yet.

#### Returns

* `<string>` (data): the value at this storage position.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getStorageAt",
      "params": ["0xcFec3A482909e1f9D8d631d99c7DE18960E969E7", "0x0", "latest"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getStorageAt",
    params: ["0xcFec3A482909e1f9D8d631d99c7DE18960E969E7", "0x0", "latest"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getStorageAt",
        "params": ["0xcFec3A482909e1f9D8d631d99c7DE18960E969E7", "0x0", "latest"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
```

***

### `eth_getTransactionCount`

> Returns the nonce (number of transactions sent) for the specified address.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (data, 20 bytes): an address.
  2. `<string>` (quantity|tag): either the hex value of a *block number* or one of the following *block tags*:
     * `earliest`: the lowest numbered block available on the client.
     * `finalized`: the most recent crypto-economically secure block; cannot be re-orged outside of manual intervention driven by community coordination.
     * `safe`: the most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions.
     * `latest`: the most recent block in the canonical chain observed by the client; this block can be re-orged out of the canonical chain even under healthy/normal conditions.
     * `pending`: a sample next block built by the client on top of the `latest` and containing the set of transactions usually taken from local mempool. In other words, it is the block that has not been mined yet.

#### Returns

* `<string>` (quantity): the number of transactions send from this address.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getTransactionCount",
      "params": ["0x85BC29178BAC07468b76078998f550861239c469", "latest"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getTransactionCount",
    params: ["0x85BC29178BAC07468b76078998f550861239c469", "latest"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getTransactionCount",
        "params": ["0x85BC29178BAC07468b76078998f550861239c469", "latest"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x1"
}
```

***

### `eth_getBlockTransactionCountByHash`

> Returns the number of transactions in the block with the given hash.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (data, 32 bytes): a block hash.

#### Returns

* `<string>` (quantity): the number of transactions in this block.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getBlockTransactionCountByHash",
      "params": ["0xe231d859f407ad98f4052346cf59ae03abf39b5203e3fdfb2994b8763c87bf13"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getBlockTransactionCountByHash",
    params: ["0xe231d859f407ad98f4052346cf59ae03abf39b5203e3fdfb2994b8763c87bf13"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getBlockTransactionCountByHash",
        "params": ["0xe231d859f407ad98f4052346cf59ae03abf39b5203e3fdfb2994b8763c87bf13"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x2"
}
```

***

### `eth_getBlockTransactionCountByNumber`

> Returns the number of transactions in the block at the given height.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (quantity|tag): either the hex value of a *block number* or one of the following *block tags*:
     * `earliest`: the lowest numbered block available on the client.
     * `finalized`: the most recent crypto-economically secure block; cannot be re-orged outside of manual intervention driven by community coordination.
     * `safe`: the most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions.
     * `latest`: the most recent block in the canonical chain observed by the client; this block can be re-orged out of the canonical chain even under healthy/normal conditions.
     * `pending`: a sample next block built by the client on top of the `latest` and containing the set of transactions usually taken from local mempool. In other words, it is the block that has not been mined yet.

#### Returns

* `<string>` (quantity): the number of transactions in this block.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getBlockTransactionCountByNumber",
      "params": ["latest"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getBlockTransactionCountByNumber",
    params: ["latest"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getBlockTransactionCountByNumber",
        "params": ["latest"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x6"
}
```

***

### `eth_getCode`

> Returns the deployed bytecode at the specified contract address.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (data, 20 bytes): an address to get the code from.
  2. `<string>` (quantity|tag): either the hex value of a *block number* or one of the following *block tags*:
     * `earliest`: the lowest numbered block available on the client.
     * `finalized`: the most recent crypto-economically secure block; cannot be re-orged outside of manual intervention driven by community coordination.
     * `safe`: the most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions.
     * `latest`: the most recent block in the canonical chain observed by the client; this block can be re-orged out of the canonical chain even under healthy/normal conditions.
     * `pending`: a sample next block built by the client on top of the `latest` and containing the set of transactions usually taken from local mempool. In other words, it is the block that has not been mined yet.

#### Returns

* `<string>` (data): the code from the given address.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getCode",
      "params": ["0x85BC29178BAC07468b76078998f550861239c469", "latest"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getCode",
    params: ["0x85BC29178BAC07468b76078998f550861239c469", "latest"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getCode",
        "params": ["0x85BC29178BAC07468b76078998f550861239c469", "latest"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x60806040526004361061012c575f3560e01c80637e8adbf0116100a45780639852099c1161006b5780639852099c14610340578063c5f956af14610355578063d611965814610374578063ddf8d65114610393578063e8433ddf146103b2578063f2fde38b146103d157005b80637e8adbf01461029a578063812ef32f146102cc57806382ac5a65146102e05780638da5cb5b146102ff578063974a8fd01461032157005b806341275358116100f357806341275358146101f1578063558a7297146102105780635c975abb1461022f5780636348b87814610246578063665fc91614610273578063715018a61461028657005b80630930907b1461013557806..."
}
```

***

### `eth_sendRawTransaction`

> Broadcasts a pre-signed, RLP-encoded transaction to the network.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (data): the signed transaction data.

#### Returns

* `<string>` (data, 32 bytes): the transaction hash, or the zero hash if the transaction is not yet available.

Use [eth\_getTransactionReceipt](#eth_gettransactionreceipt) to get the contract address, after the transaction was mined, when you created a contract.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
    "jsonrpc": "2.0",
    "method": "eth_sendRawTransaction",
    "params": ["signed_tx_data"],
    "id": 1
}'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_sendRawTransaction",
    params: ["signed_tx_data"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_sendRawTransaction",
        "params": ["signed_tx_data"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
}
```

***

### `eth_call`

> Executes a read-only call against the EVM state without broadcasting a transaction.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<object>` (hex encoded): the transaction object:
     * `from` (string; data, 20 bytes; optional): the address the transaction is sent from.
     * `to` (string; data, 20 bytes): the address the transaction is directed to.
     * `gas` (string; quantity; optional): the gas provided for the transaction execution. `eth_call` consumes zero gas, but this parameter may be needed by some executions.
     * `gasPrice` (string; quantity; optional): the gas price willing to be paid by the sender in wei.
     * `value` (string; quantity; optional): the value sent with this transaction, in wei.
     * `data` (string; data; optional): the hash of the method signature and encoded parameters.
  2. `<string>` (quantity|tag): either the hex value of a *block number* or one of the following *block tags*:
     * `earliest`: the lowest numbered block available on the client.
     * `finalized`: the most recent crypto-economically secure block; cannot be re-orged outside of manual intervention driven by community coordination.
     * `safe`: the most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions.
     * `latest`: the most recent block in the canonical chain observed by the client; this block can be re-orged out of the canonical chain even under healthy/normal conditions.
     * `pending`: a sample next block built by the client on top of the `latest` and containing the set of transactions usually taken from local mempool. In other words, it is the block that has not been mined yet.

#### Returns

* `<string>` (hex encoded bytes): the return value of executed contract.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
    "jsonrpc": "2.0",
    "method": "eth_call",
    "params": [
        {
            "to": "0xcFec3A482909e1f9D8d631d99c7DE18960E969E7",
            "data": "0x70a08231000000000000000000000000a0df350d2637096571f7a701cb08f08f0775fcf9"
        },
        "latest"
    ],
    "id": 1
}'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_call",
    params: [{"to": "0xcFec3A482909e1f9D8d631d99c7DE18960E969E7", "data": "0x70a08231000000000000000000000000a0df350d2637096571f7a701cb08f08f0775fcf9"}, "latest"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_call",
        "params": [{"to": "0xcFec3A482909e1f9D8d631d99c7DE18960E969E7", "data": "0x70a08231000000000000000000000000a0df350d2637096571f7a701cb08f08f0775fcf9"}, "latest"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x"
}
```

***

### `eth_estimateGas`

> Simulates a transaction and returns the estimated gas units it would consume.

The transaction will not be added to the blockchain. Note that the estimate may be significantly more than the amount of gas actually used by the transaction, for a variety of reasons including EVM mechanics and node performance.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<object>` (hex encoded): the transaction object:
     * `from` (string; data, 20 bytes; optional): the address the transaction is sent from.
     * `to` (string; data, 20 bytes; optional): the address the transaction is directed to.
     * `gas` (string; quantity; optional): the gas provided for the transaction execution. `eth_call` consumes zero gas, but this parameter may be needed by some executions.
     * `gasPrice` (string; quantity; optional): the gas price willing to be paid by the sender in wei.
     * `value` (string; quantity; optional): the value sent with this transaction, in wei.
     * `data` (string; data; optional): the hash of the method signature and encoded parameters.
  2. `<string>` (quantity|tag; optional): either a HEX value of a *block number* or one of the following *block tags*:
     * `earliest`: the lowest numbered block available on the client.
     * `finalized`: the most recent crypto-economically secure block; cannot be re-orged outside of manual intervention driven by community coordination.
     * `safe`: the most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions.
     * `latest`: the most recent block in the canonical chain observed by the client; this block can be re-orged out of the canonical chain even under healthy/normal conditions.
     * `pending`: a sample next block built by the client on top of the `latest` and containing the set of transactions usually taken from local mempool. In other words, it is the block that has not been mined yet.

#### Returns

* `<string>` (quantity): the amount of gas used.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
    "jsonrpc": "2.0",
    "method": "eth_estimateGas",
    "params": [
        {
            "from": "0xcFec3A482909e1f9D8d631d99c7DE18960E969E7",
            "to": "0x85BC29178BAC07468b76078998f550861239c469",
            "data": "0xa9059cbb000000000000000000000000a0df350d2637096571f7a701cb08f08f0775fcf90000000000000000000000000000000000000000000000000000000000000064"
        }
    ],
    "id": 1
}'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_estimateGas",
    params: [{"from": "0xcFec3A482909e1f9D8d631d99c7DE18960E969E7", "to": "0x85BC29178BAC07468b76078998f550861239c469", "data": "0xa9059cbb000000000000000000000000a0df350d2637096571f7a701cb08f08f0775fcf90000000000000000000000000000000000000000000000000000000000000064"}],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_estimateGas",
        "params": [{"from": "0xcFec3A482909e1f9D8d631d99c7DE18960E969E7", "to": "0x85BC29178BAC07468b76078998f550861239c469", "data": "0xa9059cbb000000000000000000000000a0df350d2637096571f7a701cb08f08f0775fcf90000000000000000000000000000000000000000000000000000000000000064"}],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x55cc"
}
```

***

### `eth_getBlockByHash`

> Returns full block data for the block identified by the given hash.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (data, 32 bytes): the block hash.
  2. `<boolean>`: if `true` it returns the full transaction objects, if `false` — only the hashes of the transactions.

#### Returns

* `<object>`: a block object, or null when no block was found:
  * `number` (string; quantity): the block number; null when it's a pending block.
  * `hash` (string; data, 32 bytes): the hash of the block; null when it's a pending block.
  * `parentHash` (string; data, 32 bytes): the hash of the parent block.
  * `nonce` (string; data, 8 bytes): the hash of the generated proof-of-work; null when it's a pending block.
  * `sha3Uncles` (string; data, 32 bytes): SHA3 of the uncles data in the block.
  * `logsBloom` (string; data, 256 bytes): the bloom filter for the logs of the block. null when its pending block.
  * `transactionsRoot` (string; data, 32 bytes): the root of the transaction trie of the block.
  * `stateRoot` (string; data, 32 bytes): the root of the final state trie of the block.
  * `receiptsRoot` (string; data, 32 bytes): the root of the receipts trie of the block.
  * `miner` (string; data, 20 bytes): the address of the beneficiary to whom the mining rewards were given.
  * `difficulty` (string; quantity): the difficulty for this block.
  * `totalDifficulty` (string; quantity): the total difficulty of the chain until this block.
  * `extraData` (string; data): the **extra data** field of this block.
  * `size` (string; quantity): the size of this block in bytes.
  * `gasLimit` (string; quantity): the maximum gas allowed in this block.
  * `gasUsed` (string; quantity): the total used gas by all transactions in this block.
  * `timestamp` (string; quantity): the unix timestamp for when the block was collated.
  * `transactions` (array of strings): an array of transaction objects, or 32 bytes transaction hashes depending on the last given parameter.
  * `uncles` (array of strings): an array of uncle hashes.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getBlockByHash",
      "params": ["0xf6d810bd899f629b726fbf31e4d8814bb674d8020e4062db9f4fdca79f4183c0", false],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getBlockByHash",
    params: ["0xf6d810bd899f629b726fbf31e4d8814bb674d8020e4062db9f4fdca79f4183c0", false],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getBlockByHash",
        "params": ["0xf6d810bd899f629b726fbf31e4d8814bb674d8020e4062db9f4fdca79f4183c0", False],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "baseFeePerGas": "0x3b9aca00",
        "difficulty": "0x0",
        "extraData": "0x",
        "gasLimit": "0x989680",
        "gasUsed": "0x20904",
        "hash": "0xf6d810bd899f629b726fbf31e4d8814bb674d8020e4062db9f4fdca79f4183c0",
        "logsBloom": "0x00000000000000000000040000000001000000000000800000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000800000000000008000000000004000000000020000000000000000000000000000000000000108800000000000000000000000000000000000000000000040000000000000000000000000000000000000000000020000000000000000004000000000400000000010010000000000000000400000000000000000000000040000000000000000000000000000000000000000000000000000004000000000000000000000",
        "miner": "0x7a657eabde32b51e460f1893cd3c753a802aaf46",
        "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x0000000000000000",
        "number": "0x90a777c",
        "parentHash": "0xe231d859f407ad98f4052346cf59ae03abf39b5203e3fdfb2994b8763c87bf13",
        "receiptsRoot": "0xbd0238dd118e07dd75671e917743ffe3b5443e7003cb4cdfcc4d6190cc2427ff",
        "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
        "size": "0x61f8",
        "stateRoot": "0x0070ea9266525bd4e43488ae3e8ee6b22db7d47ca2c908ad2eb37501088a9be5",
        "timestamp": "0x684962df",
        "transactions": [
            "0x005e603d865a60e8de131cd13a96cd091e273750c349358118af8f9323a2127d",
            "0x48a63bc2246eb55112c1ead293391be8a29af1215a28139f8e934b8ba7670ddd",
            "0xbc3ab2be01190669ce3f4cd98d369c79da23d67aa97e72155ef8a875d38de966",
            "0xcd9e9c788bb06408781524e9dc6617928fdee2873148b0f4266c78354cdfc5df",
            "0x66032d610529326de5ade949086c37a7a7745ae639f86d4b6e3de91f97d3ad4e",
            "0x76dacc2e7a22eece91a574428878ae1f090dc01caed267044a240997e452fac5"
        ],
        "transactionsRoot": "0x0a85eb71ff0009e17542e64cbfefff15039982f3e26e312074fa715328d1a2ef",
        "uncles": []
    }
}
```

***

### `eth_getBlockByNumber`

> Returns full block data for the block at the specified height.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (quantity|tag): either the hex value of a *block number* or one of the following *block tags*:
     * `earliest`: the lowest numbered block available on the client.
     * `finalized`: the most recent crypto-economically secure block; cannot be re-orged outside of manual intervention driven by community coordination.
     * `safe`: the most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions.
     * `latest`: the most recent block in the canonical chain observed by the client; this block can be re-orged out of the canonical chain even under healthy/normal conditions.
     * `pending`: a sample next block built by the client on top of the `latest` and containing the set of transactions usually taken from local mempool. In other words, it is the block that has not been mined yet.
  2. `<boolean>`: if `true` it returns the full transaction objects, if `false` — only the hashes of the transactions.

#### Returns

* `<object>`: a block object, or null when no block was found:
  * `number` (string; quantity): the block number; null when it's a pending block.
  * `hash` (string; data, 32 bytes): the hash of the block; null when it's a pending block.
  * `parentHash` (string; data, 32 bytes): the hash of the parent block.
  * `nonce` (string; data, 8 bytes): the hash of the generated proof-of-work; null when it's a pending block.
  * `sha3Uncles` (string; data, 32 bytes): SHA3 of the uncles data in the block.
  * `logsBloom` (string; data, 256 bytes): the bloom filter for the logs of the block. null when its pending block.
  * `transactionsRoot` (string; data, 32 bytes): the root of the transaction trie of the block.
  * `stateRoot` (string; data, 32 bytes): the root of the final state trie of the block.
  * `receiptsRoot` (string; data, 32 bytes): the root of the receipts trie of the block.
  * `miner` (string; data, 20 bytes): the address of the beneficiary to whom the mining rewards were given.
  * `difficulty` (string; quantity): the difficulty for this block.
  * `totalDifficulty` (string; quantity): the total difficulty of the chain until this block.
  * `extraData` (string; data): the **extra data** field of this block.
  * `size` (string; quantity): the size of this block in bytes.
  * `gasLimit` (string; quantity): the maximum gas allowed in this block.
  * `gasUsed` (string; quantity): the total used gas by all transactions in this block.
  * `timestamp` (string; quantity): the unix timestamp for when the block was collated.
  * `transactions` (array of strings): an array of transaction objects, or 32 bytes transaction hashes depending on the last given parameter.
  * `uncles` (array of strings): an array of uncle hashes.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getBlockByNumber",
      "params": ["latest", false],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getBlockByNumber",
    params: ["latest", false],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getBlockByNumber",
        "params": ["latest", False],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "baseFeePerGas": "0x3b9aca00",
        "difficulty": "0x0",
        "extraData": "0x",
        "gasLimit": "0x989680",
        "gasUsed": "0x1ea6d",
        "hash": "0x80ae223fe56c21e6b0205cdbc4b9638c5c40949f3348ae6a036f723d41a98cde",
        "logsBloom": "0x00000001000000000000000000004000000000080000000000000000000000000000000000000080000800000000000040800000000000000000000200000000000000000000004000000000000000000000000000000000000000000000000000000000000004000000008000000000004000100000000000000000000000000008000000010000000000000000000000000000000000000000104001000000000000000000000000000000000010000000000000000000000000000000000000002000004000000000000000000000000002000000000000000000000000000000000000000000008000000000000010000000000000000000000000000000",
        "miner": "0x24f70e6cfae07f57fe58f8f6101ecb66e42c96bb",
        "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "nonce": "0x0000000000000000",
        "number": "0x90a7c72",
        "parentHash": "0x72ac0c8a8957fc20ea138267f746e5c4d298c895e4fc59c814037a086bb8a641",
        "receiptsRoot": "0xd7c8b59286eec930c11ed2722fb21f5f6efb2fe6a61bddab0356afa122f8231e",
        "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
        "size": "0x5c1e",
        "stateRoot": "0x32d369aa6bfddb7d93ad186d2724c020d4b1d81c902318f97b00c285fa3e34b0",
        "timestamp": "0x68496555",
        "transactions": [
            "0x10fa45dd5254a96f971e2c7d5e35e84cc6ae0b4fede2f9f62e4b16854da96d21",
            "0x69d1dabd7569b245f795310c9bdf5bf013ac0ac602bb24ebc2bbacc571714054",
            "0xb810dbb3bda727f855b7beefba540c7f7b84d81a38a28dc41f229097cd743284",
            "0xf4682ede98bc8fa47127ebdb609898ab655a8bd6287f15114d0d08093d84a2dc"
        ],
        "transactionsRoot": "0xba837260450051322b08b890f5656f9134d8c15d8e86f5cd69d3041a2b853abb",
        "uncles": []
    }
}
```

***

### `eth_getTransactionByHash`

> Returns the transaction details for the given transaction hash.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (data, 32 bytes): a transaction hash.

#### Returns

* `blockHash` (string; data, 32 bytes): a hash of the block containing the transaction; null when it's pending.
* `blockNumber` (string; quantity): a number of the block containing the transaction; null when it's pending.
* `from` (string; data, 20 bytes): an address of the sender.
* `gas` (string; quantity): the gas provided by the sender.
* `gasPrice` (string; quantity): the gas price provided by the sender in wei.
* `hash` (string; data, 32 bytes): the hash of the transaction.
* `input` (string; data): the data send along with the transaction.
* `nonce` (string; quantity): the number of transactions made by the sender prior to this one.
* `to` (string: data, 20 bytes): an address of the receiver: null when it's a contract creation transaction.
* `transactionIndex` (string; quantity): the transaction index position in the block; null when it's pending.
* `value` (string; quantity): the value transferred in wei.
* `v` (string; quantity): ECDSA recovery ID.
* `r` (string; quantity): ECDSA signature r.
* `s` (string; quantity): ECDSA signature s.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getTransactionByHash",
      "params": ["0xd24cd4f7017a4bdf4eab7df25ca6e0d8f60fefd274d27b7dbd17fabca486e924"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getTransactionByHash",
    params: ["0xd24cd4f7017a4bdf4eab7df25ca6e0d8f60fefd274d27b7dbd17fabca486e924"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getTransactionByHash",
        "params": ["0xd24cd4f7017a4bdf4eab7df25ca6e0d8f60fefd274d27b7dbd17fabca486e924"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "blockHash": "0x4e868a53bb420962c05389dcd2bf97a1b14bac2b3c28210337a7b4650d10706b",
        "blockNumber": "0x90a7d49",
        "from": "0xb1fecdfbe72c9fbe55c96807d564f8a692b6f9b9",
        "gas": "0x5208",
        "gasPrice": "0x4190ab00",
        "maxFeePerGas": "0x4190ab00",
        "maxPriorityFeePerGas": "0x4190ab00",
        "hash": "0xd24cd4f7017a4bdf4eab7df25ca6e0d8f60fefd274d27b7dbd17fabca486e924",
        "input": "0x",
        "nonce": "0x4e",
        "to": "0x59b95b521de773b101d3cd297ea54906bda69ae5",
        "transactionIndex": "0x8",
        "value": "0x2386f26fc10000",
        "type": "0x2",
        "accessList": [],
        "chainId": "0x531",
        "v": "0x0",
        "r": "0x1b67ab84d842daeeb739a41bd7e7acdf241a29059491dd9740b55bc1e538a0ed",
        "s": "0x37a5fd5256e27e3fcec7668b7d6f9ea18f718514d3ccb4c59d23e412c020dcdd",
        "yParity": "0x0"
    }
}
```

***

### `eth_getTransactionByBlockHashAndIndex`

> Returns the transaction at the specified index within the block identified by hash.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (data, 32 bytes): a block hash.
  2. `<string>` (quantity): a transaction index position.

#### Returns

* `blockHash` (string; data, 32 bytes): a hash of the block containing the transaction; null when it's pending.
* `blockNumber` (string; quantity): a number of the block containing the transaction; null when it's pending.
* `from` (string; data, 20 bytes): an address of the sender.
* `gas` (string; quantity): the gas provided by the sender.
* `gasPrice` (string; quantity): the gas price provided by the sender in wei.
* `hash` (string; data, 32 bytes): the hash of the transaction.
* `input` (string; data): the data send along with the transaction.
* `nonce` (string; quantity): the number of transactions made by the sender prior to this one.
* `to` (string: data, 20 bytes): an address of the receiver: null when it's a contract creation transaction.
* `transactionIndex` (string; quantity): the transaction index position in the block; null when it's pending.
* `value` (string; quantity): the value transferred in wei.
* `v` (string; quantity): ECDSA recovery ID.
* `r` (string; quantity): ECDSA signature r.
* `s` (string; quantity): ECDSA signature s.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getTransactionByBlockHashAndIndex",
      "params": [
          "0x01D3CB71E5AFC2F74191233E44143516FEF6AD1C587FACE6E4640B724C704750",
          "0x0"
      ],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getTransactionByBlockHashAndIndex",
    params: ["0x01D3CB71E5AFC2F74191233E44143516FEF6AD1C587FACE6E4640B724C704750", "0x0"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getTransactionByBlockHashAndIndex",
        "params": ["0x01D3CB71E5AFC2F74191233E44143516FEF6AD1C587FACE6E4640B724C704750", "0x0"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "blockHash": "0x01d3cb71e5afc2f74191233e44143516fef6ad1c587face6e4640b724c704750",
        "blockNumber": "0x90a8041",
        "from": "0x6bb7272fb2d6949a2e75b3d9029d7da02f390206",
        "gas": "0x52e4",
        "gasPrice": "0x4190ab00",
        "hash": "0x3a60664c2457e9035d5d705741ae8e3e3604257a39fa7641241ee292f45ec08d",
        "input": "0x",
        "nonce": "0x0",
        "to": "0x85bc29178bac07468b76078998f550861239c469",
        "transactionIndex": "0x0",
        "value": "0x1e3160ccdd5b400",
        "type": "0x0",
        "chainId": "0x531",
        "v": "0xa85",
        "r": "0xc803000a29980491476b0e2ce68252795f0694e79d00f3c8d26455f9eee45ac0",
        "s": "0x71e9c36efe774008b5a17071243e341ac98107779995549251ddd9c62f7e626f"
    }
}
```

***

### `eth_getTransactionByBlockNumberAndIndex`

> Returns the transaction at the specified index within the block at the given height.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (quantity|tag): either the hex value of a *block number* or one of the following *block tags*:
     * `earliest`: the lowest numbered block available on the client.
     * `finalized`: the most recent crypto-economically secure block; cannot be re-orged outside of manual intervention driven by community coordination.
     * `safe`: the most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions.
     * `latest`: the most recent block in the canonical chain observed by the client; this block can be re-orged out of the canonical chain even under healthy/normal conditions.
     * `pending`: a sample next block built by the client on top of the `latest` and containing the set of transactions usually taken from local mempool. In other words, it is the block that has not been mined yet.
  2. `<string>` (quantity): the transaction index position.

#### Returns

* `blockHash` (string; data, 32 bytes): a hash of the block containing the transaction; null when it's pending.
* `blockNumber` (string; quantity): a number of the block containing the transaction; null when it's pending.
* `from` (string; data, 20 bytes): an address of the sender.
* `gas` (string; quantity): the gas provided by the sender.
* `gasPrice` (string; quantity): the gas price provided by the sender in wei.
* `hash` (string; data, 32 bytes): the hash of the transaction.
* `input` (string; data): the data send along with the transaction.
* `nonce` (string; quantity): the number of transactions made by the sender prior to this one.
* `to` (string: data, 20 bytes): an address of the receiver: null when it's a contract creation transaction.
* `transactionIndex` (string; quantity): the transaction index position in the block; null when it's pending.
* `value` (string; quantity): the value transferred in wei.
* `v` (string; quantity): ECDSA recovery ID.
* `r` (string; quantity): ECDSA signature r.
* `s` (string; quantity): ECDSA signature s.

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getTransactionByBlockNumberAndIndex",
      "params": ["0x90A8041", "0x0"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getTransactionByBlockNumberAndIndex",
    params: ["0x90A8041", "0x0"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getTransactionByBlockNumberAndIndex",
        "params": ["0x90A8041", "0x0"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "blockHash": "0x01d3cb71e5afc2f74191233e44143516fef6ad1c587face6e4640b724c704750",
        "blockNumber": "0x90a8041",
        "from": "0x6bb7272fb2d6949a2e75b3d9029d7da02f390206",
        "gas": "0x52e4",
        "gasPrice": "0x4190ab00",
        "hash": "0x3a60664c2457e9035d5d705741ae8e3e3604257a39fa7641241ee292f45ec08d",
        "input": "0x",
        "nonce": "0x0",
        "to": "0x85bc29178bac07468b76078998f550861239c469",
        "transactionIndex": "0x0",
        "value": "0x1e3160ccdd5b400",
        "type": "0x0",
        "chainId": "0x531",
        "v": "0xa85",
        "r": "0xc803000a29980491476b0e2ce68252795f0694e79d00f3c8d26455f9eee45ac0",
        "s": "0x71e9c36efe774008b5a17071243e341ac98107779995549251ddd9c62f7e626f"
    }
}
```

***

### `eth_getTransactionReceipt`

> Returns the post-execution receipt (status, logs, gas used, contract address) for a transaction.

The receipt is not available for pending transactions.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `<string>` (data, 32 bytes): a hash of the transaction.

#### Returns

* `object`: a transaction receipt object, or null when no receipt was found:
  * `transactionHash` (string; data, 32 bytes): a hash of the transaction.
  * `transactionIndex` (string; quantity): the transactions index position in the block.
  * `blockHash` (string; data, 32 bytes): a hash of the block containing the transaction.
  * `blockNumber` (string; quantity): a number of the block containing the transaction.
  * `from` (string; data, 20 bytes): an address of the sender.
  * `to` (string; data, 20 bytes): an address of the receiver; null when it's a contract creation transaction.
  * `cumulativeGasUsed` (string; quantity): the total amount of gas used when this transaction was executed in the block.
  * `effectiveGasPrice` (string; quantity): the sum of the base fee and tip paid per unit of gas.
  * `gasUsed` (string; quantity): the amount of gas used by this specific transaction alone.
  * `contractAddress` (string; data, 20 bytes): the contract address created, if the transaction was a contract creation, otherwise null.
  * `logs` (array): an array of log objects, which this transaction generated.
  * `logsBloom` (string; data, 256 bytes): a bloom filter for light clients to quickly retrieve related logs.
  * `type` (string; data): the transaction type, `0x00` for legacy transactions, `0x01` for access list types, `0x02` for dynamic fees. It also returns either of the following:
    * `root` (string; data, 32 bytes): a post-transaction stateroot (pre Byzantium).
    * `status` (string; quantity): either 1 (success) or 0 (failure).

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getTransactionReceipt",
      "params": ["0x3a60664c2457e9035d5d705741ae8e3e3604257a39fa7641241ee292f45ec08d"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getTransactionReceipt",
    params: ["0x3a60664c2457e9035d5d705741ae8e3e3604257a39fa7641241ee292f45ec08d"],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getTransactionReceipt",
        "params": ["0x3a60664c2457e9035d5d705741ae8e3e3604257a39fa7641241ee292f45ec08d"],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "blockHash": "0x01d3cb71e5afc2f74191233e44143516fef6ad1c587face6e4640b724c704750",
        "blockNumber": "0x90a8041",
        "contractAddress": null,
        "cumulativeGasUsed": "0x0",
        "effectiveGasPrice": "0x4190ab00",
        "from": "0x6bb7272fb2d6949a2e75b3d9029d7da02f390206",
        "gasUsed": "0x523f",
        "logs": [],
        "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "status": "0x1",
        "to": "0x85bc29178bac07468b76078998f550861239c469",
        "transactionHash": "0x3a60664c2457e9035d5d705741ae8e3e3604257a39fa7641241ee292f45ec08d",
        "transactionIndex": "0x0",
        "type": "0x0"
    }
}
```

***

### `eth_getLogs`

> Returns all event logs matching an ad-hoc filter object, scoped by address, topics, and block range.

#### Parameters

* `id` (integer; required): a request ID (example: 1).
* `jsonrpc` (string; required): a JSON RPC spec used (example: 2.0).
* `method` (string; required): a method used for the request.
* `params` (array; required):
  1. `object`: the filter options:
     * `fromBlock` (string; quantity|tag; optional; default: "latest"): either the *block number* or one of the following *block tags*:
       * `latest`: for the last mined block.
       * `earliest`: for the lowest numbered block available on the client.
       * `pending`: for not yet mined transactions.
     * `toBlock` (string; quantity|tag; optional; default: "latest"): either the *block number* or one of the following *block tags*:
       * `latest`: for the last mined block.
       * `earliest`: for the lowest numbered block available on the client.
       * `pending`: for not yet mined transactions.
     * `address` (array of strings; data, 20 bytes; optional): a contract address or a list of addresses from which logs should originate.
     * `topics` (array of strings; data; optional): an array of 32 bytes data topics. Topics are order-dependent. Each topic can also be an array of data with "or" options.
     * `blockhash` (string; data, 32 bytes; optional; **future**): with the addition of EIP-234, `blockHash` will be a new filter option which restricts the logs returned to the single block with the 32-byte hash blockHash. Using blockHash is equivalent to `fromBlock = toBlock = the block` number with hash blockHash. If `blockHash` is present in the filter criteria, then neither `fromBlock` nor `toBlock` are allowed.

#### Returns

* `removed` (string; tag): `true` when the log was removed, due to a chain reorganization; `false` if it's a valid log.
* `logIndex` (string; quantity): the log index position in the block; null when it's a pending log.
* `transactionIndex` (string; quantity): the transactions index position log was created from; null when it's a pending log.
* `transactionHash` (string; data, 32 bytes): a hash of the transactions this log was created from; null when it's a pending log.
* `blockHash` (string; data, 32 bytes): a hash of the block containing the log; null when it's pending; null when it's a pending log.
* `blockNumber` (string; quantity): the number of the block containing the log; null when it's pending; null when it's a pending log.
* `address` (string; data, 20 bytes): an address from which this log originated.
* `data` (string; data): contains one or more 32 bytes non-indexed arguments of the log.
* `topics` (array of strings; data): an array of 0 to 4 32 bytes data of indexed log arguments. (In solidity: The first topic is the hash of the signature of the event (e.g. Deposit(address,bytes32,uint256)), except you declared the event with the anonymous specifier.)

#### Request example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_getLogs",
      "params": [
          {
              "fromBlock": "0x90A8041",
              "toBlock": "0x90A8042"
          }
      ],
      "id": 1
    }'
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_getLogs",
    params: [{"fromBlock": "0x90A8041", "toBlock": "0x90A8042"}],
    id: 1
  })
});
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.post(
    "https://rpc.crypto-chief.com/sei-evm/{YOUR_API_KEY}",
    json={
        "jsonrpc": "2.0",
        "method": "eth_getLogs",
        "params": [{"fromBlock": "0x90A8041", "toBlock": "0x90A8042"}],
        "id": 1
    }
)
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": [
        {
            "address": "0x2deecf2a05f735890eb3ea085d55cec8f1a93895",
            "topics": [
                "0xb5d3a20278dcec496e4b0d565c9b0189c3900d13410e23b2b22ee83016a3fcf8",
                "0x00000000000000000000000038eaae5673c5061c9e452a7bc337e770925dabd9"
            ],
            "data": "0x000000000000000000000000000000000000000000000000000000006849672f",
            "blockNumber": "0x90a8042",
            "transactionHash": "0x208979c07c17e8ea3c772586a9d56ebee293b7ed00834c96bfdc3ca3bdba744d",
            "transactionIndex": "0x1",
            "blockHash": "0xec4d15994a67e6424de009edee520228d79872478d564ff35280afa8b47546b7",
            "logIndex": "0x0",
            "removed": false
        },
        {
            "address": "0x2deecf2a05f735890eb3ea085d55cec8f1a93895",
            "topics": [
                "0xb5d3a20278dcec496e4b0d565c9b0189c3900d13410e23b2b22ee83016a3fcf8",
                "0x00000000000000000000000024724ceb10d29176625466628bb6d3f9e4904892"
            ],
            "data": "0x000000000000000000000000000000000000000000000000000000006849672f",
            "blockNumber": "0x90a8042",
            "transactionHash": "0x52c74b64954b01c3283f9506f6b176dfa8e40343270437bc9f0a9c4cf95f50ed",
            "transactionIndex": "0x2",
            "blockHash": "0xec4d15994a67e6424de009edee520228d79872478d564ff35280afa8b47546b7",
            "logIndex": "0x1",
            "removed": false
        }
    ]
}
```

***

### Tendermint JSON-RPC/REST methods

**Info — node information**:

* [`status`](#status) — retrieves Tendermint status including node info, pubkey, latest block hash, app hash, block height and time.
* [`net_info`](#net_info) — retrieves network info.
* [`blockchain`](#blockchain) — retrieves block headers (max: 20) for `minHeight <= height <= maxHeight`.
* [`block`](#block) — retrieves a block at a specified height.
* [`block_by_hash`](#block_by_hash) — retrieves a block by hash.
* [`block_results`](#block_results) — retrieves block results at a specified height.
* [`commit`](#commit) — retrieves commit results at a specified height.
* [`validators`](#validators) — retrieves a validator set at a specified height.
* [`genesis_chunked`](#genesis_chunked) — retrieves the Genesis in multiple chunks.
* [`dump_consensus_state`](#dump_consensus_state) — retrieves consensus state.
* [`consensus_state`](#consensus_state) — retrieves consensus state.
* [`consensus_params`](#consensus_params) — retrieves consensus parameters.
* [`unconfirmed_txs`](#unconfirmed_txs) — retrieves the list of unconfirmed transactions.
* [`num_unconfirmed_txs`](#num_unconfirmed_txs) — retrieves data about unconfirmed transactions.
* [`tx_search`](#tx_search) — searches for transactions.
* [`block_search`](#block_search) — searches for blocks by `BeginBlock` and `EndBlock` events.
* [`tx`](#tx) — retrieves transactions by hash.

**Tx — transactions broadcast information**:

* [`broadcast_tx_sync`](#broadcast_tx_sync) — returns with the response from `CheckTx`. Does not wait for `DeliverTx` result.
* [`broadcast_tx_async`](#broadcast_tx_async) — returns right away, with no response. Does not wait for `CheckTx` nor `DeliverTx` results.
* [`broadcast_tx_commit`](#broadcast_tx_commit) — returns with the responses from `CheckTx` and `DeliverTx`.
* [`check_tx`](#check_tx) — checks the transaction without executing it.

**ABCI — ABCI info**:

* [`abci_info`](#abci_info) — retrieves info about the application.
* [`abci_query`](#abci_query) — queries the application for some information.

***

### Information

#### `status`

> Retrieves Tendermint status including node info, pubkey, latest block hash, app hash, block height and time.

**Parameters**

None.

**Returns**

Status of the node.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "status",
      "params": [],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/status
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
    "node_info": {
        "protocol_version": {
            "p2p": "8",
            "block": "11",
            "app": "0"
        },
        "id": "f7628f970a504f59954f073d65671001a408b5da",
        "listen_addr": "45.250.253.81:29210",
        "network": "pacific-1",
        "version": "0.35.0-unreleased",
        "channels": "40202122233038606162630070717273",
        "moniker": "Ankr",
        "other": {
            "tx_index": "off",
            "rpc_address": "tcp://127.0.0.1:29211"
        }
    },
    "application_info": {
        "version": "8"
    },
    "sync_info": {
        "latest_block_hash": "567CCF80A233999FBB6CF97B0AA4F8D4FD44A5EDE1AE3C228511D8C98AC62CF2",
        "latest_app_hash": "70FFC418FC9780E1075B115AB22441DADB45F1BE67F769642F205D4B6ED67092",
        "latest_block_height": "30191943",
        "latest_block_time": "2023-10-05T13:18:58.805856021Z",
        "earliest_block_hash": "914496D8EAD67328E544949B4C508AB691837901DB676652F89AD60025AEFC06",
        "earliest_app_hash": "861D037323EA61AF6AB403C126F6892826B9C44F59ED5FB1568910D6923B67BD",
        "earliest_block_height": "29574999",
        "earliest_block_time": "2023-10-02T18:51:50.626034842Z",
        "max_peer_block_height": "30191926",
        "catching_up": false,
        "total_synced_time": "0",
        "remaining_time": "0",
        "total_snapshots": "0",
        "chunk_process_avg_time": "0",
        "snapshot_height": "0",
        "snapshot_chunks_count": "0",
        "snapshot_chunks_total": "0",
        "backfilled_blocks": "0",
        "backfill_blocks_total": "0"
    },
    "validator_info": {
        "address": "2602B589666DD6F3D0FB9DD4414ED39C0FEEE385",
        "pub_key": {
            "type": "tendermint/PubKeyEd25519",
            "value": "qvHCe2sqN9VJRl/cDAF36LnNXbktLVR1zqnj0d7zt1I="
        },
        "voting_power": "0"
    }
}
```

***

#### `net_info`

> Retrieves network info.

**Parameters**

None.

**Returns**

Network info.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "net_info",
      "params": [],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/net_info
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "id": 0,
  "jsonrpc": "2.0",
  "result": {
    "listening": true,
    "listeners": [
      "Listener(@)"
    ],
    "n_peers": "1",
    "peers": [
      {
        "node_info": {
          "protocol_version": {
            "p2p": "7",
            "block": "10",
            "app": "0"
          },
          "id": "5576458aef205977e18fd50b274e9b5d9014525a",
          "listen_addr": "tcp:0.0.0.0:26656",
          "network": "cosmoshub-2",
          "version": "0.32.1",
          "channels": "4020212223303800",
          "moniker": "moniker-node",
          "other": {
            "tx_index": "on",
            "rpc_address": "tcp:0.0.0.0:26657"
          }
        },
        "is_outbound": true,
        "connection_status": {
          "Duration": "168901057956119",
          "SendMonitor": {
            "Active": true,
            "Start": "2019-07-31T14:31:28.66Z",
            "Duration": "168901060000000",
            "Idle": "168901040000000",
            "Bytes": "5",
            "Samples": "1",
            "InstRate": "0",
            "CurRate": "0",
            "AvgRate": "0",
            "PeakRate": "0",
            "BytesRem": "0",
            "TimeRem": "0",
            "Progress": 0
          },
          "RecvMonitor": {
            "Active": true,
            "Start": "2019-07-31T14:31:28.66Z",
            "Duration": "168901060000000",
            "Idle": "168901040000000",
            "Bytes": "5",
            "Samples": "1",
            "InstRate": "0",
            "CurRate": "0",
            "AvgRate": "0",
            "PeakRate": "0",
            "BytesRem": "0",
            "TimeRem": "0",
            "Progress": 0
          },
          "Channels": [
            {
              "ID": 48,
              "SendQueueCapacity": "1",
              "SendQueueSize": "0",
              "Priority": "5",
              "RecentlySent": "0"
            }
          ]
        },
        "remote_ip": "95.179.155.35"
      }
    ]
  }
}
```

***

#### `blockchain`

> Retrieves block headers for `minHeight <= height <= maxHeight`.

At most 20 items will return for the `minHeight` or `maxHeight` parameters specified. If `maxHeight` does not yet exist, the blocks up to the current height will return. If `minHeight` does not exist (pruning), the earliest existing height will be used.

**Parameters**

* `minHeight` (integer): the minimum block height to return.
* `maxHeight` (integer): the maximum block height to return.

**Returns**

Block headers, in descending order (highest first).

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "blockchain",
      "params": ["1", "2"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/blockchain?minHeight=1&maxHeight=2
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "id": 0,
  "jsonrpc": "2.0",
  "result": {
    "last_height": "1276718",
    "block_metas": [
      {
        "block_id": {
          "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
          "parts": {
            "total": 1,
            "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
          }
        },
        "block_size": 1000000,
        "header": {
          "version": {
            "block": "10",
            "app": "0"
          },
          "chain_id": "cosmoshub-2",
          "height": "12",
          "time": "2019-04-22T17:01:51.701356223Z",
          "last_block_id": {
            "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
            "parts": {
              "total": 1,
              "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
            }
          },
          "last_commit_hash": "21B9BC845AD2CB2C4193CDD17BFC506F1EBE5A7402E84AD96E64171287A34812",
          "data_hash": "970886F99E77ED0D60DA8FCE0447C2676E59F2F77302B0C4AA10E1D02F18EF73",
          "validators_hash": "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0",
          "next_validators_hash": "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0",
          "consensus_hash": "0F2908883A105C793B74495EB7D6DF2EEA479ED7FC9349206A65CB0F9987A0B8",
          "app_hash": "223BF64D4A01074DC523A80E76B9BBC786C791FB0A1893AC5B14866356FCFD6C",
          "last_results_hash": "",
          "evidence_hash": "",
          "proposer_address": "D540AB022088612AC74B287D076DBFBC4A377A2E"
        },
        "num_txs": "54"
      }
    ]
  }
}
```

***

#### `block`

> Retrieves a block at a specified height.

**Parameters**

* `height` (integer; default: 0): the height to return. If no height is provided, the latest block is to be fetched.

**Returns**

Block information.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "block",
      "params": ["1"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/blockchain?height=1
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "id": 0,
  "jsonrpc": "2.0",
  "result": {
    "block_id": {
      "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
      "parts": {
        "total": 1,
        "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
      }
    },
    "block": {
      "header": {
        "version": {
          "block": "10",
          "app": "0"
        },
        "chain_id": "cosmoshub-2",
        "height": "12",
        "time": "2019-04-22T17:01:51.701356223Z",
        "last_block_id": {
          "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
          "parts": {
            "total": 1,
            "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
          }
        },
        "last_commit_hash": "21B9BC845AD2CB2C4193CDD17BFC506F1EBE5A7402E84AD96E64171287A34812",
        "data_hash": "970886F99E77ED0D60DA8FCE0447C2676E59F2F77302B0C4AA10E1D02F18EF73",
        "validators_hash": "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0",
        "next_validators_hash": "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0",
        "consensus_hash": "0F2908883A105C793B74495EB7D6DF2EEA479ED7FC9349206A65CB0F9987A0B8",
        "app_hash": "223BF64D4A01074DC523A80E76B9BBC786C791FB0A1893AC5B14866356FCFD6C",
        "last_results_hash": "",
        "evidence_hash": "",
        "proposer_address": "D540AB022088612AC74B287D076DBFBC4A377A2E"
      },
      "data": [
        "yQHwYl3uCkKoo2GaChRnd+THLQ2RM87nEZrE19910Z28ABIUWW/t8AtIMwcyU0sT32RcMDI9GF0aEAoFdWF0b20SBzEwMDAwMDASEwoNCgV1YXRvbRIEMzEwMRCd8gEaagom61rphyEDoJPxlcjRoNDtZ9xMdvs+lRzFaHe2dl2P5R2yVCWrsHISQKkqX5H1zXAIJuC57yw0Yb03Fwy75VRip0ZBtLiYsUqkOsPUoQZAhDNP+6LY+RUwz/nVzedkF0S29NZ32QXdGv0="
      ],
      "evidence": [
        {
          "type": "string",
          "height": 0,
          "time": 0,
          "total_voting_power": 0,
          "validator": {
            "pub_key": {
              "type": "tendermint/PubKeyEd25519",
              "value": "A6DoBUypNtUAyEHWtQ9bFjfNg8Bo9CrnkUGl6k6OHN4="
            },
            "voting_power": 0,
            "address": "string"
          }
        }
      ],
      "last_commit": {
        "height": 0,
        "round": 0,
        "block_id": {
          "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
          "parts": {
            "total": 1,
            "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
          }
        },
        "signatures": [
          {
            "type": 2,
            "height": "1262085",
            "round": 0,
            "block_id": {
              "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
              "parts": {
                "total": 1,
                "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
              }
            },
            "timestamp": "2019-08-01T11:39:38.867269833Z",
            "validator_address": "000001E443FD237E4B616E2FA69DF4EE3D49A94F",
            "validator_index": 0,
            "signature": "DBchvucTzAUEJnGYpNvMdqLhBAHG4Px8BsOBB3J3mAFCLGeuG7uJqy+nVngKzZdPhPi8RhmE/xcw/M9DOJjEDg=="
          }
        ]
      }
    }
  }
}
```

***

#### `block_by_hash`

> Retrieves a block by hash.

**Parameters**

* `hash` (string; required): a block hash.

**Returns**

Block information.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "block_by_hash",
      "params": ["0xD70952032620CC4E2737EB8AC379806359D8E0B17B0488F627997A0B043ABDED"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/block_by_hash?hash=0xD70952032620CC4E2737EB8AC379806359D8E0B17B0488F627997A0B043ABDED
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "id": 0,
  "jsonrpc": "2.0",
  "result": {
    "block_id": {
      "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
      "parts": {
        "total": 1,
        "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
      }
    },
    "block": {
      "header": {
        "version": {
          "block": "10",
          "app": "0"
        },
        "chain_id": "cosmoshub-2",
        "height": "12",
        "time": "2019-04-22T17:01:51.701356223Z",
        "last_block_id": {
          "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
          "parts": {
            "total": 1,
            "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
          }
        },
        "last_commit_hash": "21B9BC845AD2CB2C4193CDD17BFC506F1EBE5A7402E84AD96E64171287A34812",
        "data_hash": "970886F99E77ED0D60DA8FCE0447C2676E59F2F77302B0C4AA10E1D02F18EF73",
        "validators_hash": "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0",
        "next_validators_hash": "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0",
        "consensus_hash": "0F2908883A105C793B74495EB7D6DF2EEA479ED7FC9349206A65CB0F9987A0B8",
        "app_hash": "223BF64D4A01074DC523A80E76B9BBC786C791FB0A1893AC5B14866356FCFD6C",
        "last_results_hash": "",
        "evidence_hash": "",
        "proposer_address": "D540AB022088612AC74B287D076DBFBC4A377A2E"
      },
      "data": [
        "yQHwYl3uCkKoo2GaChRnd+THLQ2RM87nEZrE19910Z28ABIUWW/t8AtIMwcyU0sT32RcMDI9GF0aEAoFdWF0b20SBzEwMDAwMDASEwoNCgV1YXRvbRIEMzEwMRCd8gEaagom61rphyEDoJPxlcjRoNDtZ9xMdvs+lRzFaHe2dl2P5R2yVCWrsHISQKkqX5H1zXAIJuC57yw0Yb03Fwy75VRip0ZBtLiYsUqkOsPUoQZAhDNP+6LY+RUwz/nVzedkF0S29NZ32QXdGv0="
      ],
      "evidence": [
        {
          "type": "string",
          "height": 0,
          "time": 0,
          "total_voting_power": 0,
          "validator": {
            "pub_key": {
              "type": "tendermint/PubKeyEd25519",
              "value": "A6DoBUypNtUAyEHWtQ9bFjfNg8Bo9CrnkUGl6k6OHN4="
            },
            "voting_power": 0,
            "address": "string"
          }
        }
      ],
      "last_commit": {
        "height": 0,
        "round": 0,
        "block_id": {
          "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
          "parts": {
            "total": 1,
            "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
          }
        },
        "signatures": [
          {
            "type": 2,
            "height": "1262085",
            "round": 0,
            "block_id": {
              "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
              "parts": {
                "total": 1,
                "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
              }
            },
            "timestamp": "2019-08-01T11:39:38.867269833Z",
            "validator_address": "000001E443FD237E4B616E2FA69DF4EE3D49A94F",
            "validator_index": 0,
            "signature": "DBchvucTzAUEJnGYpNvMdqLhBAHG4Px8BsOBB3J3mAFCLGeuG7uJqy+nVngKzZdPhPi8RhmE/xcw/M9DOJjEDg=="
          }
        ]
      }
    }
  }
}
```

***

#### `block_results`

> Retrieves block results at a specified height.

**Parameters**

* `height` (integer; default: 0): the height to return. If no height is provided, the latest block info is to be fetched.

**Returns**

Block results.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "block_results",
      "params": ["1"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/block_results?height=1
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "height": "12",
    "txs_results": [
      {
        "code": "0",
        "data": "",
        "log": "not enough gas",
        "info": "",
        "gas_wanted": "100",
        "gas_used": "100",
        "events": [
          {
            "type": "app",
            "attributes": [
              {
                "key": "YWN0aW9u",
                "value": "c2VuZA==",
                "index": false
              }
            ]
          }
        ],
        "codespace": "ibc"
      }
    ],
    "begin_block_events": [
      {
        "type": "app",
        "attributes": [
          {
            "key": "YWN0aW9u",
            "value": "c2VuZA==",
            "index": false
          }
        ]
      }
    ],
    "end_block": [
      {
        "type": "app",
        "attributes": [
          {
            "key": "YWN0aW9u",
            "value": "c2VuZA==",
            "index": false
          }
        ]
      }
    ],
    "validator_updates": [
      {
        "pub_key": {
          "type": "tendermint/PubKeyEd25519",
          "value": "9tK9IT+FPdf2qm+5c2qaxi10sWP+3erWTKgftn2PaQM="
        },
        "power": "300"
      }
    ],
    "consensus_params_updates": {
      "block": {
        "max_bytes": "22020096",
        "max_gas": "1000",
        "time_iota_ms": "1000"
      },
      "evidence": {
        "max_age": "100000"
      },
      "validator": {
        "pub_key_types": [
          "ed25519"
        ]
      }
    }
  }
}
```

***

#### `commit`

> Retrieves commit results at a specified height.

**Parameters**

* `height` (integer; default: 0): the height to return. If no height is provided, the latest block commit info is to be fetched.

**Returns**

Commit results. Canonical switches from false to true for block H once block H+1 has been committed, until then it's subjective and only reflects what this node has seen so far.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "commit",
      "params": ["1"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/commit?height=1
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "signed_header": {
      "header": {
        "version": {
          "block": "10",
          "app": "0"
        },
        "chain_id": "cosmoshub-2",
        "height": "12",
        "time": "2019-04-22T17:01:51.701356223Z",
        "last_block_id": {
          "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
          "parts": {
            "total": 1,
            "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
          }
        },
        "last_commit_hash": "21B9BC845AD2CB2C4193CDD17BFC506F1EBE5A7402E84AD96E64171287A34812",
        "data_hash": "970886F99E77ED0D60DA8FCE0447C2676E59F2F77302B0C4AA10E1D02F18EF73",
        "validators_hash": "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0",
        "next_validators_hash": "D658BFD100CA8025CFD3BECFE86194322731D387286FBD26E059115FD5F2BCA0",
        "consensus_hash": "0F2908883A105C793B74495EB7D6DF2EEA479ED7FC9349206A65CB0F9987A0B8",
        "app_hash": "223BF64D4A01074DC523A80E76B9BBC786C791FB0A1893AC5B14866356FCFD6C",
        "last_results_hash": "",
        "evidence_hash": "",
        "proposer_address": "D540AB022088612AC74B287D076DBFBC4A377A2E"
      },
      "commit": {
        "height": "1311801",
        "round": 0,
        "block_id": {
          "hash": "112BC173FD838FB68EB43476816CD7B4C6661B6884A9E357B417EE957E1CF8F7",
          "parts": {
            "total": 1,
            "hash": "38D4B26B5B725C4F13571EFE022C030390E4C33C8CF6F88EDD142EA769642DBD"
          }
        },
        "signatures": [
          {
            "block_id_flag": 2,
            "validator_address": "000001E443FD237E4B616E2FA69DF4EE3D49A94F",
            "timestamp": "2019-04-22T17:01:58.376629719Z",
            "signature": "14jaTQXYRt8kbLKEhdHq7AXycrFImiLuZx50uOjs2+Zv+2i7RTG/jnObD07Jo2ubZ8xd7bNBJMqkgtkd0oQHAw=="
          }
        ]
      }
    },
    "canonical": true
  }
}
```

***

#### `validators`

> Retrieves a validator set at a specified height.

Validators are sorted by voting power.

**Parameters**

* `height` (integer; default: 0): the height to return. If no height is provided, the validator set corresponding to the latest block is to be fetched.
* `page` (integer; default: 1): a page number (1-based).
* `per_page` (integer; default: 30; max: 100): a number of entries per page.

**Returns**

Commit results.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "validators",
      "params": ["1","1","30"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/validators?height=1&page=2&per_page=30curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/validators?height=1&page=2&per_page=30
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "block_height": "55",
    "validators": [
      {
        "address": "000001E443FD237E4B616E2FA69DF4EE3D49A94F",
        "pub_key": {
          "type": "tendermint/PubKeyEd25519",
          "value": "9tK9IT+FPdf2qm+5c2qaxi10sWP+3erWTKgftn2PaQM="
        },
        "voting_power": "239727",
        "proposer_priority": "-11896414"
      }
    ],
    "count": "1",
    "total": "25"
  }
}
```

***

#### `genesis_chunked`

> Retrieves Genesis in multiple chunks.

Gets genesis document in multiple chunks to make it easier to iterate through larger genesis structures. Each chunk is produced by converting the genesis document to JSON and then splitting the resulting payload into 16MB blocks, and then Base64-encoding each block.

**Parameters**

* `chunk` (integer; default: 0): a sequence number of the chunk to download.

**Returns**

A Genesis chunk response.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "genesis_chunked",
      "params": ["1"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/genesis_chunked?chunk=1
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "chunk": 0,
    "total": 1,
    "data": "Z2VuZXNpcwo="
  }
}
```

***

#### `dump_consensus_state`

> Retrieves consensus state.

Not safe to call from inside the ABCI application during a block execution.

**Parameters**

None.

**Returns**

A complete consensus state. See the [Vote string description](https://pkg.go.dev/github.com/tendermint/tendermint/types?tab=doc#Vote.String).

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "dump_consensus_state",
      "params": [],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/dump_consensus_state
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "round_state": {
      "height": "1311801",
      "round": 0,
      "step": 3,
      "start_time": "2019-08-05T11:28:49.064658805Z",
      "commit_time": "2019-08-05T11:28:44.064658805Z",
      "validators": {
        "validators": [
          {
            "address": "000001E443FD237E4B616E2FA69DF4EE3D49A94F",
            "pub_key": {
              "type": "tendermint/PubKeyEd25519",
              "value": "9tK9IT+FPdf2qm+5c2qaxi10sWP+3erWTKgftn2PaQM="
            },
            "voting_power": "239727",
            "proposer_priority": "-11896414"
          }
        ],
        "proposer": {
          "address": "000001E443FD237E4B616E2FA69DF4EE3D49A94F",
          "pub_key": {
            "type": "tendermint/PubKeyEd25519",
            "value": "9tK9IT+FPdf2qm+5c2qaxi10sWP+3erWTKgftn2PaQM="
          },
          "voting_power": "239727",
          "proposer_priority": "-11896414"
        }
      },
      "locked_round": -1,
      "valid_round": "-1",
      "votes": [
        {
          "round": "0",
          "prevotes": [
            "nil-Vote",
            "Vote{19:46A3F8B8393B 1311801/00/1(Prevote) 000000000000 64CE682305CB @ 2019-08-05T11:28:47.374703444Z}"
          ],
          "prevotes_bit_array": "BA{100:___________________x________________________________________________________________________________} 209706/170220253 = 0.00",
          "precommits": [
            "nil-Vote"
          ],
          "precommits_bit_array": "BA{100:____________________________________________________________________________________________________} 0/170220253 = 0.00"
        }
      ],
      "commit_round": -1,
      "last_commit": {
        "votes": [
          "Vote{0:000001E443FD 1311800/00/2(Precommit) 3071ADB27D1A 77EE1B6B6847 @ 2019-08-05T11:28:43.810128139Z}"
        ],
        "votes_bit_array": "BA{100:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} 170220253/170220253 = 1.00",
        "peer_maj_23s": {}
      },
      "last_validators": {
        "validators": [
          {
            "address": "000001E443FD237E4B616E2FA69DF4EE3D49A94F",
            "pub_key": {
              "type": "tendermint/PubKeyEd25519",
              "value": "9tK9IT+FPdf2qm+5c2qaxi10sWP+3erWTKgftn2PaQM="
            },
            "voting_power": "239727",
            "proposer_priority": "-11896414"
          }
        ],
        "proposer": {
          "address": "000001E443FD237E4B616E2FA69DF4EE3D49A94F",
          "pub_key": {
            "type": "tendermint/PubKeyEd25519",
            "value": "9tK9IT+FPdf2qm+5c2qaxi10sWP+3erWTKgftn2PaQM="
          },
          "voting_power": "239727",
          "proposer_priority": "-11896414"
        }
      },
      "triggered_timeout_precommit": false
    },
    "peers": [
      {
        "node_address": "357f6a6c1d27414579a8185060aa8adf9815c43c@68.183.41.207:26656",
        "peer_state": {
          "round_state": {
            "height": "1311801",
            "round": "0",
            "step": 3,
            "start_time": "2019-08-05T11:28:49.21730864Z",
            "proposal": false,
            "proposal_block_parts_header": {
              "total": 0,
              "hash": ""
            },
            "proposal_pol_round": -1,
            "proposal_pol": "____________________________________________________________________________________________________",
            "prevotes": "___________________x________________________________________________________________________________",
            "precommits": "____________________________________________________________________________________________________",
            "last_commit_round": 0,
            "last_commit": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            "catchup_commit_round": -1,
            "catchup_commit": "____________________________________________________________________________________________________"
          },
          "stats": {
            "votes": "1159558",
            "block_parts": "4786"
          }
        }
      }
    ]
  }
}
```

***

#### `consensus_state`

> Retrieves consensus state.

Not safe to call from inside the ABCI application during a block execution.

**Parameters**

None.

**Returns**

Consensus state results.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "consensus_state",
      "params": [],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/consensus_state
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "round_state": {
      "height/round/step": "1262197/0/8",
      "start_time": "2019-08-01T11:52:38.962730289Z",
      "proposal_block_hash": "634ADAF1F402663BEC2ABC340ECE8B4B45AA906FA603272ACC5F5EED3097E009",
      "locked_block_hash": "634ADAF1F402663BEC2ABC340ECE8B4B45AA906FA603272ACC5F5EED3097E009",
      "valid_block_hash": "634ADAF1F402663BEC2ABC340ECE8B4B45AA906FA603272ACC5F5EED3097E009",
      "height_vote_set": [
        {
          "round": 0,
          "prevotes": [
            "Vote{0:000001E443FD 1262197/00/1(Prevote) 634ADAF1F402 7BB974E1BA40 @ 2019-08-01T11:52:35.513572509Z}",
            "nil-Vote"
          ],
          "prevotes_bit_array": "BA{100:xxxxxxxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} 169753436/170151262 = 1.00",
          "precommits": [
            "Vote{5:18C78D135C9D 1262197/00/2(Precommit) 634ADAF1F402 8B5EFFFEABCD @ 2019-08-01T11:52:36.25600005Z}",
            "nil-Vote"
          ],
          "precommits_bit_array": "BA{100:xxxxxx_xxxxx_xxxx_x_xxx_xx_xx_xx__x_x_x__xxxxxxxxxxxxxx_xxxx_xx_xxxxxx_xxxxxxxx_xxxx_xxx_x_xxxx__xxx} 118726247/170151262 = 0.70"
        }
      ],
      "proposer": {
        "address": "D540AB022088612AC74B287D076DBFBC4A377A2E",
        "index": 0
      }
    }
  }
}
```

***

#### `consensus_params`

> Retrieves consensus parameters.

**Parameters**

* `height` (integer; default: 0): the height to return. If no height is provided, the latest block commit info is to be returned.

**Returns**

Consensus parameters results.

**Request parameters**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "consensus_params",
      "params": ["1"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/consensus_params?height=1
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "block_height": "1",
    "consensus_params": {
      "block": {
        "max_bytes": "22020096",
        "max_gas": "1000",
        "time_iota_ms": "1000"
      },
      "evidence": {
        "max_age": "100000"
      },
      "validator": {
        "pub_key_types": [
          "ed25519"
        ]
      }
    }
  }
}
```

***

#### `unconfirmed_txs`

> Retrieves the list of unconfirmed transactions.

**Parameters**

* `limit` (integer; default: 30; max: 100): the maximum number of unconfirmed transactions to return.

**Returns**

The list of unconfirmed transactions.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "unconfirmed_txs",
      "params": ["1"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/unconfirmed_txs?limit=1
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "n_txs": "82",
    "total": "82",
    "total_bytes": "19974",
    "txs": [
      "gAPwYl3uCjCMTXENChSMnIkb5ZpYHBKIZqecFEV2tuZr7xIUA75/FmYq9WymsOBJ0XSJ8yV8zmQKMIxNcQ0KFIyciRvlmlgcEohmp5wURXa25mvvEhQbrvwbvlNiT+Yjr86G+YQNx7kRVgowjE1xDQoUjJyJG+WaWBwSiGannBRFdrbma+8SFK2m+1oxgILuQLO55n8mWfnbIzyPCjCMTXENChSMnIkb5ZpYHBKIZqecFEV2tuZr7xIUQNGfkmhTNMis4j+dyMDIWXdIPiYKMIxNcQ0KFIyciRvlmlgcEohmp5wURXa25mvvEhS8sL0D0wwgGCItQwVowak5YB38KRIUCg4KBXVhdG9tEgUxMDA1NBDoxRgaagom61rphyECn8x7emhhKdRCB2io7aS/6Cpuq5NbVqbODmqOT3jWw6kSQKUresk+d+Gw0BhjiggTsu8+1voW+VlDCQ1GRYnMaFOHXhyFv7BCLhFWxLxHSAYT8a5XqoMayosZf9mANKdXArA="
    ]
  }
}
```

***

#### `num_unconfirmed_txs`

> Retrieves data on unconfirmed transactions.

**Parameters**

None.

**Returns**

The status of unconfirmed transactions.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "num_unconfirmed_txs",
      "params": [],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/num_unconfirmed_txs
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "n_txs": "31",
    "total": "82",
    "total_bytes": "19974"
  }
}
```

***

#### `tx_search`

> Searches for transactions with their results.

**Parameters**

* `query` (string; required): query is a string, which has a form: "condition AND condition ..." (no OR at the moment). condition has a form: "key operation operand". key is a string with a restricted set of possible symbols ( \t\n\r()"'=>< are not allowed). operation can be `=`, `<`, `<=`, `>`, `>=`, `CONTAINS`. An operand can be a string (escaped with single quotes), number, date, or time.
* `prove` (boolean; default: false): adds proofs of the transactions inclusion in the block.
* `page` (integer; default: 1): a page number (1-based).
* `per_page` (integer; default: 30, max: 100): a number of entries per page.
* `order_by` (string; default: asc): the order in which transactions are sorted (`asc` or `desc`), by height & index. If empty, default sorting still applies.
* `match_events` (boolean; default: false): match attributes in query within events, in addition to the height and txhash.

**Returns**

The list of unconfirmed transactions.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "tx_search",
      "params": ["4D2000", true, "1", "30", "asc"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/tx_search?query=tx.height%4D2000&prove=true&page=1&per_page=30&order_by=asc
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "txs": [
      {
        "hash": "D70952032620CC4E2737EB8AC379806359D8E0B17B0488F627997A0B043ABDED",
        "height": "1000",
        "index": 0,
        "tx_result": {
          "log": "[{\"msg_index\":\"0\",\"success\":true,\"log\":\"\"}]",
          "gas_wanted": "200000",
          "gas_used": "28596",
          "tags": {
            "key": "YWN0aW9u",
            "value": "c2VuZA==",
            "index": false
          }
        },
        "tx": "5wHwYl3uCkaoo2GaChQmSIu8hxpJxLcCuIi8fiHN4TMwrRIU/Af1cEG7Rcs/6LjTl7YjRSymJfYaFAoFdWF0b20SCzE0OTk5OTk1MDAwEhMKDQoFdWF0b20SBDUwMDAQwJoMGmoKJuta6YchAwswBShaB1wkZBctLIhYqBC3JrAI28XGzxP+rVEticGEEkAc+khTkKL9CDE47aDvjEHvUNt+izJfT4KVF2v2JkC+bmlH9K08q3PqHeMI9Z5up+XMusnTqlP985KF+SI5J3ZOIhhNYWRlIGJ5IENpcmNsZSB3aXRoIGxvdmU=",
        "proof": {
          "RootHash": "72FE6BF6D4109105357AECE0A82E99D0F6288854D16D8767C5E72C57F876A14D",
          "Data": "5wHwYl3uCkaoo2GaChQmSIu8hxpJxLcCuIi8fiHN4TMwrRIU/Af1cEG7Rcs/6LjTl7YjRSymJfYaFAoFdWF0b20SCzE0OTk5OTk1MDAwEhMKDQoFdWF0b20SBDUwMDAQwJoMGmoKJuta6YchAwswBShaB1wkZBctLIhYqBC3JrAI28XGzxP+rVEticGEEkAc+khTkKL9CDE47aDvjEHvUNt+izJfT4KVF2v2JkC+bmlH9K08q3PqHeMI9Z5up+XMusnTqlP985KF+SI5J3ZOIhhNYWRlIGJ5IENpcmNsZSB3aXRoIGxvdmU=",
          "Proof": {
            "total": "2",
            "index": "0",
            "leaf_hash": "eoJxKCzF3m72Xiwb/Q43vJ37/2Sx8sfNS9JKJohlsYI=",
            "aunts": [
              "eWb+HG/eMmukrQj4vNGyFYb3nKQncAWacq4HF5eFzDY="
            ]
          }
        }
      }
    ],
    "total_count": "2"
  }
}
```

***

#### `block_search`

> Searches for blocks by `BeginBlock` and `EndBlock` events.

**Parameters**

* `query` (string; required): query is a string, which has a form: "condition AND condition ..." (no OR at the moment). condition has a form: "key operation operand". key is a string with a restricted set of possible symbols ( \t\n\r()"'=>< are not allowed). operation can be `=`, `<`, `<=`, `>`, `>=`, `CONTAINS`. An operand can be a string (escaped with single quotes), number, date, or time.
* `page` (integer; default: 1): a page number (1-based).
* `per_page` (integer; default: 30, max: 100): a number of entries per page.
* `order_by` (string; default: asc): the order in which transactions are sorted (`asc` or `desc`), by height & index. If empty, default sorting still applies.
* `match_events` (boolean; default: false): match attributes in query within events, in addition to the height.

**Returns**

The list of paginated blocks matching the search criteria.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "block_search",
      "params": ["4D2000", "1", "30", "asc"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/block_search?query=block.height%4D2000&page=1&per_page=30&order_by=asc
```

{% endtab %}
{% endtabs %}

**Response example**

```json
No example available
```

***

#### `tx`

> Returns information about a transaction from the ledger using its hash.

**Parameters**

* `hash` (string; required): a hash of a transaction to retrieve.
* `prove` (boolean; default: false): adds proofs of the transaction's inclusion in the block.

**Returns**

Transaction info.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "tx",
      "params": ["0xD70952032620CC4E2737EB8AC379806359D8E0B17B0488F627997A0B043ABDED", true],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/tx?hash=0xD70952032620CC4E2737EB8AC379806359D8E0B17B0488F627997A0B043ABDED&prove=true
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "hash": "D70952032620CC4E2737EB8AC379806359D8E0B17B0488F627997A0B043ABDED",
    "height": "1000",
    "index": 0,
    "tx_result": {
      "log": "[{\"msg_index\":\"0\",\"success\":true,\"log\":\"\"}]",
      "gas_wanted": "200000",
      "gas_used": "28596",
      "tags": [
        {
          "key": "YWN0aW9u",
          "value": "c2VuZA==",
          "index": false
        }
      ]
    },
    "tx": "5wHwYl3uCkaoo2GaChQmSIu8hxpJxLcCuIi8fiHN4TMwrRIU/Af1cEG7Rcs/6LjTl7YjRSymJfYaFAoFdWF0b20SCzE0OTk5OTk1MDAwEhMKDQoFdWF0b20SBDUwMDAQwJoMGmoKJuta6YchAwswBShaB1wkZBctLIhYqBC3JrAI28XGzxP+rVEticGEEkAc+khTkKL9CDE47aDvjEHvUNt+izJfT4KVF2v2JkC+bmlH9K08q3PqHeMI9Z5up+XMusnTqlP985KF+SI5J3ZOIhhNYWRlIGJ5IENpcmNsZSB3aXRoIGxvdmU="
  }
}
```

***

### Transactions

#### `broadcast_tx_sync`

> Returns with the response from `CheckTx`. Does not wait for `DeliverTx` result.

If you want to be sure that the transaction is included in a block, you can subscribe for the result using JSONRPC via a websocket. See <https://docs.tendermint.com/v0.34/app-dev/subscribing-to-events-via-websocket.html> If you haven't received anything after a couple of blocks, resend it. If the same happens again, send it to some other node. A few reasons why it could happen:

1. A malicious node drops or pretends it has committed your tx.
2. A malicious proposer (not necessary the one you're communicating with) drops transactions, which might become valid in the future ([tendermint/tendermint#3322](https://github.com/tendermint/tendermint/issues/3322)).

Please refer to [Tendermint docs](https://docs.tendermint.com/v0.34/tendermint-core/using-tendermint.html#formatting) for formatting/encoding rules.

#### Parameters

* `tx` (string; required): the transaction.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "broadcast_tx_sync",
      "params": ["456"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/broadcast_tx_sync?tx=456
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "code": "0",
    "data": "",
    "log": "",
    "codespace": "ibc",
    "hash": "0D33F2F03A5234F38706E43004489E061AC40A2E"
  },
  "error": ""
}
```

***

#### `broadcast_tx_async`

> Returns right away, with no response. Does not wait for `CheckTx` nor `DeliverTx` results.

If you want to be sure that the transaction is included in a block, you can subscribe for the result using JSONRPC via a websocket. See <https://docs.tendermint.com/v0.34/app-dev/subscribing-to-events-via-websocket.html> If you haven't received anything after a couple of blocks, resend it. If the same happens again, send it to some other node. A few reasons why it could happen:

1. A malicious node drops or pretends it has committed your tx.
2. A malicious proposer (not necessary the one you're communicating with) drops transactions, which might become valid in the future ([tendermint/tendermint#3322](https://github.com/tendermint/tendermint/issues/3322)).
3. A node is offline.

Please refer to [Tendermint docs](https://docs.tendermint.com/v0.34/tendermint-core/using-tendermint.html#formatting) for formatting/encoding rules.

**Parameters**

* `tx` (string; required): the transaction.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "broadcast_tx_async",
      "params": ["123"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/broadcast_tx_async?tx=123
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "jsonrpc": "2.0",
  "id": 0,
  "result": {
    "code": "0",
    "data": "",
    "log": "",
    "codespace": "ibc",
    "hash": "0D33F2F03A5234F38706E43004489E061AC40A2E"
  },
  "error": ""
}
```

***

#### `broadcast_tx_commit`

> Returns with the responses from `CheckTx` and `DeliverTx`.

Use only for testing and development. In production, use \`BroadcastTxSync\` or \`BroadcastTxAsync\`. You can subscribe for the transaction result using JSONRPC via a websocket (see \[Tendermint docs]\(<https://docs.tendermint.com/v0.34/app-dev/subscribing-to-events-via-websocket.html>)). CONTRACT: only returns error if \`mempool.CheckTx()\` errs or if we timeout waiting for tx to commit. If \`CheckTx\` or \`DeliverTx\` fails, no error will be returned, but the result will contain a non-OK ABCI code. Please refer to \[Tendermint docs]\(<https://docs.tendermint.com/v0.34/tendermint-core/using-tendermint.html#formatting>) for formatting/encoding rules.

**Parameters**<br>

* `tx` (string; required): the transaction.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "broadcast_tx_commit",
      "params": ["785"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/broadcast_tx_commit?tx=785
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "error": "",
  "result": {
    "height": "26682",
    "hash": "75CA0F856A4DA078FC4911580360E70CEFB2EBEE",
    "deliver_tx": {
      "log": "",
      "data": "",
      "code": "0"
    },
    "check_tx": {
      "log": "",
      "data": "",
      "code": "0"
    }
  },
  "id": 0,
  "jsonrpc": "2.0"
}
```

***

#### `check_tx`

> Checks the transaction without executing it.

The transaction won't be added to the mempool.

Please refer to [Tendermint docs](https://docs.tendermint.com/v0.34/tendermint-core/using-tendermint.html#formatting) for formatting/encoding rules.

**Parameters**

* `tx` (string; required): the transaction.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "check_tx",
      "params": ["785"],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/check_tx?tx=785
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "error": "",
  "result": {
    "code": "0",
    "data": "",
    "log": "",
    "info": "",
    "gas_wanted": "1",
    "gas_used": "0",
    "events": [
      {
        "type": "app",
        "attributes": [
          {
            "key": "YWN0aW9u",
            "value": "c2VuZA==",
            "index": false
          }
        ]
      }
    ],
    "codespace": "bank"
  },
  "id": 0,
  "jsonrpc": "2.0"
}
```

***

### ABCI

#### `abci_info`

> Retrieves application info.

**Parameters**

None.

**Returns**

Application info.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "abci_info",
      "params": [],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/abci_info
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "response": {
            "data": "secret",
            "version": "1.6.1",
            "last_block_height": "7690381",
            "last_block_app_hash": "J1tJC9R3q3cNzkDcI7ipyi9NuZ8XUVbMyy7B42TPWuc="
        }
    }
}
```

***

#### `abci_query`

> Queries the application for particular information.

**Parameters**

* `path` (string; required): a path to the data ("/a/b/c").
* `data` (string; required): the data.
* `height` (integer; default: 0): the height (0 means latest).
* `prove` (boolean; default: false): adds proofs of the transactions inclusion in the block.

**Returns**

Particular info according to the query submitted.

**Request example**

{% tabs %}
{% tab title="JSON-RPC" %}

```
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY} \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "abci_query",
      "params": ["a/b/c", "the_data", "1", true],
      "id": 1
    }'
```

{% endtab %}

{% tab title="REST" %}

```
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/blockchain?path=%2Fa%2Fb%2Fc&data=the_data&height=1&prove=true
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "error": "",
  "result": {
    "response": {
      "log": "exists",
      "height": "0",
      "proof": "010114FED0DAD959F36091AD761C922ABA3CBF1D8349990101020103011406AA2262E2F448242DF2C2607C3CDC705313EE3B0001149D16177BC71E445476174622EA559715C293740C",
      "value": "61626364",
      "key": "61626364",
      "index": "-1",
      "code": "0"
    }
  },
  "id": 0,
  "jsonrpc": "2.0"
}
```

***

### Cosmos REST methods

**Gaia REST**:

* [`/node_info`](#node_info) — retrieves the properties of the connected node.

**Transactions**:

* [`/txs`](#txs) — broadcasts a signed transaction to a full node.

**Staking**:

* [`/staking/delegators/{delegatorAddr}/delegations`](#stakingdelegatorsdelegatoraddrdelegations) — submits a delegation.
* [`/staking/delegators/{delegatorAddr}/unbonding_delegations`](#stakingdelegatorsdelegatoraddrunbonding_delegations) — submits an unbonding delegation.

**Query**:

* [`/cosmos/auth/v1beta1/accounts`](#cosmosauthv1beta1accounts) — retrieves all the existing accounts.
* [`/cosmos/auth/v1beta1/accounts/{address}`](#cosmosauthv1beta1accountsaddress) — retrieves account details based on address.
* [`/cosmos/auth/v1beta1/params`](#cosmosauthv1beta1params) — retrieves all parameters.
* [`/cosmos/bank/v1beta1/balances/{address}`](#cosmosbankv1beta1balancesaddress) — retrieves the balance of all coins for a single account.
* [`/cosmos/bank/v1beta1/balances/{address}/{denom}`](#cosmosbankv1beta1balancesaddressdenom) — retrieves the balance of a single coin for a single account.
* [`/cosmos/bank/v1beta1/denoms_metadata`](#cosmosbankv1beta1denoms_metadata) — retrieves the client metadata for all registered coin denominations.
* [`/cosmos/bank/v1beta1/denoms_metadata/{denom}`](#cosmosbankv1beta1denoms_metadatadenom) — retrieves the client metadata of a given coin denomination.
* [`/cosmos/bank/v1beta1/params`](#cosmosbankv1beta1params) — retrieves the parameters of x/bank module.
* [`/cosmos/bank/v1beta1/supply`](#cosmosbankv1beta1supply) — retrieves the total supply of all coins.
* [`/cosmos/bank/v1beta1/supply/{denom}`](#cosmosbankv1beta1supplydenom) — retrieves the supply of a single coin.
* [`/cosmos/distribution/v1beta1/community_pool`](#cosmosdistributionv1beta1community_pool) — retrieves the community pool coins.
* [`/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards`](#cosmosdistributionv1beta1delegatorsdelegator_addressrewards) — retrieves the total rewards accrued by each validator.
* [`/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}`](#cosmosdistributionv1beta1delegatorsdelegator_addressrewardsvalidator_address) — retrieves the total rewards accrued by a delegation.
* [`/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators`](#cosmosdistributionv1beta1delegatorsdelegator_addressvalidators) — retrieves the validators of a delegator.
* [`/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address`](#cosmosdistributionv1beta1delegatorsdelegator_addresswithdraw_address) — retrieves a withdrawal address of a delegator.
* [`/cosmos/distribution/v1beta1/params`](#cosmosdistributionv1beta1params) — retrieves parameters of the distribution module.
* [`/cosmos/distribution/v1beta1/validators/{validator_address}/commission`](#cosmosdistributionv1beta1validatorsvalidator_addresscommission) — retrieves accumulated commission for a validator.
* [`/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards`](#cosmosdistributionv1beta1validatorsvalidator_addressoutstanding_rewards) — retrieves rewards of a validator address.
* [`/cosmos/distribution/v1beta1/validators/{validator_address}/slashes`](#cosmosdistributionv1beta1validatorsvalidator_addressslashes) — retrieves slash events of a validator.
* [`/cosmos/evidence/v1beta1/evidence`](#cosmosevidencev1beta1evidence) — retrieves all evidence.
* [`/cosmos/evidence/v1beta1/evidence/{evidence_hash}`](#cosmosevidencev1beta1evidenceevidence_hash) — retrieves evidence based on evidence hash.
* [`/cosmos/gov/v1beta1/params/{params_type}`](#cosmosgovv1beta1paramsparams_type) — retrieves all parameters of the gov module.
* [`/cosmos/gov/v1beta1/proposals`](#cosmosgovv1beta1proposals) — retrieves all proposals based on given status.
* [`/cosmos/gov/v1beta1/proposals/{proposal_id}`](#cosmosgovv1beta1proposalsproposal_id) — retrieves proposal details based on proposal ID.
* [`/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits`](#cosmosgovv1beta1proposalsproposal_iddeposits) — retrieves all deposits of a single proposal.
* [`/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}`](#cosmosgovv1beta1proposalsproposal_iddepositsdepositor) — retrieves single deposit information based on proposal ID and deposit address.
* [`/cosmos/gov/v1beta1/proposals/{proposal_id}/tally`](#cosmosgovv1beta1proposalsproposal_idtally) — retrieves the tally of a proposal vote.
* [`/cosmos/gov/v1beta1/proposals/{proposal_id}/votes`](#cosmosgovv1beta1proposalsproposal_idvotes) — retrieves votes of a given proposal.
* [`/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}`](#cosmosgovv1beta1proposalsproposal_idvotesvoter) — retrieves voted information based on proposal ID and voter address.
* [`/cosmos/mint/v1beta1/annual_provisions`](#cosmosmintv1beta1annual_provisions) — retrieves the current minting annual provisions value.
* [`/cosmos/mint/v1beta1/inflation`](#cosmosmintv1beta1inflation) — retrieves the current minting inflation value.
* [`/cosmos/mint/v1beta1/params`](#cosmosmintv1beta1params) — retrieves the total set of minting parameters.
* [`/cosmos/params/v1beta1/params`](#cosmosparamsv1beta1params) — retrieves a specific parameter of a module, given its subspace and key.
* [`/cosmos/slashing/v1beta1/params`](#cosmosslashingv1beta1params) — retrieves the parameters of a slashing module.
* [`/cosmos/slashing/v1beta1/signing_infos`](#cosmosslashingv1beta1signing_infos) — retrieves signing info of all validators.
* [`/cosmos/slashing/v1beta1/signing_infos/{cons_address}`](#cosmosslashingv1beta1signing_infoscons_address) — retrieves the signing info of given cons address.
* [`/cosmos/staking/v1beta1/delegations/{delegator_addr}`](#cosmosstakingv1beta1delegationsdelegator_addr) — retrieves all delegations of a given delegator address.
* [`/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations`](#cosmosstakingv1beta1delegatorsdelegator_addrredelegations) — retrieves redelegations of a given address.
* [`/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations`](#cosmosstakingv1beta1delegatorsdelegator_addrunbonding_delegations) — retrieves all unbonding delegations of a given delegator address.
* [`/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators`](#cosmosstakingv1beta1delegatorsdelegator_addrvalidators) — retrieves all validators info for a given delegator address.
* [`/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}`](#cosmosstakingv1beta1delegatorsdelegator_addrvalidatorsvalidator_addr) — retrieves validator info by given delegator validator pair.
* [`/cosmos/staking/v1beta1/historical_info/{height}`](#cosmosstakingv1beta1historical_infoheight) — retrieves the historical info for a given height.
* [`/cosmos/staking/v1beta1/params`](#cosmosstakingv1beta1params) — retrieves the staking parameters.
* [`/cosmos/staking/v1beta1/pool`](#cosmosstakingv1beta1pool) — retrieves the pool info.
* [`/cosmos/staking/v1beta1/validators`](#cosmosstakingv1beta1validators) — retrieves all validators that match the given status.
* [`/cosmos/staking/v1beta1/validators/{validator_addr}`](#cosmosstakingv1beta1validatorsvalidator_addr) — retrieves validator info for a given validator address.
* [`/cosmos/staking/v1beta1/validators/{validator_addr}/delegations`](#cosmosstakingv1beta1validatorsvalidator_addrdelegations) — retrieves delegate info for a given validator.
* [`/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}`](#cosmosstakingv1beta1validatorsvalidator_addrdelegationsdelegator_addr) — retrieves delegate info for given validator delegator pair.
* [`/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation`](#cosmosstakingv1beta1validatorsvalidator_addrdelegationsdelegator_addrunbonding_delegation) — retrieves unbonding info for given validator delegator pair.
* [`/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations`](#cosmosstakingv1beta1validatorsvalidator_addrunbonding_delegations) — retrieves unbonding delegations of a given validator address.
* [`/cosmos/upgrade/v1beta1/applied_plan/{name}`](#cosmosupgradev1beta1applied_planname) — retrieves a previously applied upgrade plan by its name.
* [`/cosmos/upgrade/v1beta1/current_plan`](#cosmosupgradev1beta1current_plan) — retrieves the current upgrade plan.
* [`/cosmos/upgrade/v1beta1/module_versions`](#cosmosupgradev1beta1module_versions) — retrieves the list of module versions from state.
* [`/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}`](#cosmosupgradev1beta1upgraded_consensus_statelast_height) — retrieves the consensus state that will serve as a trusted kernel for the next version of this chain.
* [`/cosmos/authz/v1beta1/grants`](#cosmosauthzv1beta1grants) — retrieves the list of `Authorization`, granted to the grantee by the granter.
* [`/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}`](#cosmosfeegrantv1beta1allowancegrantergrantee) — retrieves the fee granted to the grantee by the granter.
* [`/cosmos/feegrant/v1beta1/allowances/{grantee}`](#cosmosfeegrantv1beta1allowancesgrantee) — retrieves all the grants for an address.

**Services**:

* [`/cosmos/base/tendermint/v1beta1/blocks/latest`](#cosmosbasetendermintv1beta1blockslatest) — retrieves the latest block.
* [`/cosmos/base/tendermint/v1beta1/blocks/{height}`](#cosmosbasetendermintv1beta1blocksheight) — retrieves the block for a given height.
* [`/cosmos/base/tendermint/v1beta1/node_info`](#cosmosbasetendermintv1beta1node_info) — retrieves the current node info.
* [`/cosmos/base/tendermint/v1beta1/syncing`](#cosmosbasetendermintv1beta1syncing) — retrieves a node syncing state.
* [`/cosmos/base/tendermint/v1beta1/validatorsets/latest`](#cosmosbasetendermintv1beta1validatorsetslatest) — retrieves the latest validator-set.
* [`/cosmos/base/tendermint/v1beta1/validatorsets/{height}`](#cosmosbasetendermintv1beta1validatorsetsheight) — retrieves the validator-set at a given height.
* [`/cosmos/tx/v1beta1/simulate`](#cosmostxv1beta1simulate) — simulates executing a transaction to estimate gas usage.
* [`/cosmos/tx/v1beta1/txs`](#cosmostxv1beta1txs) — retrieves transactions by event.
* [`/cosmos/tx/v1beta1/txs`](#cosmostxv1beta1txs-1) — broadcasts a transaction.
* [`/cosmos/tx/v1beta1/txs/{hash}`](#cosmostxv1beta1txshash) — retrieves a transaction by hash.

***

### Gaia REST

#### `/node_info`

> Retrieves the properties of the connected node.

**Parameters**

None.

**Returns**

Node status.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/node_info
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/node_info");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/node_info")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "application_version": {
    "build_tags": "string",
    "client_name": "string",
    "commit": "string",
    "go": "string",
    "name": "string",
    "server_name": "string",
    "version": "string"
  },
  "node_info": {
    "id": "string",
    "moniker": "validator-name",
    "protocol_version": {
      "p2p": 7,
      "block": 10,
      "app": 0
    },
    "network": "gaia-2",
    "channels": "string",
    "listen_addr": "192.168.56.1:26656",
    "version": "0.15.0",
    "other": {
      "tx_index": "on",
      "rpc_address": "tcp://0.0.0.0:26657"
    }
  }
}
```

***

### Transactions

#### `/txs`

> Broadcasts a signed transaction to a full node.

**Parameters**

* `txBroadcast` (object; required): the transaction must be a signed StdTx. The supported broadcast modes include `block` (returns after tx commit), `sync` (returns after CheckTx) and `async` (returns right away).

```
{
  "tx": {
    "msg": [
      "string"
    ],
    "fee": {
      "gas": "string",
      "amount": [
        {
          "denom": "stake",
          "amount": "50"
        }
      ]
    },
    "memo": "string",
    "signature": {
      "signature": "MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=",
      "pub_key": {
        "type": "tendermint/PubKeySecp256k1",
        "value": "Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH"
      },
      "account_number": "0",
      "sequence": "0"
    }
  },
  "mode": "block"
}
```

**Returns**

Tx broadcasting result.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/txs
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
// See cURL tab for example
```

{% endtab %}

{% tab title="Python" %}

```python
# See cURL tab for example
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "check_tx": {
    "code": 0,
    "data": "data",
    "log": "log",
    "gas_used": 5000,
    "gas_wanted": 10000,
    "info": "info",
    "tags": [
      "",
      ""
    ]
  },
  "deliver_tx": {
    "code": 5,
    "data": "data",
    "log": "log",
    "gas_used": 5000,
    "gas_wanted": 10000,
    "info": "info",
    "tags": [
      "",
      ""
    ]
  },
  "hash": "EE5F3404034C524501629B56E0DDC38FAD651F04",
  "height": 0
}
```

***

### Staking

#### `/staking/delegators/{delegatorAddr}/delegations`

> Submits a delegation.

**Parameters**

* `delegation` (body): delegates an amount of liquid coins to a validator.

```
{
  "base_req": {
    "from": "cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc",
    "memo": "Sent via Cosmos Voyager",
    "chain_id": "Cosmos-Hub",
    "account_number": "0",
    "sequence": "1",
    "gas": "200000",
    "gas_adjustment": "1.2",
    "fees": [
      {
        "denom": "stake",
        "amount": "50"
      }
    ],
    "simulate": false
  },
  "delegator_address": "cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27",
  "validator_address": "cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l",
  "amount": {
    "denom": "stake",
    "amount": "50"
  }
}
```

* `delegatorAddr` (string; required): a Bech32 AccAddress of a delegator.

**Returns**

Submission result codes:

* 200 — OK.
* 400 — Invalid delegator address or delegation request body.
* 401 — Key password is wrong.
* 500 — Internal Server Error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/staking/delegators/{delegatorAddr}/delegations
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
// See cURL tab for example
```

{% endtab %}

{% tab title="Python" %}

```python
# See cURL tab for example
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "msg": [
    "string"
  ],
  "fee": {
    "gas": "string",
    "amount": [
      {
        "denom": "stake",
        "amount": "50"
      }
    ]
  },
  "memo": "string",
  "signature": {
    "signature": "MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=",
    "pub_key": {
      "type": "tendermint/PubKeySecp256k1",
      "value": "Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH"
    },
    "account_number": "0",
    "sequence": "0"
  }
}
```

***

#### `/staking/delegators/{delegatorAddr}/unbonding_delegations`

> Submits an unbonding delegation.

**Parameters**

* `delegation` (body): unbonds an amount of bonded shares from a validator.

```
{
  "base_req": {
    "from": "cosmos1g9ahr6xhht5rmqven628nklxluzyv8z9jqjcmc",
    "memo": "Sent via Cosmos Voyager",
    "chain_id": "Cosmos-Hub",
    "account_number": "0",
    "sequence": "1",
    "gas": "200000",
    "gas_adjustment": "1.2",
    "fees": [
      {
        "denom": "stake",
        "amount": "50"
      }
    ],
    "simulate": false
  },
  "delegator_address": "cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27",
  "validator_address": "cosmosvaloper16xyempempp92x9hyzz9wrgf94r6j9h5f2w4n2l",
  "amount": {
    "denom": "stake",
    "amount": "50"
  }
}
```

* `delegatorAddr` (string; required): a Bech32 AccAddress of a delegator.

```
cosmos16xyempempp92x9hyzz9wrgf94r6j9h5f06pxxv
```

**Returns**

Result codes:

* 200 — OK.
* 400 — Invalid delegator address or unbonding delegation request body.
* 401 — Key password is wrong.
* 500 — Internal Server Error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/staking/delegators/{delegatorAddr}/unbonding_delegations
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
// See cURL tab for example
```

{% endtab %}

{% tab title="Python" %}

```python
# See cURL tab for example
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "msg": [
    "string"
  ],
  "fee": {
    "gas": "string",
    "amount": [
      {
        "denom": "stake",
        "amount": "50"
      }
    ]
  },
  "memo": "string",
  "signature": {
    "signature": "MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=",
    "pub_key": {
      "type": "tendermint/PubKeySecp256k1",
      "value": "Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH"
    },
    "account_number": "0",
    "sequence": "0"
  }
}
```

***

### Query

#### `/cosmos/auth/v1beta1/accounts`

> Retrieves all the existing accounts.

**Parameters**

* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/auth/v1beta1/accounts
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/auth/v1beta1/accounts");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/auth/v1beta1/accounts")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "accounts": [
    {
      "type_url": "string",
      "value": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/auth/v1beta1/accounts/{address}`

> Retrieves account details based on address.

**Parameters**

* `address` (string; path; required): the address of account to retrieve details for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/auth/v1beta1/accounts/{address}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/auth/v1beta1/accounts/{address}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/auth/v1beta1/accounts/{address}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "account": {
    "type_url": "string",
    "value": "string"
  }
}
```

***

#### `/cosmos/auth/v1beta1/params`

> Retrieves all parameters.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/auth/v1beta1/params
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/auth/v1beta1/params");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/auth/v1beta1/params")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Request example**

```bash
{
  "params": {
    "max_memo_characters": "string",
    "tx_sig_limit": "string",
    "tx_size_cost_per_byte": "string",
    "sig_verify_cost_ed25519": "string",
    "sig_verify_cost_secp256k1": "string"
  }
}
```

***

#### `/cosmos/bank/v1beta1/balances/{address}`

> Retrieves the balance of all coins for a single account.

**Parameters**

* `address` (string; path; required): the address to query balances for.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/balances/{address}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/balances/{address}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/balances/{address}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "balances": [
    {
      "denom": "string",
      "amount": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/bank/v1beta1/balances/{address}/{denom}`

> Retrieves the balance of a single coin for a single account.

**Parameters**

* `address` (string; path; required): the address to query balances for.
* `denom` (string; path; required): the coin denom to query balances for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/balances/{address}/{denom}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/balances/{address}/{denom}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/balances/{address}/{denom}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "balance": {
    "denom": "string",
    "amount": "string"
  }
}
```

***

#### `/cosmos/bank/v1beta1/denom_owners/{denom}`

> Retrieves all account addresses that own a particular token denomination.

**Parameters**

* `denom` (string; path; required): defines the coin denomination to query all account holders for.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/denom_owners/{denom}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/denom_owners/{denom}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/denom_owners/{denom}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "denom_owners": [
    {
      "address": "string",
      "balance": {
        "denom": "string",
        "amount": "string"
      }
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/bank/v1beta1/denoms_metadata`

> Retrieves the client metadata for all registered coin denominations.

**Parameters**

* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/denoms_metadata
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/denoms_metadata");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/denoms_metadata")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "metadatas": [
    {
      "description": "string",
      "denom_units": [
        {
          "denom": "string",
          "exponent": 0,
          "aliases": [
            "string"
          ]
        }
      ],
      "base": "string",
      "display": "string",
      "name": "string",
      "symbol": "string",
      "uri": "string",
      "uri_hash": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/bank/v1beta1/denoms_metadata/{denom}`

> Retrieves the client metadata of a given coin denomination.

**Parameters**

* `denom` (string; path; required): the coin denomination to query the metadata for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/denoms_metadata/{denom}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/denoms_metadata/{denom}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/denoms_metadata/{denom}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "metadata": {
    "description": "string",
    "denom_units": [
      {
        "denom": "string",
        "exponent": 0,
        "aliases": [
          "string"
        ]
      }
    ],
    "base": "string",
    "display": "string",
    "name": "string",
    "symbol": "string",
    "uri": "string",
    "uri_hash": "string"
  }
}
```

***

#### `/cosmos/bank/v1beta1/params`

> Retrieves the parameters of x/bank module.

**Parameter**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}//cosmos/bank/v1beta1/params
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}//cosmos/bank/v1beta1/params");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}//cosmos/bank/v1beta1/params")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "params": {
    "send_enabled": [
      {
        "denom": "string",
        "enabled": true
      }
    ],
    "default_send_enabled": true
  }
}
```

***

#### `/cosmos/bank/v1beta1/supply`

> Retrieves the total supply of all coins.

**Parameters**

* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Code responses:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/supply
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/supply");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/supply")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "supply": [
    {
      "denom": "string",
      "amount": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/bank/v1beta1/supply/{denom}`

> Retrieves the supply of a single coin.

**Parameters**

* `denom` (string; path; required): the coin denom to query balances for.

**Returns**

Code responses:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/supply/{denom}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/supply/{denom}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/bank/v1beta1/supply/{denom}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "amount": {
    "denom": "string",
    "amount": "string"
  }
}
```

***

#### `/cosmos/distribution/v1beta1/community_pool`

> Retrieves the community pool coins.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/community_pool
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/community_pool");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/community_pool")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "pool": [
    {
      "denom": "string",
      "amount": "string"
    }
  ]
}
```

***

#### `/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards`

> Retrieves the total rewards accrued by each validator.

**Parameters**

* `delegator_address` (string; path; required): the delegator address to query for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "rewards": [
    {
      "validator_address": "string",
      "reward": [
        {
          "denom": "string",
          "amount": "string"
        }
      ]
    }
  ],
  "total": [
    {
      "denom": "string",
      "amount": "string"
    }
  ]
}
```

***

#### `/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}`

> Retrieves the total rewards accrued by a delegation.

**Parameters**

* `delegator_address` (string; path; required): the delegator address to query for.
* `validator_address` (string; path; required): the validator address to query for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "rewards": [
    {
      "denom": "string",
      "amount": "string"
    }
  ]
}
```

***

#### `/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators`

> Retrieves the validators of a delegator.

**Parameters**

* `delegator_address` (string; path; required): the delegator address to query for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "validators": [
    "string"
  ]
}
```

***

#### `/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address`

> Retrieves a withdrawal address of a delegator.

**Parameters**

* `delegator_address` (string; path; required): the delegator address to query for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "withdraw_address": "string"
}
```

***

#### `/cosmos/distribution/v1beta1/params`

> Retrieves parameters of the distribution module.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/params
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/params");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/params")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "params": {
    "community_tax": "string",
    "base_proposer_reward": "string",
    "bonus_proposer_reward": "string",
    "withdraw_addr_enabled": true
  }
}
```

***

#### `/cosmos/distribution/v1beta1/validators/{validator_address}/commission`

> Retrieves accumulated commission for a validator.

**Parameters**

* `validator_address` (string; path; required): the validator address to query for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/validators/{validator_address}/commission
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/validators/{validator_address}/commission");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/validators/{validator_address}/commission")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "commission": {
    "commission": [
      {
        "denom": "string",
        "amount": "string"
      }
    ]
  }
}
```

***

#### `/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards`

> Retrieves the rewards of a validator address.

**Parameters**

* `validator_address` (string; path; required): the validator address to query for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "rewards": {
    "rewards": [
      {
        "denom": "string",
        "amount": "string"
      }
    ]
  }
}
```

***

#### `/cosmos/distribution/v1beta1/validators/{validator_address}/slashes`

> Retrieves slash events of a validator.

**Parameters**

* `validator_address` (string; path; required): the validator address to query for.
* `starting_height` (uint64; query): the optional starting height to query the slashes.
* `ending_height` (uint64; query): the optional ending height to query the slashes.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/validators/{validator_address}/slashes
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/validators/{validator_address}/slashes");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/distribution/v1beta1/validators/{validator_address}/slashes")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "slashes": [
    {
      "validator_period": "string",
      "fraction": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/evidence/v1beta1/evidence`

> Retrieves all evidence.

**Parameters**

* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/evidence/v1beta1/evidence
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/evidence/v1beta1/evidence");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/evidence/v1beta1/evidence")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "evidence": [
    {
      "type_url": "string",
      "value": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/evidence/v1beta1/evidence/{evidence_hash}`

> Retrieves evidence based on evidence hash.

**Parameters**

* `evidence_hash` (string; byte; path; required): the hash of the evidence to retrieve.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/evidence/v1beta1/evidence/{evidence_hash}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/evidence/v1beta1/evidence/{evidence_hash}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/evidence/v1beta1/evidence/{evidence_hash}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "evidence": {
    "type_url": "string",
    "value": "string"
  }
}
```

***

#### `/cosmos/gov/v1beta1/params/{params_type}`

> Retrieves all parameters of the gov module.

**Parameters**

* `params_type` (string; path; required): defines which parameters to query for, can be one of "voting", "tallying", or "deposit".

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/params/{params_type}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/params/{params_type}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/params/{params_type}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "voting_params": {
    "voting_period": "string"
  },
  "deposit_params": {
    "min_deposit": [
      {
        "denom": "string",
        "amount": "string"
      }
    ],
    "max_deposit_period": "string"
  },
  "tally_params": {
    "quorum": "string",
    "threshold": "string",
    "veto_threshold": "string"
  }
}
```

***

#### `/cosmos/gov/v1beta1/proposals`

> Retrieves all proposals based on given status.

**Parameters**

* `proposal_status` (string; query): defines the status of the proposals; the following statuses are available:
  * `PROPOSAL_STATUS_UNSPECIFIED`: a default proposal status.
  * `PROPOSAL_STATUS_DEPOSIT_PERIOD`: a proposal status during the deposit period.
  * `PROPOSAL_STATUS_VOTING_PERIOD`: a proposal status during the voting period.
  * `PROPOSAL_STATUS_PASSED`: a proposal status of a proposal that has passed.
  * `PROPOSAL_STATUS_REJECTED`: a proposal status of a proposal that has been rejected.
  * `PROPOSAL_STATUS_FAILED`: a proposal status of a proposal that has failed.
* `voter` (string; query):
* `depositor` (string; query):
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "proposals": [
    {
      "proposal_id": "string",
      "content": {
        "type_url": "string",
        "value": "string"
      },
      "status": "PROPOSAL_STATUS_UNSPECIFIED",
      "final_tally_result": {
        "yes": "string",
        "abstain": "string",
        "no": "string",
        "no_with_veto": "string"
      },
      "submit_time": "2023-03-02T10:55:55.465Z",
      "deposit_end_time": "2023-03-02T10:55:55.465Z",
      "total_deposit": [
        {
          "denom": "string",
          "amount": "string"
        }
      ],
      "voting_start_time": "2023-03-02T10:55:55.465Z",
      "voting_end_time": "2023-03-02T10:55:55.465Z"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/gov/v1beta1/proposals/{proposal_id}`

> Retrieves proposal details based on proposal ID.

**Parameters**

* `proposal_id` (string; uint64; path; required): the unique ID of the proposal.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "proposal": {
    "proposal_id": "string",
    "content": {
      "type_url": "string",
      "value": "string"
    },
    "status": "PROPOSAL_STATUS_UNSPECIFIED",
    "final_tally_result": {
      "yes": "string",
      "abstain": "string",
      "no": "string",
      "no_with_veto": "string"
    },
    "submit_time": "2023-03-02T11:08:57.204Z",
    "deposit_end_time": "2023-03-02T11:08:57.204Z",
    "total_deposit": [
      {
        "denom": "string",
        "amount": "string"
      }
    ],
    "voting_start_time": "2023-03-02T11:08:57.204Z",
    "voting_end_time": "2023-03-02T11:08:57.204Z"
  }
}
```

***

#### `/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits`

> Retrieves all deposits of a single proposal.

**Parameters**

* `proposal_id` (string; uint64; path; required): the unique ID of the proposal.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "deposits": [
    {
      "proposal_id": "string",
      "depositor": "string",
      "amount": [
        {
          "denom": "string",
          "amount": "string"
        }
      ]
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}`

> Retrieves single deposit information based on proposal ID and deposit address.

**Parameters**

* `proposal_id` (string; uint64; path; required): the unique ID of the proposal.
* `depositor` (string; path; required): the deposit addresses from the proposals.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "deposit": {
    "proposal_id": "string",
    "depositor": "string",
    "amount": [
      {
        "denom": "string",
        "amount": "string"
      }
    ]
  }
}
```

***

#### `/cosmos/gov/v1beta1/proposals/{proposal_id}/tally`

> Retrieves the tally of a proposal vote.

**Parameters**

* `proposal_id` (string; uint64; path; required): the unique ID of the proposal.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/tally
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/tally");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/tally")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "tally": {
    "yes": "string",
    "abstain": "string",
    "no": "string",
    "no_with_veto": "string"
  }
}
```

***

#### `/cosmos/gov/v1beta1/proposals/{proposal_id}/votes`

> Retrieves the votes of a given proposal.

**Parameters**

* `proposal_id` (string; uint64; path; required): the unique ID of the proposal.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/votes
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/votes");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/votes")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "votes": [
    {
      "proposal_id": "string",
      "voter": "string",
      "option": "VOTE_OPTION_UNSPECIFIED",
      "options": [
        {
          "option": "VOTE_OPTION_UNSPECIFIED",
          "weight": "string"
        }
      ]
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}`

> Retrieves voted information based on proposal ID and voter address.

**Parameters**

* `proposal_id` (string; uint64; path; required): the unique ID of the proposal.
* `voter` (string; path; required): the voter address for the proposal.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "vote": {
    "proposal_id": "string",
    "voter": "string",
    "option": "VOTE_OPTION_UNSPECIFIED",
    "options": [
      {
        "option": "VOTE_OPTION_UNSPECIFIED",
        "weight": "string"
      }
    ]
  }
}
```

***

#### `/cosmos/mint/v1beta1/annual_provisions`

> Retrieves the current minting annual provisions value.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/mint/v1beta1/annual_provisions
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/mint/v1beta1/annual_provisions");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/mint/v1beta1/annual_provisions")
print(response.json())
```

{% endtab %}
{% endtabs %}

#### Response example

```json
{
  "annual_provisions": "string"
}
```

***

#### `/cosmos/mint/v1beta1/inflation`

> Retrieves the current minting inflation value.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/mint/v1beta1/inflation
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/mint/v1beta1/inflation");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/mint/v1beta1/inflation")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "inflation": "string"
}
```

***

#### `/cosmos/mint/v1beta1/params`

> Retrieves the total set of minting parameters.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/mint/v1beta1/params
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/mint/v1beta1/params");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/mint/v1beta1/params")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "params": {
    "mint_denom": "string",
    "inflation_rate_change": "string",
    "inflation_max": "string",
    "inflation_min": "string",
    "goal_bonded": "string",
    "blocks_per_year": "string"
  }
}
```

***

#### `/cosmos/params/v1beta1/params`

> Retrieves the total set of minting parameters.

**Parameters**

* `subspace` (string; query): defines the module to query the parameter for.
* `key` (string; query): defines the key of the parameter in the subspace.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/params/v1beta1/params
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/params/v1beta1/params");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/params/v1beta1/params")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "param": {
    "subspace": "string",
    "key": "string",
    "value": "string"
  }
}
```

***

#### `/cosmos/slashing/v1beta1/params`

> Retrieves the parameters of a slashing module.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/slashing/v1beta1/params
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/slashing/v1beta1/params");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/slashing/v1beta1/params")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "params": {
    "signed_blocks_window": "string",
    "min_signed_per_window": "string",
    "downtime_jail_duration": "string",
    "slash_fraction_double_sign": "string",
    "slash_fraction_downtime": "string"
  }
}
```

***

#### `/cosmos/slashing/v1beta1/signing_infos`

> Retrieves signing info of all validators.

**Parameters**

* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/slashing/v1beta1/signing_infos
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/slashing/v1beta1/signing_infos");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/slashing/v1beta1/signing_infos")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "info": [
    {
      "address": "string",
      "start_height": "string",
      "index_offset": "string",
      "jailed_until": "2023-03-02T11:34:53.641Z",
      "tombstoned": true,
      "missed_blocks_counter": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/slashing/v1beta1/signing_infos/{cons_address}`

> Retrieves the signing info of given cons address.

**Parameters**

* `cons_address` (string; path; required): the address to query signing info from.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/slashing/v1beta1/signing_infos/{cons_address}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/slashing/v1beta1/signing_infos/{cons_address}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/slashing/v1beta1/signing_infos/{cons_address}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "val_signing_info": {
    "address": "string",
    "start_height": "string",
    "index_offset": "string",
    "jailed_until": "2023-03-02T11:37:10.986Z",
    "tombstoned": true,
    "missed_blocks_counter": "string"
  }
}
```

***

#### `/cosmos/staking/v1beta1/delegations/{delegator_addr}`

> Retrieves all delegations of a given delegator address.

**Parameters**

* `delegator_addr` (string; path; required): the address of the delegator to query for.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegations/{delegator_addr}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegations/{delegator_addr}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegations/{delegator_addr}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "delegation_responses": [
    {
      "delegation": {
        "delegator_address": "string",
        "validator_address": "string",
        "shares": "string"
      },
      "balance": {
        "denom": "string",
        "amount": "string"
      }
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations`

> Retrieves redelegations of a given address.

**Parameters**

* `delegator_addr` (string; path; required): the address of the delegator to query for.
* `src_validator_addr` (string; query): the validator address to redelegate from.
* `dst_validator_addr` (string; query): the validator address to redelegate to.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "redelegation_responses": [
    {
      "redelegation": {
        "delegator_address": "string",
        "validator_src_address": "string",
        "validator_dst_address": "string",
        "entries": [
          {
            "creation_height": "string",
            "completion_time": "2023-03-02T11:44:00.360Z",
            "initial_balance": "string",
            "shares_dst": "string"
          }
        ]
      },
      "entries": [
        {
          "redelegation_entry": {
            "creation_height": "string",
            "completion_time": "2023-03-02T11:44:00.360Z",
            "initial_balance": "string",
            "shares_dst": "string"
          },
          "balance": "string"
        }
      ]
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations`

> Retrieves all unbonding delegations of a given delegator address.

**Parameters**

* `delegator_addr` (string; path; required): the address of the delegator to query for.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Reponse example**

```
{
  "unbonding_responses": [
    {
      "delegator_address": "string",
      "validator_address": "string",
      "entries": [
        {
          "creation_height": "string",
          "completion_time": "2023-03-02T11:47:55.798Z",
          "initial_balance": "string",
          "balance": "string"
        }
      ]
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators`

> Retrieves all validators info for a given delegator address.

**Parameters**

* `delegator_addr` (string; path; required): the address of the delegator to query for.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "validators": [
    {
      "operator_address": "string",
      "consensus_pubkey": {
        "type_url": "string",
        "value": "string"
      },
      "jailed": true,
      "status": "BOND_STATUS_UNSPECIFIED",
      "tokens": "string",
      "delegator_shares": "string",
      "description": {
        "moniker": "string",
        "identity": "string",
        "website": "string",
        "security_contact": "string",
        "details": "string"
      },
      "unbonding_height": "string",
      "unbonding_time": "2023-03-02T11:50:03.594Z",
      "commission": {
        "commission_rates": {
          "rate": "string",
          "max_rate": "string",
          "max_change_rate": "string"
        },
        "update_time": "2023-03-02T11:50:03.594Z"
      },
      "min_self_delegation": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}`

> Retrieves validator info by given delegator validator pair.

**Parameters**

* `delegator_addr` (string; path; required): the delegator address to query for.
* `validator_addr` (string; path; required): the validator address to query for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "validator": {
    "operator_address": "string",
    "consensus_pubkey": {
      "type_url": "string",
      "value": "string"
    },
    "jailed": true,
    "status": "BOND_STATUS_UNSPECIFIED",
    "tokens": "string",
    "delegator_shares": "string",
    "description": {
      "moniker": "string",
      "identity": "string",
      "website": "string",
      "security_contact": "string",
      "details": "string"
    },
    "unbonding_height": "string",
    "unbonding_time": "2023-03-02T11:52:10.807Z",
    "commission": {
      "commission_rates": {
        "rate": "string",
        "max_rate": "string",
        "max_change_rate": "string"
      },
      "update_time": "2023-03-02T11:52:10.807Z"
    },
    "min_self_delegation": "string"
  }
}
```

***

#### `/cosmos/staking/v1beta1/historical_info/{height}`

> Retrieves the historical info for a given height.

**Parameters**

* `height` (string; int64; path; required): the height at which to query the historical data.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/historical_info/{height}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/historical_info/{height}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/historical_info/{height}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "hist": {
    "header": {
      "version": {
        "block": "string",
        "app": "string"
      },
      "chain_id": "string",
      "height": "string",
      "time": "2023-03-02T11:55:21.837Z",
      "last_block_id": {
        "hash": "string",
        "part_set_header": {
          "total": 0,
          "hash": "string"
        }
      },
      "last_commit_hash": "string",
      "data_hash": "string",
      "validators_hash": "string",
      "next_validators_hash": "string",
      "consensus_hash": "string",
      "app_hash": "string",
      "last_results_hash": "string",
      "evidence_hash": "string",
      "proposer_address": "string"
    },
    "valset": [
      {
        "operator_address": "string",
        "consensus_pubkey": {
          "type_url": "string",
          "value": "string"
        },
        "jailed": true,
        "status": "BOND_STATUS_UNSPECIFIED",
        "tokens": "string",
        "delegator_shares": "string",
        "description": {
          "moniker": "string",
          "identity": "string",
          "website": "string",
          "security_contact": "string",
          "details": "string"
        },
        "unbonding_height": "string",
        "unbonding_time": "2023-03-02T11:55:21.837Z",
        "commission": {
          "commission_rates": {
            "rate": "string",
            "max_rate": "string",
            "max_change_rate": "string"
          },
          "update_time": "2023-03-02T11:55:21.837Z"
        },
        "min_self_delegation": "string"
      }
    ]
  }
}
```

***

#### `/cosmos/staking/v1beta1/params`

> Retrieves the staking parameters.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/params
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/params");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/params")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "params": {
    "unbonding_time": "string",
    "max_validators": 0,
    "max_entries": 0,
    "historical_entries": 0,
    "bond_denom": "string"
  }
}
```

***

#### `/cosmos/staking/v1beta1/pool`

> Retrieves the pool info.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/pool
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/pool");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/pool")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "pool": {
    "not_bonded_tokens": "string",
    "bonded_tokens": "string"
  }
}
```

***

#### `/cosmos/staking/v1beta1/validators`

> Retrieves all validators that match the given status.

**Parameters**

* `status` (string; query): a status to query the validators for.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "validators": [
    {
      "operator_address": "string",
      "consensus_pubkey": {
        "type_url": "string",
        "value": "string"
      },
      "jailed": true,
      "status": "BOND_STATUS_UNSPECIFIED",
      "tokens": "string",
      "delegator_shares": "string",
      "description": {
        "moniker": "string",
        "identity": "string",
        "website": "string",
        "security_contact": "string",
        "details": "string"
      },
      "unbonding_height": "string",
      "unbonding_time": "2023-03-02T12:05:06.275Z",
      "commission": {
        "commission_rates": {
          "rate": "string",
          "max_rate": "string",
          "max_change_rate": "string"
        },
        "update_time": "2023-03-02T12:05:06.275Z"
      },
      "min_self_delegation": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/staking/v1beta1/validators/{validator_addr}`

> Retrieves validator info for a given validator address.

**Parameters**

* `validator_addr` (string; path; required): the validator address to query for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "validator": {
    "operator_address": "string",
    "consensus_pubkey": {
      "type_url": "string",
      "value": "string"
    },
    "jailed": true,
    "status": "BOND_STATUS_UNSPECIFIED",
    "tokens": "string",
    "delegator_shares": "string",
    "description": {
      "moniker": "string",
      "identity": "string",
      "website": "string",
      "security_contact": "string",
      "details": "string"
    },
    "unbonding_height": "string",
    "unbonding_time": "2023-03-02T12:11:37.556Z",
    "commission": {
      "commission_rates": {
        "rate": "string",
        "max_rate": "string",
        "max_change_rate": "string"
      },
      "update_time": "2023-03-02T12:11:37.556Z"
    },
    "min_self_delegation": "string"
  }
}
```

***

#### `/cosmos/staking/v1beta1/validators/{validator_addr}/delegations`

> Retrieves delegate info for a given validator.

**Parameters**

* `validator_addr` (string; path; required): the validator address to query for.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/delegations
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/delegations");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/delegations")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "delegation_responses": [
    {
      "delegation": {
        "delegator_address": "string",
        "validator_address": "string",
        "shares": "string"
      },
      "balance": {
        "denom": "string",
        "amount": "string"
      }
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}`

> Retrieves delegate info for given validator delegator pair.

**Parameters**

* `validator_addr` (string; path; required): the validator address to query for.
* `delegator_addr` (string; path; required): the delegator address to query for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "delegation_response": {
    "delegation": {
      "delegator_address": "string",
      "validator_address": "string",
      "shares": "string"
    },
    "balance": {
      "denom": "string",
      "amount": "string"
    }
  }
}
```

***

#### `/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation`

> Retrieves unbonding info for given validator delegator pair.

**Parameters**

* `validator_addr` (string; path; required): the validator address to query for.
* `delegator_addr` (string; path; required): the delegator address to query for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "unbond": {
    "delegator_address": "string",
    "validator_address": "string",
    "entries": [
      {
        "creation_height": "string",
        "completion_time": "2023-03-02T12:22:06.905Z",
        "initial_balance": "string",
        "balance": "string"
      }
    ]
  }
}
```

***

#### `/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations`

> Retrieves unbonding delegations of a given validator address.

**Parameters**

* `validator_addr` (string; path; required): the validator address to query for.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "unbonding_responses": [
    {
      "delegator_address": "string",
      "validator_address": "string",
      "entries": [
        {
          "creation_height": "string",
          "completion_time": "2023-03-02T12:23:51.870Z",
          "initial_balance": "string",
          "balance": "string"
        }
      ]
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/upgrade/v1beta1/applied_plan/{name}`

> Retrieves a previously applied upgrade plan by its name.

**Parameters**

* `name` (string; path; required): the name of the applied plan to query for.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/applied_plan/{name}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/applied_plan/{name}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/applied_plan/{name}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "height": "string"
}
```

***

#### `/cosmos/upgrade/v1beta1/current_plan`

> Retrieves the current upgrade plan.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/current_plan
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/current_plan");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/current_plan")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "plan": {
    "name": "string",
    "time": "2023-03-02T12:29:52.518Z",
    "height": "string",
    "info": "string",
    "upgraded_client_state": {
      "type_url": "string",
      "value": "string"
    }
  }
}
```

***

#### `/cosmos/upgrade/v1beta1/module_versions`

> Retrieves the list of module versions from state.

**Parameters**

* `module_name` (string; query): a field to query a specific module consensus version from state. Leaving this empty will fetch the full list of module versions from state.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/module_versions
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/module_versions");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/module_versions")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "module_versions": [
    {
      "name": "string",
      "version": "string"
    }
  ]
}
```

***

#### `/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}`

> Retrieves the consensus state that will serve as a trusted kernel for the next version of this chain.

It will only be stored at the last height of this chain. `UpgradedConsensusState` RPC not supported with legacy querier.

**Parameters**

* `last_height` (string; int64; path; required): the last height of the current chain must be sent in request as this is the height under which the next consensus state is stored.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "upgraded_consensus_state": "string"
}
```

***

#### `/cosmos/authz/v1beta1/grants`

> Retrieves the list of `Authorization`, granted to the grantee by the granter.

**Parameters**

* `granter` (string; query): a granter.
* `grantee` (string; query): a grantee.
* `msg_type_url` (string; query): define to retrieve the grants matching a given message type.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/authz/v1beta1/grants
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/authz/v1beta1/grants");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/authz/v1beta1/grants")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "grants": [
    {
      "authorization": {
        "type_url": "string",
        "value": "string"
      },
      "expiration": "2023-03-02T12:52:34.325Z"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}`

> Retrieves the fee granted to the grantee by the granter.

**Parameters**

* `granter` (string; query): a granter.
* `grantee` (string; query): a grantee.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "allowance": {
    "granter": "string",
    "grantee": "string",
    "allowance": {
      "type_url": "string",
      "value": "string"
    }
  }
}
```

***

#### `/cosmos/feegrant/v1beta1/allowances/{grantee}`

> Retrieves all the grants for an address.

**Parameters**

* `grantee` (string; query): a grantee.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/feegrant/v1beta1/allowances/{grantee}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/feegrant/v1beta1/allowances/{grantee}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/feegrant/v1beta1/allowances/{grantee}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "allowances": [
    {
      "granter": "string",
      "grantee": "string",
      "allowance": {
        "type_url": "string",
        "value": "string"
      }
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

### Services

#### `/cosmos/base/tendermint/v1beta1/blocks/latest`

> Retrieves the latest block.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/blocks/latest
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/blocks/latest");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/blocks/latest")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "block_id": {
    "hash": "string",
    "part_set_header": {
      "total": 0,
      "hash": "string"
    }
  },
  "block": {
    "header": {
      "version": {
        "block": "string",
        "app": "string"
      },
      "chain_id": "string",
      "height": "string",
      "time": "2023-03-02T13:02:59.747Z",
      "last_block_id": {
        "hash": "string",
        "part_set_header": {
          "total": 0,
          "hash": "string"
        }
      },
      "last_commit_hash": "string",
      "data_hash": "string",
      "validators_hash": "string",
      "next_validators_hash": "string",
      "consensus_hash": "string",
      "app_hash": "string",
      "last_results_hash": "string",
      "evidence_hash": "string",
      "proposer_address": "string"
    },
    "data": {
      "txs": [
        "string"
      ]
    },
    "evidence": {
      "evidence": [
        {
          "duplicate_vote_evidence": {
            "vote_a": {
              "type": "SIGNED_MSG_TYPE_UNKNOWN",
              "height": "string",
              "round": 0,
              "block_id": {
                "hash": "string",
                "part_set_header": {
                  "total": 0,
                  "hash": "string"
                }
              },
              "timestamp": "2023-03-02T13:02:59.747Z",
              "validator_address": "string",
              "validator_index": 0,
              "signature": "string"
            },
            "vote_b": {
              "type": "SIGNED_MSG_TYPE_UNKNOWN",
              "height": "string",
              "round": 0,
              "block_id": {
                "hash": "string",
                "part_set_header": {
                  "total": 0,
                  "hash": "string"
                }
              },
              "timestamp": "2023-03-02T13:02:59.747Z",
              "validator_address": "string",
              "validator_index": 0,
              "signature": "string"
            },
            "total_voting_power": "string",
            "validator_power": "string",
            "timestamp": "2023-03-02T13:02:59.747Z"
          },
          "light_client_attack_evidence": {
            "conflicting_block": {
              "signed_header": {
                "header": {
                  "version": {
                    "block": "string",
                    "app": "string"
                  },
                  "chain_id": "string",
                  "height": "string",
                  "time": "2023-03-02T13:02:59.747Z",
                  "last_block_id": {
                    "hash": "string",
                    "part_set_header": {
                      "total": 0,
                      "hash": "string"
                    }
                  },
                  "last_commit_hash": "string",
                  "data_hash": "string",
                  "validators_hash": "string",
                  "next_validators_hash": "string",
                  "consensus_hash": "string",
                  "app_hash": "string",
                  "last_results_hash": "string",
                  "evidence_hash": "string",
                  "proposer_address": "string"
                },
                "commit": {
                  "height": "string",
                  "round": 0,
                  "block_id": {
                    "hash": "string",
                    "part_set_header": {
                      "total": 0,
                      "hash": "string"
                    }
                  },
                  "signatures": [
                    {
                      "block_id_flag": "BLOCK_ID_FLAG_UNKNOWN",
                      "validator_address": "string",
                      "timestamp": "2023-03-02T13:02:59.747Z",
                      "signature": "string"
                    }
                  ]
                }
              },
              "validator_set": {
                "validators": [
                  {
                    "address": "string",
                    "pub_key": {
                      "ed25519": "string",
                      "secp256k1": "string"
                    },
                    "voting_power": "string",
                    "proposer_priority": "string"
                  }
                ],
                "proposer": {
                  "address": "string",
                  "pub_key": {
                    "ed25519": "string",
                    "secp256k1": "string"
                  },
                  "voting_power": "string",
                  "proposer_priority": "string"
                },
                "total_voting_power": "string"
              }
            },
            "common_height": "string",
            "byzantine_validators": [
              {
                "address": "string",
                "pub_key": {
                  "ed25519": "string",
                  "secp256k1": "string"
                },
                "voting_power": "string",
                "proposer_priority": "string"
              }
            ],
            "total_voting_power": "string",
            "timestamp": "2023-03-02T13:02:59.747Z"
          }
        }
      ]
    },
    "last_commit": {
      "height": "string",
      "round": 0,
      "block_id": {
        "hash": "string",
        "part_set_header": {
          "total": 0,
          "hash": "string"
        }
      },
      "signatures": [
        {
          "block_id_flag": "BLOCK_ID_FLAG_UNKNOWN",
          "validator_address": "string",
          "timestamp": "2023-03-02T13:02:59.747Z",
          "signature": "string"
        }
      ]
    }
  }
}
```

***

#### `/cosmos/base/tendermint/v1beta1/blocks/{height}`

> Retrieves the block for a given height.

**Parameters**

* `height` (string; int64; path; required): a height to query the block at.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/blocks/{height}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/blocks/{height}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/blocks/{height}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "block_id": {
    "hash": "string",
    "part_set_header": {
      "total": 0,
      "hash": "string"
    }
  },
  "block": {
    "header": {
      "version": {
        "block": "string",
        "app": "string"
      },
      "chain_id": "string",
      "height": "string",
      "time": "2023-03-02T13:04:50.862Z",
      "last_block_id": {
        "hash": "string",
        "part_set_header": {
          "total": 0,
          "hash": "string"
        }
      },
      "last_commit_hash": "string",
      "data_hash": "string",
      "validators_hash": "string",
      "next_validators_hash": "string",
      "consensus_hash": "string",
      "app_hash": "string",
      "last_results_hash": "string",
      "evidence_hash": "string",
      "proposer_address": "string"
    },
    "data": {
      "txs": [
        "string"
      ]
    },
    "evidence": {
      "evidence": [
        {
          "duplicate_vote_evidence": {
            "vote_a": {
              "type": "SIGNED_MSG_TYPE_UNKNOWN",
              "height": "string",
              "round": 0,
              "block_id": {
                "hash": "string",
                "part_set_header": {
                  "total": 0,
                  "hash": "string"
                }
              },
              "timestamp": "2023-03-02T13:04:50.862Z",
              "validator_address": "string",
              "validator_index": 0,
              "signature": "string"
            },
            "vote_b": {
              "type": "SIGNED_MSG_TYPE_UNKNOWN",
              "height": "string",
              "round": 0,
              "block_id": {
                "hash": "string",
                "part_set_header": {
                  "total": 0,
                  "hash": "string"
                }
              },
              "timestamp": "2023-03-02T13:04:50.862Z",
              "validator_address": "string",
              "validator_index": 0,
              "signature": "string"
            },
            "total_voting_power": "string",
            "validator_power": "string",
            "timestamp": "2023-03-02T13:04:50.862Z"
          },
          "light_client_attack_evidence": {
            "conflicting_block": {
              "signed_header": {
                "header": {
                  "version": {
                    "block": "string",
                    "app": "string"
                  },
                  "chain_id": "string",
                  "height": "string",
                  "time": "2023-03-02T13:04:50.862Z",
                  "last_block_id": {
                    "hash": "string",
                    "part_set_header": {
                      "total": 0,
                      "hash": "string"
                    }
                  },
                  "last_commit_hash": "string",
                  "data_hash": "string",
                  "validators_hash": "string",
                  "next_validators_hash": "string",
                  "consensus_hash": "string",
                  "app_hash": "string",
                  "last_results_hash": "string",
                  "evidence_hash": "string",
                  "proposer_address": "string"
                },
                "commit": {
                  "height": "string",
                  "round": 0,
                  "block_id": {
                    "hash": "string",
                    "part_set_header": {
                      "total": 0,
                      "hash": "string"
                    }
                  },
                  "signatures": [
                    {
                      "block_id_flag": "BLOCK_ID_FLAG_UNKNOWN",
                      "validator_address": "string",
                      "timestamp": "2023-03-02T13:04:50.862Z",
                      "signature": "string"
                    }
                  ]
                }
              },
              "validator_set": {
                "validators": [
                  {
                    "address": "string",
                    "pub_key": {
                      "ed25519": "string",
                      "secp256k1": "string"
                    },
                    "voting_power": "string",
                    "proposer_priority": "string"
                  }
                ],
                "proposer": {
                  "address": "string",
                  "pub_key": {
                    "ed25519": "string",
                    "secp256k1": "string"
                  },
                  "voting_power": "string",
                  "proposer_priority": "string"
                },
                "total_voting_power": "string"
              }
            },
            "common_height": "string",
            "byzantine_validators": [
              {
                "address": "string",
                "pub_key": {
                  "ed25519": "string",
                  "secp256k1": "string"
                },
                "voting_power": "string",
                "proposer_priority": "string"
              }
            ],
            "total_voting_power": "string",
            "timestamp": "2023-03-02T13:04:50.862Z"
          }
        }
      ]
    },
    "last_commit": {
      "height": "string",
      "round": 0,
      "block_id": {
        "hash": "string",
        "part_set_header": {
          "total": 0,
          "hash": "string"
        }
      },
      "signatures": [
        {
          "block_id_flag": "BLOCK_ID_FLAG_UNKNOWN",
          "validator_address": "string",
          "timestamp": "2023-03-02T13:04:50.862Z",
          "signature": "string"
        }
      ]
    }
  }
}
```

***

#### `/cosmos/base/tendermint/v1beta1/node_info`

> Retrieves the current node info.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/node_info
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/node_info");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/node_info")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "default_node_info": {
    "protocol_version": {
      "p2p": "string",
      "block": "string",
      "app": "string"
    },
    "default_node_id": "string",
    "listen_addr": "string",
    "network": "string",
    "version": "string",
    "channels": "string",
    "moniker": "string",
    "other": {
      "tx_index": "string",
      "rpc_address": "string"
    }
  },
  "application_version": {
    "name": "string",
    "app_name": "string",
    "version": "string",
    "git_commit": "string",
    "build_tags": "string",
    "go_version": "string",
    "build_deps": [
      {
        "path": "string",
        "version": "string",
        "sum": "string"
      }
    ],
    "cosmos_sdk_version": "string"
  }
}
```

***

#### `/cosmos/base/tendermint/v1beta1/syncing`

> Retrieves node syncing state.

**Parameters**

None.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/syncing
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/syncing");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/syncing")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "syncing": true
}
```

***

#### `/cosmos/base/tendermint/v1beta1/validatorsets/latest`

> Retrieves the latest validator-set.

**Parameters**

* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/validatorsets/latest
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/validatorsets/latest");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/validatorsets/latest")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "block_height": "string",
  "validators": [
    {
      "address": "string",
      "pub_key": {
        "type_url": "string",
        "value": "string"
      },
      "voting_power": "string",
      "proposer_priority": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/base/tendermint/v1beta1/validatorsets/{height}`

> Retrieves the validator-set at a given height.

**Parameters**

* `height` (string; int64; path; required): the height to retrieve the validator-set at.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/validatorsets/{height}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/validatorsets/{height}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/base/tendermint/v1beta1/validatorsets/{height}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "block_height": "string",
  "validators": [
    {
      "address": "string",
      "pub_key": {
        "type_url": "string",
        "value": "string"
      },
      "voting_power": "string",
      "proposer_priority": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/tx/v1beta1/simulate`

> Simulates executing a transaction to estimate gas usage.

**Parameters**

* `<body>` (object; required):

```
{
  "tx": {
    "body": {
      "messages": [
        {
          "type_url": "string",
          "value": "string"
        }
      ],
      "memo": "string",
      "timeout_height": "string",
      "extension_options": [
        {
          "type_url": "string",
          "value": "string"
        }
      ],
      "non_critical_extension_options": [
        {
          "type_url": "string",
          "value": "string"
        }
      ]
    },
    "auth_info": {
      "signer_infos": [
        {
          "public_key": {
            "type_url": "string",
            "value": "string"
          },
          "mode_info": {
            "single": {
              "mode": "SIGN_MODE_UNSPECIFIED"
            },
            "multi": {
              "bitarray": {
                "extra_bits_stored": 0,
                "elems": "string"
              },
              "mode_infos": [
                null
              ]
            }
          },
          "sequence": "string"
        }
      ],
      "fee": {
        "amount": [
          {
            "denom": "string",
            "amount": "string"
          }
        ],
        "gas_limit": "string",
        "payer": "string",
        "granter": "string"
      }
    },
    "signatures": [
      "string"
    ]
  },
  "tx_bytes": "string"
}
```

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/tx/v1beta1/simulate
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
// See cURL tab for example
```

{% endtab %}

{% tab title="Python" %}

```python
# See cURL tab for example
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "gas_info": {
    "gas_wanted": "string",
    "gas_used": "string"
  },
  "result": {
    "data": "string",
    "log": "string",
    "events": [
      {
        "type": "string",
        "attributes": [
          {
            "key": "string",
            "value": "string",
            "index": true
          }
        ]
      }
    ]
  }
}
```

***

#### `/cosmos/tx/v1beta1/txs`

> Retrieves transactions by event.

**Parameters**

* `events` (array\[string]; query): the list of transaction event type.
* `pagination.key` (string; byte; query): key is a value returned in PageResponse.next\_key to begin querying the next page most efficiently. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.offset` (string; uint64; query): offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of the pagination parameters should be set — `pagination.key` or `pagination.offset`.
* `pagination.limit` (string; uint64; query): limit is the total number of results to be returned in the result page. If left empty, it will default to a value to be set by each app.
* `pagination.count_total` (boolean; query): count\_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count\_total is only respected when offset is used. It is ignored when key is set.
* `pagination.reverse` (boolean; query): reverse is set to true if results are to be returned in the descending order.
* `order_by` (string; query): the following values are available:
  * `ORDER_BY_UNSPECIFIED` (default): specifies an unknown sorting order. OrderBy defaults to ASC in this case.
  * `ORDER_BY_ASC`: defines ascending order.
  * `ORDER_BY_DESC`: defines descending order.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/tx/v1beta1/txs
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/tx/v1beta1/txs");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/tx/v1beta1/txs")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "txs": [
    {
      "body": {
        "messages": [
          {
            "type_url": "string",
            "value": "string"
          }
        ],
        "memo": "string",
        "timeout_height": "string",
        "extension_options": [
          {
            "type_url": "string",
            "value": "string"
          }
        ],
        "non_critical_extension_options": [
          {
            "type_url": "string",
            "value": "string"
          }
        ]
      },
      "auth_info": {
        "signer_infos": [
          {
            "public_key": {
              "type_url": "string",
              "value": "string"
            },
            "mode_info": {
              "single": {
                "mode": "SIGN_MODE_UNSPECIFIED"
              },
              "multi": {
                "bitarray": {
                  "extra_bits_stored": 0,
                  "elems": "string"
                },
                "mode_infos": [
                  null
                ]
              }
            },
            "sequence": "string"
          }
        ],
        "fee": {
          "amount": [
            {
              "denom": "string",
              "amount": "string"
            }
          ],
          "gas_limit": "string",
          "payer": "string",
          "granter": "string"
        }
      },
      "signatures": [
        "string"
      ]
    }
  ],
  "tx_responses": [
    {
      "height": "string",
      "txhash": "string",
      "codespace": "string",
      "code": 0,
      "data": "string",
      "raw_log": "string",
      "logs": [
        {
          "msg_index": 0,
          "log": "string",
          "events": [
            {
              "type": "string",
              "attributes": [
                {
                  "key": "string",
                  "value": "string"
                }
              ]
            }
          ]
        }
      ],
      "info": "string",
      "gas_wanted": "string",
      "gas_used": "string",
      "tx": {
        "type_url": "string",
        "value": "string"
      },
      "timestamp": "string"
    }
  ],
  "pagination": {
    "next_key": "string",
    "total": "string"
  }
}
```

***

#### `/cosmos/tx/v1beta1/txs`

> Broadcasts a transaction.

**Parameters**

* `<body>` (object; required):

```
{
  "tx_bytes": "string",
  "mode": "BROADCAST_MODE_UNSPECIFIED"
}
```

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/tx/v1beta1/txs
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
// See cURL tab for example
```

{% endtab %}

{% tab title="Python" %}

```python
# See cURL tab for example
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "tx_response": {
    "height": "string",
    "txhash": "string",
    "codespace": "string",
    "code": 0,
    "data": "string",
    "raw_log": "string",
    "logs": [
      {
        "msg_index": 0,
        "log": "string",
        "events": [
          {
            "type": "string",
            "attributes": [
              {
                "key": "string",
                "value": "string"
              }
            ]
          }
        ]
      }
    ],
    "info": "string",
    "gas_wanted": "string",
    "gas_used": "string",
    "tx": {
      "type_url": "string",
      "value": "string"
    },
    "timestamp": "string"
  }
}
```

***

#### `/cosmos/tx/v1beta1/txs/{hash}`

> Retrieves a transaction by hash.

**Parameters**

* `<hash>` (string; path; required): the transaction hash to query, encoded as a hex string.

**Returns**

Response codes:

* 200 — success.
* default — unexpected error.

**Request example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/tx/v1beta1/txs/{hash}
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
const response = await fetch("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/tx/v1beta1/txs/{hash}");
const data = await response.json();
console.log(data);
```

{% endtab %}

{% tab title="Python" %}

```python
import requests

response = requests.get("https://rpc.crypto-chief.com/sei-cosmos/{YOUR_API_KEY}/cosmos/tx/v1beta1/txs/{hash}")
print(response.json())
```

{% endtab %}
{% endtabs %}

**Response example**

```json
{
  "tx": {
    "body": {
      "messages": [
        {
          "type_url": "string",
          "value": "string"
        }
      ],
      "memo": "string",
      "timeout_height": "string",
      "extension_options": [
        {
          "type_url": "string",
          "value": "string"
        }
      ],
      "non_critical_extension_options": [
        {
          "type_url": "string",
          "value": "string"
        }
      ]
    },
    "auth_info": {
      "signer_infos": [
        {
          "public_key": {
            "type_url": "string",
            "value": "string"
          },
          "mode_info": {
            "single": {
              "mode": "SIGN_MODE_UNSPECIFIED"
            },
            "multi": {
              "bitarray": {
                "extra_bits_stored": 0,
                "elems": "string"
              },
              "mode_infos": [
                null
              ]
            }
          },
          "sequence": "string"
        }
      ],
      "fee": {
        "amount": [
          {
            "denom": "string",
            "amount": "string"
          }
        ],
        "gas_limit": "string",
        "payer": "string",
        "granter": "string"
      }
    },
    "signatures": [
      "string"
    ]
  },
  "tx_response": {
    "height": "string",
    "txhash": "string",
    "codespace": "string",
    "code": 0,
    "data": "string",
    "raw_log": "string",
    "logs": [
      {
        "msg_index": 0,
        "log": "string",
        "events": [
          {
            "type": "string",
            "attributes": [
              {
                "key": "string",
                "value": "string"
              }
            ]
          }
        ]
      }
    ],
    "info": "string",
    "gas_wanted": "string",
    "gas_used": "string",
    "tx": {
      "type_url": "string",
      "value": "string"
    },
    "timestamp": "string"
  }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-rpc.crypto-chief.com/chains/sei.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
