okx-onchain-gateway

okx onchain gateway

okx 315 ↓ 8.9k updated 28d ago
Claude Code
View source ↗

What it does

  • For swap quote and execution → use okx-dex-swap
  • For market prices → use okx-dex-market
  • For token search → use okx-dex-token
  • For wallet balances / portfolio → use okx-wallet-portfolio
  • For transaction broadcasting → use this skill (okx-onchain-gateway)
  • Missing chain → recommend XLayer (--chain xlayer, low gas, fast confirmation) as the default, then ask which chain the user prefers
  • Missing --signed-tx → remind user to sign the transaction first (this CLI does NOT sign)

Requirements & configuration

  • For token search → use okx-dex-token
  • | okx-agentic-wallet | For raw tx broadcast | For simple token transfers |
  • Rule of thumb: okx-onchain-gateway handles raw transaction broadcasting and gas estimation; it does NOT generate swap calldata or handle token transfers.
  • For gas-limit / simulate → need --from, --to, optionally --data (calldata)
  • For orders query → need --address and --chain, optionally --order-id

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

okx onchain gateway

Source

Repository: https://github.com/okx/onchainos-skills

okx-onchain-gateway FAQ

What does the okx-onchain-gateway skill do?

Onchain transaction gateway across XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon and 20+ chains. Invoke to broadcast a pre-signed / raw / already-signed transaction, push a serialized tx on-chain, query current gas price, estimate gas limit, simulate or dry-run a transaction before sending, track a broadcast order, or check tx-confirmed / pending status by txHash or orderId. For swap quote and execution → use okx-dex-swap For market prices → use okx-dex-market

What does okx-onchain-gateway require?

For token search → use okx-dex-token | okx-agentic-wallet | For raw tx broadcast | For simple token transfers | Rule of thumb: okx-onchain-gateway handles raw transaction broadcasting and gas estimation; it does NOT generate swap calldata or handle token transfers. For gas-limit / simulate → need --from, --to, optionally --data (calldata) For orders query → need --address and --chain, optionally --order-id

How do I install okx-onchain-gateway?

Run: npx -y skills add https://github.com/okx/onchainos-skills --skill okx-onchain-gateway --agent claude-code — the source lives at github.com/okx/onchainos-skills.

Maintain okx-onchain-gateway?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

okx-onchain-gateway on getagentictools
[![okx-onchain-gateway on getagentictools](https://getagentictools.com/badge/skills/okx-onchainos-skills-okx-onchain-gateway.svg)](https://getagentictools.com/skills/okx-onchainos-skills-okx-onchain-gateway?ref=badge)
npx agentictools info skills/okx-onchainos-skills-okx-onchain-gateway

The second line is the CLI lookup for this page — handy in READMEs and docs.