Index of every page on this site: llms.txt
All skills
binance avatar

/binance-agentic-wallet

@f422171 #1 trending · Oct 2026
by binancebinance/binance-skills-hub1.1k stars
249
Run it yourself

Use when the user mentions wallet connect/sign in/sign out, check balance, send/transfer tokens, swap/buy/sell tokens, DEX trade, limit/market order, cancel order, get a quote, transaction history, wallet settings, daily limit, slippage, MEV protection, supported chains, send to ENS domain, send to .eth or .bnb name, resolve domain name to address, domain-based transfer, send to .ai Agent ID name, prediction market, place prediction, redeem winnings, prediction PnL, x402 payment, HTTP 402 Payment Required, check/revoke/manage token approvals, DeFi protocols, staking, liquidity pool, LP, yield farming, deposit, redeem, stake, unstake, claim rewards/fees, health factor, APY, TVL, sign external transaction, contract call, sign message, EIP-712, developer mode, speed up/cancel/replace transaction, pending/stuck transactions, gas price, gas fee, network fee, fee levels, gas tiers, or any on-chain wallet operation.

Use this Skill: https://skilld.dev/gh/binance/binance-skills-hub/binance-agentic-wallet

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesmarket-order.md

≈2.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Market Order

Swap tokens on-chain at the current market price, get quotes, and check market-order status.

Security Pre-Check

Before executing market-order swap, complete the swap security pre-check in security.md §1. This includes auditing non-trusted target tokens and presenting the security summary to the user.

Fees

Market orders are subject to Binance Web3 Wallet trading fees. For the current fee schedule, see: https://www.binance.com/en/support/faq/detail/87cbb1ca0df34a348eaecb73c26167d7

market-order swap

Swap one token for another at the current market price.

Syntax

baw market-order swap --fromTokenQty <fromTokenQty> --fromToken <fromToken> --toToken <toToken> --binanceChainId <binanceChainId> [--slippage <slippage>] [--mev <mev>] [--gasLevel <gasLevel>] --json

Parameters

Parameter Required Default Description
--fromTokenQty Yes — Amount to swap, in human-readable units
--fromToken Yes — Source token contract address
--toToken Yes — Destination token contract address
--binanceChainId Yes — Binance chain ID: 56 (BSC), CT_501 (Solana). For a full list, see wallet chains
--slippage No auto Slippage tolerance: "auto" or 0–100 (e.g., "2.5" = 2.5%)
--mev No true MEV protection: "true" or "false"
--gasLevel No MEDIUM Gas level: "LOW", "MEDIUM", or "HIGH"

Example

# Swap 0.1 BNB to USDT (defaults: slippage auto, mev on, gas level MEDIUM)
baw market-order swap --fromTokenQty 0.1 --fromToken 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE --toToken 0x55d398326f99059fF775485246999027B3197955 --binanceChainId 56 --json

# Swap 100 USDT to BNB with custom settings
baw market-order swap --fromTokenQty 100 --fromToken 0x55d398326f99059fF775485246999027B3197955 --toToken 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE --binanceChainId 56 --slippage 5 --mev false --gasLevel MEDIUM --json

Response

{ "success": true, "data": { "orderId": "1234567890" } }

⚠️ Mandatory: an orderId is NOT a completed swap — poll to a terminal state before reporting success

A success: true response with an orderId means the swap has only been submitted. It does NOT mean the swap executed. The order can still end up FAILED on-chain (with txHash: null) due to slippage, insufficient liquidity, routing, or network issues. Treating success: true / orderId as "done" is a real failure mode — it makes you report a success that never happened.

You MUST do this after every market-order swap — do not skip it:

  1. Do NOT tell the user the swap succeeded yet. At most say it has been submitted and you are confirming.
  2. Poll market-order list --orderId <orderId> --json until status reaches a terminal state (FINISHED or FAILED). PENDING is not terminal — keep polling.
  3. Report based on the terminal status, not on the submit response:
    • FINISHED → report success, include txHash and actual received amount.
    • FAILED → tell the user it failed (note txHash may be null); do not present it as success or leave it ambiguous. Suggest retrying or a different token if appropriate.
    • Still PENDING after a reasonable wait (e.g. ~30s) → tell the user it is still processing, not that it succeeded; keep an eye on it or let them re-check with market-order list.

