Install any skill in seconds. Free to start, no credit card required.
Get Started Free →OKX Agentic Wallet skill manages login, balances, transfers, contract calls, swaps, bridges and Gas Station payments via onchainos CLI.
Use this skill ↓55% 68%+14 ptsof test cases passed
Passed 15 of 22 test cases with the skill, and 12 of 22 without it.
3 of 3 safety checks passed
Not used yet
Load on a failure, edge case, no-route fallback, or a conceptual "how does it work" question. Never show raw error codes or CLI output to the user — translate every failure into plain language; codes stay in the diagnostic summary only.
| Question | Answer |
|---|---|
| Which bridges / chains are supported? | Decided at runtime — run cross-chain bridges --from-chain <X> --to-chain <Y>. No static list. Seen so far: Stargate/LayerZero, Across V3, Relay, Gas.zip, Mayan, ButterSwap. |
| What fees are there? | crossChainFee (bridge fee, source token) + source-chain gas; some bridges add otherNativeFee. |
| What is a "transit token" / why offered one? | No direct route exists, so the backend routes source→transit→target via an intermediate token (see No-Route Fallback below). |
| Why a receive address sometimes? | Heterogeneous pairs (EVM↔non-EVM) can't infer the destination from the sender. |
| Atomic / refundable? | No atomicity guarantee; status exposes no refund/failure sub-state. For stuck transfers, verify on the destination chain / bridge scan page first. |
routerList / action=fallback)Normal branches, not errors: the backend auto-probes transit assets and hands you the result — you do NOT run any discovery loop. Both commands surface the same fallback object (quote: data[0] = {routerList:[], fallback:{...}}; execute: data = {action:"fallback", routerList:[], fallback:{...}}). Branch on fallback.outcome:
transit_available — fallback.transitOptions[] lists bridgeable transit tokens; amounts already account for the source→transit swap and the bridge leg — display directly (format toTokenAmount / minimumReceived / crossChainFee with toTokenDecimals like the main table):
{fromToken} cannot be bridged directly from {fromChain} to {toChain}. These transit tokens work:
| # | Transit Token | Est. Receive | Fee | Est. Time |
|---|----------------|-----------------|-----------------|----------------|
| 1 | {transitToken} | {toTokenAmount} | {crossChainFee} | {estimateTime} |
Pick a transit token. Steps:
1. Swap {fromToken} → {transitToken} on {fromChain} (use the swap flow)
2. Bridge {transitToken} from {fromChain} to {toChain}
3. Swap {transitToken} → {targetToken} on {toChain} (use the swap flow) — only when target ≠ transit
Let the user pick, then run each leg. The bridge leg is a normal same-token bridge (--from {transitToken} --to {transitToken}).
no_path — no indirect path either. Relay fallback.message translated. Optionally suggest a manual two-hop via a common chain (Ethereum / Arbitrum).
env_unavailable — bridge adapter offline on this environment (empty backend msg across all transit probes). Tell the user the route is temporarily unavailable here and to retry later — don't imply the pair is permanently unsupported.
| Code | Meaning → action |
Next to this one in the catalogue, plus more from the same author.