Skip to main content

List collateral tokens

querycollateralTokensPaginatedTokens!

Returns tokens accepted as collateral. Scope to one loan token with loanTokenId to get the collaterals valid against it.

Arguments

firstInt
Number of items requested (max 200)
skipInt
Number of items skipped
loanTokenIdString
searchString

Response

items[Token!]
idID!
symbolString!
addressAddress!
decimalsInt!
chainIdInt!
pageInfoPageInfo
countTotalInt!
Total number of items
Try it
Query
Variables
Example response
{
"data": {
"collateralTokens": {
"items": [
{
"id": "3519534d-ac90-4d62-9375-9e93de29c7ef",
"symbol": "cbBTC",
"address": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",
"decimals": 8,
"chainId": 8453
},
{
"id": "f0759211-72f7-4526-ae79-0507f3d2bf13",
"symbol": "WETH",
"address": "0x4200000000000000000000000000000000000006",
"decimals": 18,
"chainId": 8453
}
],
"pageInfo": {
"countTotal": 2
}
}
}
}