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

# arc_getCertificate | Arc

> Arc API method that returns the consensus commit certificate for a block height, including the round, the block hash, and the validator signatures. Use it on Arc via Chainstack.

Arc API method that returns the consensus commit certificate for a block height. The certificate is the [Malachite](https://github.com/circlefin/malachite) BFT proof that the validator set committed the block, so it is what you check when you need finality evidence rather than the block contents.

`arc_getCertificate` belongs to the custom `arc_*` namespace, which Arc adds on top of the standard Reth surface.

> [!NOTE]
>
> `rpc_modules` does not list `arc` in its response, because the namespace is registered outside the standard module registry. The method works regardless — do not use `rpc_modules` to decide whether it is available.

## Parameters

* `height` — the block height to get the commit certificate for, as an integer. Must be `1` or greater.

## Response

* `height` — the block height the certificate commits.
* `round` — the consensus round in which the block was committed. `0` means the block was committed in the first round.
* `block_hash` — the hash of the committed block.
* `signatures` — the validator signatures that form the commit. Each entry has an `address` and a base64-encoded `signature`.

## Error codes

* `-32602` — invalid params, returned when the height is below `1`.
* `-32004` — no certificate is available for that height.
* `-32005` — the upstream consensus source is unreachable.

## `arc_getCertificate` code examples

```javascript ethers.js theme={"system"}
const { JsonRpcProvider } = require("ethers");

const provider = new JsonRpcProvider("CHAINSTACK_NODE_URL");

async function call() {
  const result = await provider.send("arc_getCertificate", [29793007]);
  console.log(result);
}

call();
```

```python web3.py theme={"system"}
from web3 import Web3

node_url = "CHAINSTACK_NODE_URL"
web3 = Web3(Web3.HTTPProvider(node_url))

result = web3.provider.make_request("arc_getCertificate", [29793007])
print(result)
```

```shell cURL theme={"system"}
curl -X POST "CHAINSTACK_NODE_URL" \
  -H "Content-Type: application/json" \
  --data '{
    "jsonrpc": "2.0",
    "method": "arc_getCertificate",
    "params": [29793007],
    "id": 1
  }'
```

## Use case

A cross-chain bridge or an exchange crediting deposits needs to know that a block is final, not merely present. On a BFT chain the commit certificate is that evidence: it names the validators that signed the block and the round they agreed in, so a relayer can verify the quorum itself instead of waiting out a confirmation count.


## OpenAPI

````yaml openapi/arc_node_api/arc_namespace/arc_getCertificate.json POST /
openapi: 3.0.0
info:
  title: Chainstack Node API
  version: 1.0.0
  description: This is an API for interacting with a Chainstack node.
servers:
  - url: https://arc-mainnet.core.chainstack.com/mt_c524ad9781ae5dccd9ac6f5b0370e
security: []
paths:
  /:
    post:
      tags:
        - upload
      summary: arc_getCertificate
      operationId: arc_getCertificate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: arc_getCertificate
                params:
                  type: array
                  default:
                    - 29793007
      responses:
        '200':
          description: Returns the result of arc_getCertificate.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
                    properties:
                      height:
                        type: integer
                      round:
                        type: integer
                      block_hash:
                        type: string
                      signatures:
                        type: array
                        items:
                          type: object
                          properties:
                            address:
                              type: string
                            signature:
                              type: string
              example:
                jsonrpc: '2.0'
                id: 1
                result:
                  height: 29793007
                  round: 0
                  block_hash: >-
                    0xb27e862c03e649114afd6904bd39f5e4a1ca41fffb92c0bbfe88dd7750b8c9a1
                  signatures:
                    - address: '0x1f3afcac4d8a50a40f1052435d737920b5318a46'
                      signature: >-
                        x0MvFtwJcfyLbfnQ4kXaRmcoJ1X9ansIklvr+xc/rrwRZTM0dO6Ppghw+urTwODeFjqDLiCLNsy+zJx/vi3iDw==
                    - address: '0x254ad62f8ad8ca4df58a3add8dd2a7b063fb64a2'
                      signature: >-
                        eJ1h8ePhuK89wzyauJTQROPK1TBW5EJs3YHQxpZCaVU782TVTVemc2wtdt/0Xd7YU3lvnVZdrN8FykjOSw3sDQ==
                    - address: '0x385e02473d17c1769c0c8783f086df142dd9897d'
                      signature: >-
                        cI/lMDK9k/7dEpNRzgaU6ynlPVSGDLCsV0qlcIMkl5wUvfPRfI/50MWJCsSfa0ovRch1OMVc+A6JPl/OQZq3Bw==
                    - address: '0x43cc895befa37f54ee325ca04301f49b3fcccc9f'
                      signature: >-
                        2/+f051VU//EFP2LuSuBHgi51cCXSSt8oFF9hQQYGYTkzWFVaVQwi1J6ITvfZPgtApOSNxka5GUC1o/Spz5ZBA==
                    - address: '0x4a992f241f3956429c79badff3a7cf707b87025c'
                      signature: >-
                        MjtsFKfMtiKoi6vVhxSyq3eTKm/dRAmd6Pi9+2biNGeEv+VacBx3thUwMz1N7TXwltFA5q2C8KROeLJh/6RCCw==
                    - address: '0x590caa7db5306def4dd597fff9c581dc16d89fd8'
                      signature: >-
                        nDJl1ljHnC/ybi72o4WjMm22odOHy0ryvutY3Qv8/NtOjsCGTTcEQSx1uVZNarGL5TEZ+wzmjguKxRonO+fzDw==
                    - address: '0x709df1f70bfbd55a5c95fc1f0ffbf427fe8d2785'
                      signature: >-
                        RbltI9mgD0tRUQ8yyyaSif5aE3Yzy6/pj3ArjHOruuCMBiQxOnaKncAW8h+Xyx47zNZLDpmYTGqlTd005EXRCw==
                    - address: '0x73c0a577dab21feebaeb8066644fe81be34f8a47'
                      signature: >-
                        8dNAXHK6YuAZjh+16nZmVnhTJKhn3F6v+GtkD6qZt3hesKgNXpTHttFltMfC0qO1qe2s91qLLSwu+uW9xPHFCw==
                    - address: '0x8e28a8c43fa3ede187baf198119829e7f0cfec19'
                      signature: >-
                        9EkXNSjYsH8WHHa799dNvRdSVjkbAP9arEQILNvB33Tfn8qc9zxfxNyOU0roEAApJyF20M9L69yVyvuqOftyDw==
                    - address: '0xb6f375de5ccf18ce85a13ed48c673d5ef030f27b'
                      signature: >-
                        BIoCuMkSWdYPIDnUx5X4KRaT55eKLaFBjx4wADHlVjFDM6duPJEbweGcpCtkl9hm4Ldc4oKRkszJRWG9K50LAw==
                    - address: '0xbe169e76a831a111f14178ceecdc9b4694050027'
                      signature: >-
                        1HlQYFE0eTE0d/nfkzgGiGlOO5bZLObmAgk285KWlUEZxnkQKLBEQQqVLQv+9Bsw9A7NWTAF9czA/aZ1ij69AA==
                    - address: '0xc90153b03486aba966e9e81d8ef8685c432425fd'
                      signature: >-
                        4MY8KCBLuVp9KjfIjmrqZRLsmZmuVY5eFlNv+r+cm41bd+VfX7EjrvGIdox4M7dlp4g3HKtvXneqivm412ZyCA==

````