Get supported assets
List the currencies each wallet type (funding, spot, futures) supports.
On this page
Agent prompt
Write a small program that calls `instrument.get_supported_assets` on Grvt {environment} {using}.
Target environment: {environment} (chain ID {chainId}). Recorded signing cases keep their original environment.
{executionGuidance}
Read this first: {origin}/bundle/reference/rpc/get_supported_assets.md (~49 KB, plain Markdown: this page plus the AGENTS.md rules, Errors and retries, Python SDK, Environments).
Fetch other pages from the index at {origin}/llms.txt only as you need them. {origin}/downloads/contract.json is a machine-readable contract for tools, not for reading.
Rules: follow AGENTS.md; do not send requests without the user asking you to; read credentials from environment variables; never retry writes automatically; show me the code and how to run it. URLs and generated code samples on this page: Testnet (chain ID 326). Other code on this page doesn't change: it stays on testnet until you switch it in your code. Tutorials, signing cases and live tools always use testnet.
| SDK | client. |
|---|---|
| HTTP | POST https:/, or / for lite names (the SDKs' default) |
| WebSocket | method v1/supported_assets on wss:/, or /ws/lite for lite names |
| Auth | None (public) |
| Retries | Read: the SDKs retry retryable errors (rules) |
| Contract id | instrument. (RPCGetSupportedAssetsV1) |
Request
Body type EmptyRequest. Fields the server fills are left out.
No fields.
Response
Body type ApiGetSupportedAssetsResponse (the same object is the JSON-RPC result over WebSocket).
- Assets supported in funding wallets
4 fields of
SupportedAsset- The currency ID of the asset
- The readable currency code of the asset
- The number of decimals used for balance representation
- The asset cannot be transferred between wallets
- Assets supported in spot wallets Fields: same as
funding[]above. - Assets supported in futures wallets, grouped by mode
2 fields of
FuturesWalletAssets- The sub-account mode
1 value
SINGLE_ASSET_MODE(details). - Assets supported under this futures mode Fields: same as
funding[]above.
Errors
Errors come back as {"code", "message", "status"} (lite {"c", "m", "s"}) with the HTTP status. Codes this call can return (all error codes):
Example
Example code
from grvt import Grvt
with Grvt(env="testnet") as client:
resp = client.get_supported_assets()
print(resp)
Raw HTTP (set GRVT_DOMAIN, see Environments):
With full field names:
curl -sS "https://market-data.testnet.grvt.io/full/v1/supported_assets" \
-H "Content-Type: application/json" \
--data '{}'With lite field names:
curl -sS "https://market-data.testnet.grvt.io/lite/v1/supported_assets" \
-H "Content-Type: application/json" \
--data '{}'