market-order quote

Get a swap quote without executing the trade. Use this to show the user the expected output before they commit.

Syntax

baw market-order quote --fromTokenQty <fromTokenQty> --fromToken <fromToken> --toToken <toToken> --binanceChainId <binanceChainId> [--slippage <slippage>] --json

Parameters

Parameter Required Default Description
--fromTokenQty Yes — Amount to swap, in human-readable units
--fromToken Yes — Source token contract address
--toToken Yes — Destination token contract address
--binanceChainId Yes — Binance chain ID: 56 (BSC), CT_501 (Solana). For a full list, see wallet chains
--slippage No auto Slippage tolerance: "auto" or 0–100 (e.g., "2.5" = 2.5%)

Example

# Get a quote for swapping 0.1 BNB to USDT
baw market-order quote --fromTokenQty 0.1 --fromToken 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE --toToken 0x55d398326f99059fF775485246999027B3197955 --binanceChainId 56 --json

Response

{
  "success": true,
  "data": {
    "fromCoinSymbol": "BNB",
    "fromCoinAmount": "0.1",
    "toCoinSymbol": "USDT",
    "toCoinAmount": "87.686076196559241381",
    "slippage": 0.005
  }
}

market-order list

List market orders, optionally filtered by status, token, or time range.

Syntax

baw market-order list [--orderId <orderId>] [--status <status>] [--fromToken <fromToken>] [--toToken <toToken>] [--startTime <startTime>] [--endTime <endTime>] [--page <page>] [--pageSize <pageSize>] [--binanceChainId <binanceChainId>] --json

Parameters

Parameter Required Default Description
--orderId No — Look up a specific market order by ID (ignores other filters)
--status No — PENDING, FINISHED, or FAILED
--fromToken No — Filter by source token address
--toToken No — Filter by target token address
--startTime No — Start time (ms timestamp)
--endTime No — End time (ms timestamp)
--page No 1 Page number
--pageSize No 20 Items per page, max 100
--binanceChainId No — Binance chain ID: 56 (BSC), CT_501 (Solana). For a full list, see wallet chains

Example

# List all market orders
baw market-order list --json

# Look up a specific market order
baw market-order list --orderId 1234567890 --json

# List pending market orders
baw market-order list --status PENDING --json

Response

{
  "success": true,
  "data": {
    "total": 1,
    "page": 1,
    "pageSize": 20,
    "list": [
      {
        "orderType": "market",
        "orderId": "1234567890",
        "chain": "56",
        "fromToken": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
        "fromTokenName": "BNB",
        "fromTokenQty": "1.0",
        "toToken": "0x55d398326f99059fF775485246999027B3197955",
        "toTokenName": "USDT",
        "status": "FINISHED",
        "slippage": "0.5000",
        "txHash": "0xabcdef...",
        "bookTime": "2026-04-01T23:46:54+08:00",
        "updatedTime": "2026-04-01T23:46:56+08:00"
      }
    ]
  }
}

Market Order Status

Status Description
PENDING Being processed on-chain
FINISHED Executed successfully
FAILED Execution failed

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warnings1d3 checks · Risk SAFE
  • Gen Agent Trust Hub1d

    This skill provides a secure and well-structured interface for the Binance Agentic Wallet CLI. It includes numerous security guardrails such as mandatory user confirmations for all financial transactions, automatic token security audits before trading, and explicit defenses against prompt injection from on-chain data or third-party API outputs. All external dependencies and network calls are directed to official Binance or affiliate infrastructure.

  • Socket3d

    1 alert: gptSecurity

  • Snyk3d

    Risk: MEDIUM · 1 issue

Signed by skilld at f422171. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 13 hours ago.

Activeupdated 4 days ago
Other metadata
metadata
{
  "author": "binance-web3-team",
  "version": "1.13.0",
  "requiredCliVersion": "1.11.0",
  "openclaw": {
    "requires": {
      "bins": [
        "baw"
      ]
    },
    "install": [
      {
        "kind": "node",
        "package": "@binance/agentic-wallet",
        "bins": [
          "baw"
        ],
        "label": "Install Binance Agentic Wallet CLI (npm)"
      }
    ]
  }
}

README badge

README badge for binance/binance-skills-hub/binance-agentic-wallet