assetDetails
Get asset details for a specific asset or all assets
get/api/v1/assetDetails
Query parameters
asset_idinteger · int16Optional
Asset identifier returned by assetDetails; omit to return all supported assets.
Responses
200
A successful response.
application/json
codeinteger · int32RequiredExample:
200messagestringOptional
400
Bad request
application/json
get/api/v1/assetDetails
GET /api/v1/assetDetails HTTP/1.1
Host: mainnet.zklighter.elliot.ai
Accept: */*
{
"code": 200,
"message": "text",
"asset_details": [
{
"asset_id": 1,
"symbol": "ETH",
"l1_decimals": 18,
"decimals": 18,
"min_transfer_amount": "0.01",
"min_withdrawal_amount": "0.01",
"margin_mode": "enabled",
"index_price": "3024.66",
"l1_address": "0x0000000000000000000000000000000000000000",
"global_supply_cap": "1000000",
"liquidation_fee": "0.01",
"liquidation_threshold": "0.8",
"loan_to_value": "0.5",
"price_decimals": 4,
"total_supplied": "100",
"user_supply_cap": "1000",
"liquidation_factor": "0.9",
"multiplier": "1.000000000000000000"
}
]
}Last updated
Was this helpful?