Wallet API

Wallet API#

Wallet API is the core infrastructure module of OnchainOS, built for DApp developers — providing complete onchain asset querying and transaction execution capabilities. Check balances, send transactions, and track onchain activity, all through a unified multi-chain interface.

  • Check Balance — Query any wallet's total asset value, multi-chain token balances, and specific token holdings in real time. Automatically fetch the latest onchain state before trading.
  • Transaction Gateway — Estimate gas, simulate execution, broadcast transactions, and track order status in real time. Combines OKX's proprietary nodes with third-party nodes for smart multi-path broadcasting that improves onchain success rates.
  • Transaction History — Query complete transaction records by address or view specific transaction details. Supports multiple chains and transaction types, with filtering by asset type, direction, and time range.
Check Balance
Real-time total asset value and multi-chain token balances
Transaction Gateway
Gas estimation, simulation, and transaction broadcasting
Transaction History
Query onchain records by address or tx hash