ZPK
Join the Auction
Getting StartedChevronJSON-RPC API

Overview

The ZKP testnet supports the standard Substrate JSON-RPC interface as well as Ethereum-compatible RPC methods (via the EVM pallet)

Overview

This allows developers to

icon

Query blocks and chain state

icon

Check account balances

icon

Send transactions

icon

Interact with smart contracts

icon

Query blocks and chain state

icon

Check account balances

icon

Send transactions

icon

Interact with smart contracts

Note: Some RPC namespaces listed in the official docs may not be active in the ZKP Testnet.

Quick Start

Verify the connection to the testnet by calling the latest block

bash
curl -H "Content-Type: application/json" \
-d '{"id":1, "jsonrpc":"2.0", "method":"chain_getBlock", "params":[]}' \
https://rpc.testnet.zkp.com

Example response

json
{
  "jsonrpc": "2.0",
  "result": {
    "block": {
      "header": {
        "number": "0x12345",
        "parentHash": "0x...",
        "stateRoot": "0x...",
        "extrinsicsRoot": "0x..."
      },
      "extrinsics": ["0x..."]
    }
  },
  "id": 1
}
Stable Methods

Stable Methods in ZKP Testnet

System
Check

`system_health` → Node health status

Check

`system_chain` → Network name

Check

`system_version` → Client version

Chain
Check

`chain_getBlock` → Retrieve block

Check

`chain_getBlockHash` → Block hash by number

Check

`chain_getHeader` → Block header

Author (Transactions)
Check

`author_submitExtrinsic` → Submit transaction

Ethereum RPC (EVM compatibility)
Check

`eth_blockNumber` → Current block number

Check

`eth_getBalance` → Account balance

Check

`eth_sendRawTransaction` → Send signed transaction

Notes

icon
For the complete list of methods, see the Polkadot.js RPC Reference: https://polkadot.js.org/docs/substrate/rpc/
icon

Some methods are only available with specific node flags (*unsafe*)

icon
For the complete list of methods, see the Polkadot.js RPC Reference: https://polkadot.js.org/docs/substrate/rpc/
icon

Some methods are only available with specific node flags (*unsafe*)

The Proof Behind Champions

Those who compete at the edge of human precision now back the technology that defines digital truth.

Buy Zero Knowledge Proof Coin Before It Hits the Market

Join the Auction
Own the Proof