curl --request GET \
--url https://api.orderly.org/v1/public/token{
"success": true,
"data": {
"rows": [
{
"token": "ETH",
"base_weight": 0.8,
"discount_factor": 0.02,
"haircut": 0.95,
"user_max_qty": 111,
"is_collateral": true,
"decimals": 6,
"minimum_withdraw_amount": 0.000001,
"on_chain_swap": true,
"token_hash": "0xd6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa",
"chain_details": [
{
"chain_id": 43113,
"contract_address": "0x5d64c9cfb0197775b4b3ad9be4d3c7976e0d8dc3",
"cross_chain_withdrawal_fee": 0,
"decimals": 18,
"withdraw_fee": 2,
"display_name": "ETH"
}
]
}
]
},
"timestamp": 1702989203989
}Limit: 10 requests per 1 second per IP address
GET /v1/public/token
Retrieves the available tokens to be used as collateral within Orderly.
curl --request GET \
--url https://api.orderly.org/v1/public/token{
"success": true,
"data": {
"rows": [
{
"token": "ETH",
"base_weight": 0.8,
"discount_factor": 0.02,
"haircut": 0.95,
"user_max_qty": 111,
"is_collateral": true,
"decimals": 6,
"minimum_withdraw_amount": 0.000001,
"on_chain_swap": true,
"token_hash": "0xd6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa",
"chain_details": [
{
"chain_id": 43113,
"contract_address": "0x5d64c9cfb0197775b4b3ad9be4d3c7976e0d8dc3",
"cross_chain_withdrawal_fee": 0,
"decimals": 18,
"withdraw_fee": 2,
"display_name": "ETH"
}
]
}
]
},
"timestamp": 1702989203989
}Filter results by chain_id
OK
true
Show child attributes
Show child attributes
name of token
"ETH"
1 for usdc
0.8
null for usdc
0.02
0 for usdc
0.95
-1 = infinity > usdc
111
True, the asset can be collateral, users are allowed to manually swap, and we will do auto-swap
true
precision of the token
6
0.000001
True, the asset is eligible for on-chain swaps on at least one supported blockchain
true
"0xd6aca1be9729c13d677335161321649cccae6a591554772516700f986f942eaa"
Show child attributes
43113
"0x5d64c9cfb0197775b4b3ad9be4d3c7976e0d8dc3"
0
18
2
USDC.e for Mantle chain
"ETH"
1702989203989