binance_get_convert_asset_info
Check the decimal precision Binance Convert accepts per asset, so you can round amounts correctly and avoid -1111 precision errors before requesting a quote.
Instructions
Show the decimal precision (fraction) Convert accepts for each asset.
Calls GET /sapi/v1/convert/assetInfo (SIGNED, IP weight 100). fraction is the
number of decimal places an amount may carry for that asset on the convert rail —
sending more precision than this is what -1111 rejects.
When to Use:
Before
binance_get_convert_quote, to roundfrom_amount/to_amountcorrectly.When a quote was rejected for precision.
When NOT to Use:
To find which pairs exist or their min/max sizes — that is
binance_get_convert_pairs.
Returns:
One row per asset: asset and its accepted decimal places, filtered client-side when
asset is given. Markdown display is capped at 100 rows.
Examples: params = {} params = {"asset": "BTC"}
Error Handling:
-2015 means the key lacks permission or this machine's IP is not on the key's
allowlist; the spot testnet has no /sapi endpoints at all (404).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |