Documentation
Loading...

JSON-RPC API

Interactive playground for testing JSON-RPC methods

JSON-RPC API

Test JSON-RPC methods interactively with our API playground. This tool allows you to experiment with different methods and parameters using our live BuildBear RPC endpoint.

Endpoint: https://rpc.dev.buildbear.io/welcome-storm-78148d43

JSON-RPC Method Tester

Available Methods

Our API supports standard JSON-RPC methods for blockchain interaction:

  • eth_blockNumber - Get the latest block number
  • eth_getBalance - Get account balance
  • eth_getBlockByNumber - Get block information
  • eth_getTransactionCount - Get transaction count for an address
  • eth_sendRawTransaction - Send a signed transaction
  • net_version - Get network version
  • web3_clientVersion - Get client version

Getting Started

  1. Select a JSON-RPC method from the dropdown
  2. Fill in the required parameters
  3. Click "Send Request" to test the method against our live BuildBear sandbox
  4. View the real response from the blockchain in the output panel

This playground connects to a live BuildBear sandbox environment, so you'll get real blockchain data and responses.

Example Usage

Here's a simple example to get the latest block number:

{
  "jsonrpc": "2.0",
  "method": "eth_blockNumber",
  "params": [],
  "id": 1
}

The response will look like:

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x1234567"
}