Skip to content

JSON-RPC Endpoint

Available Resources

Mainnet(ChainID 0x515F, 20831 in decimal)

NCRPC 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.

Recommend

  • https://mainnet-rpc.nycoin.org/

NYBC Websocket Endpoints:

Note: provided by community with no quality promised, building your node should be always the long term goal

  • wss://mainnet-rpc.nycoin.org/ws

Rate limit

The rate limit of NYBC endpoint on Testnet and Mainnet is 10K/5min.

Start

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

## mainnet
geth attach https://mainnet-rpc.nycoin.org

## testnet
geth attach https://testnet-rpc.nycoin.org

JSON-RPC methods

Please refer to this wiki page or use Postman: https://documenter.getpostman.com/view/4117254/ethereum-json-rpc/RVu7CT5J?version=latest