This index guide contains network details for the OKB Chain Testnet and OKB Chain Mainnet and lists their associated RPC and node endpoints.
In order to view the flow of funds in your accounts, on the OKB Chain, you will need to configure OKB Chain testnet and mainnet URLs in your wallet. You can add OKB Chain Network manually by inputing the following info into Add a network under Settings. For detailed guide, check out How to add a custom network RPC
Mainnet network info will be updated after OKB Chain is live on Mainnet.
OKB Chain Testnet replicates the OKB Chain Mainnet and is used for testing. Users can request for testnet tokens from the faucet, which are without any actual value, unlike value-bearing assets such as OKB. This enables network maintainers or developers to test settings and trial implementations.
Properties | Network Details |
---|---|
Network Name | OKB Chain Testnet |
Parent Chain | Goërli |
Chain ID | 195(okbchaintest-195) |
Gas Token | OKB |
WebSocket Endpoint | wss://okbtestws.okbchain.org:8443 |
Rest API | https://okbtestrpc.okbchain.org/v1 |
Block Explorer | https://www.oklink.com/cn/okbc-test |
Developers can utilize network endpoints to interact with on-chain data and send various transaction types to the network. The APIs adhere to a JSON-RPC standard, which is a lightweight, stateless remote procedure call (RPC) protocol frequently utilized when interacting with a blockchain network.
GET STARTED WITH RPC CALLS Start by accessing the comprehensive API documentation for standard JSON-RPC calls. If you wish to initiate API requests without any preliminary configuration, troubleshoot unsuccessful requests, or test new methods on the OKB Chain network, try out the Composer App.
When interacting with the OKB Chain, a user has the option to either run their own node or use one of the public endpoints offered by infrastructure and API service providers to connect to the network. If you require real-time updates from the chain, Dagger is the ideal solution. This platform allows your dApps and backend system to receive blockchain events in real-time through a socket or websocket.
Public RPCs may have traffic or rate limitations based on usage. You can register for a dedicated free RPC URL at the following: