OJA Coin
  • OJA Coin Intro
  • Guides
    • ☕Get Started
    • 🛣️Roadmap
    • 📃Whitepaper
    • 🤝Coinomics
    • 🔗Official Links
    • 💹Buy OJA Coin
    • ✨OJX Node Installation
  • PRODUCTS
    • ⚡OJA Blockchain (OJX)
    • 👨‍💻OJA Wallet
    • 🏆OJA Rewards
    • 📈OJA Trading / Exchange
    • 🪙OJA Payment
  • OJA SMART CHAIN (OJX20)
    • ☕Get Started (OJX20)
    • 🌟OJA Coin Smart Chain
      • Concepts
        • Consensus
        • Genesis File
      • Source Code
      • Main Network Explorer
      • Test Network Explorer
      • OJX20 Wallet
    • 💻Developers
      • General
        • Create Wallet
        • Smart Contract
        • Remix
        • Web3JS
        • Truffle
      • Deploy
        • Remix
        • Truffle
        • HardHat
      • Tools
      • BRC20 Tokens
        • Introduction
        • Issue Token
      • Blockchain Details
        • OJX Chain Fullnode
        • RPC
      • Tutorial
        • Deploy NFT
        • Local OJX Network
    • 🚰OJX Faucet
    • ❔FAQ
      • OJA Coin Smart Chain FAQ
        • General
          • Info
          • OJA Coin Smart Chain (OJX20)
          • Ecosystem
        • Token
          • Intro
      • Contributing
  • OJA COIN MINING
    • ☕Get Started
    • 💸Sole Mining (CPU)
    • 💰Masternode Mining
    • 🖥️GPU Mining
  • Others
    • OJA Brand Assets
    • Support
  • Terms
    • Privacy Policy
    • Terms and User Agreement
Powered by GitBook
On this page
  • Available Resources
  • Start
  • JSON-RPC methods
  1. OJA SMART CHAIN (OJX20)
  2. Developers
  3. Blockchain Details

RPC

Available Resources

Mainnet(ChainID 0x38, 56 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://nc-dataseed.ojxscan.com/

NCWebsocket Endpoints:

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

  • wss://nc-ws-node.ojxscan.com:443

Rate limit

The rate limit of OJX 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.ojxscan.com

## testnet
geth attach https://testnet-rpc.ojxscan.com/

JSON-RPC methods

PreviousOJX Chain FullnodeNextTutorial

Last updated 3 years ago

Please refer to this or use Postman:

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