Get all collateral asset info
List the collateral settings of every currency that can be used as collateral.
On this page
Agent prompt
Write a small program that calls `instrument.get_all_collateral_asset_info` 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_all_collateral_asset_info.md (~50 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/ on wss:/, or /ws/lite for lite names |
| Auth | None (public) |
| Retries | Read: the SDKs retry retryable errors (rules) |
| Contract id | instrument. (RPCGetAllCollateralAssetInfoV1) |
Request
Body type EmptyRequest. Fields the server fills are left out.
No fields.
Response
Body type ApiGetAllCollateralAssetInfoResponse (the same object is the JSON-RPC result over WebSocket).
Collateral configuration for every collateral-eligible asset (CVR > 0)
- The asset
- CVR, expressed in percentage points. 0 = not usable as collateral.
- CDC limit, native units. 0 = untracked / unlimited.
- MBR - per-asset ceiling on the annual borrow rate, expressed in percentage points; the tier borrow rate never exceeds this.
- Effective manual-repay/convert fee = max((1-CVR)/MRR, RFR), expressed in percentage points.
- Collateral-deposit-cap utilization status: normal / reduceOnly / autoExchange.
3 values
- Show this currency only when the sub-account holds a balance of it
- The vault whose shares this currency is; 0 for an ordinary currency.
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_all_collateral_asset_info()
print(resp)
Raw HTTP (set GRVT_DOMAIN, see Environments):
With full field names:
curl -sS "https://market-data.testnet.grvt.io/full/v1/get_all_collateral_asset_info" \
-H "Content-Type: application/json" \
--data '{}'With lite field names:
curl -sS "https://market-data.testnet.grvt.io/lite/v1/get_all_collateral_asset_info" \
-H "Content-Type: application/json" \
--data '{}'