ONUS Chain Documentation
  • Introduction
    • Overview
    • Environment
  • Technology
    • Architecture
    • Consensus
    • Development Tool
  • Chain Setup
  • For Users
    • Transaction Fee
    • Wallets
    • Staking
    • Validator Node Registration
  • For Developers
    • Platform
    • Smart Contract Development
    • ERC20 Token
    • ERC721 Token ​
    • Build a DApp
    • Grants Program
  • RPC
  • ONUS Coin
    • Overview
    • Tokenomics
  • Community
Powered by GitBook
On this page
  • JSON-RPC Endpoint
  • Available Resources​
  • Start HTTP JSON-RPC​
  • JSON-RPC methods​

RPC

PreviousGrants ProgramNextONUS Coin

Last updated 2 years ago

JSON-RPC Endpoint

Available Resources

Mainnet (ChainID 0x7B7, 1975 in decimal)

ONUS RPC Endpoints:

!!! NOTE You can make eth_getLogs requests with up to a 5K block range. If you need to pull logs frequently, we recommend using WebSockets to push new logs to you when they are available.

Testnet (ChainID 0x799, 1945 in decimal)

ONUS RPC Endpoints:

  • https://rpc-testnet.onuschain.io

Rate limit

The rate limit of the ONUS RPC endpoint on Testnet and Mainnet is 8K/5min.

Start HTTP JSON-RPC

You can start the HTTP JSON-RPC with the --rpc flag

## mainnetgeth attach https://rpc.onuschain.io
## testnetgeth attach https://rpc-testnet.onuschain.io

Copy

JSON-RPC methods

Please refer to this or use Postman:

​
​
https://rpc.onuschain.io
​
​
​
​
wiki page
https://documenter.getpostman.com/view/4117254/ethereum-json-rpc/RVu7CT5J?version=latest