Trade API

Introduction#

The Onchain gateway API offers on-chain simulation and on-chain transaction broadcasting services, supporting both self-developed RPC nodes and external premium RPC nodes. By leveraging OKX Web3's advanced node management infrastructure and expertise, it enables intelligent transaction broadcasting, significantly reducing failure rates and accelerating confirmation speeds. Developers can seamlessly integrate the Onchain gateway API with the Swap/Cross chain API to create a comprehensive DEX experience to their users, eliminating the need for additional external resources.

Key capabilities

  1. High-availability hybrid node architecture

    • Self-developed multi-chain node clusters for robust performance.
    • Intelligent integration of third-party premium node resources to build a redundant and resilient network.
    • Dynamic load balancing with real-time node health monitoring and sub-second failover for uninterrupted services.
  2. Intelligent multi-broadcasting engine

    • Breakthrough capability to broadcast transactions across multiple node networks simultaneously.
    • Enhanced on-chain success rates through advanced distributed propagation algorithms.
    • Priority block packaging acceleration for major chains like ETH, BNB Chain, and Solana and more.