Skip to main content

Connect via our RPC

API KEY

Access to the RPC data requires authentication. Head to the Developer Portal to get your API Key.

With access to the RPC, you can interact with Shibarium and Puppynet networks and fetch relevant data to your needs, such as the latest block, gas price and other standard Ethereum JSON-RPC API functions. You can use all the standard Ethereum JSON-RPC API methods, such as eth_blockNumber to retrieve the network's latest block.

info

Find a list of all possible functions on Ethereum's documentation.

Base URL

https://api.shibrpc.com/shibarium/

Request example

  POST  /{api_key}
curl -s "https://api.shibrpc.com/puppynet/{api_key}" \
-H "Content-Type: application/json" \
-X POST --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":67}' \

Body

{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params":[],
"id":67
}
KeyValue
jsonrpcJSON-RPC specification version.
methodFunction to retrieve data from the network. Find more on Ethereum's documentation.
paramsExtra parameters.
idID for the RPC call.

Header Parameters

No header parameters needed.

Query Parameters

No query parameters needed.

Response

{
"jsonrpc": "2.0",
"id": 67,
"result": "0x484419"
}
KeyValue
jsonrpcJSON-RPC specification version.
id
resultFor the the eth_blockNumber, the latest block on the network.
web3.js

If you are building a frontend or backend project, you can call the functions above with the web3.js library format.