Tokens
Tokens are ERC-20 compatible assets used in vaults and tracked by the Pareto protocol across multiple chains.
Structure
Each token object includes:
_id
(string) — Unique identifiername
(string) — Name of the tokensymbol
(string) — Token symbol (e.g. USDC, WETH)chainId
(string) — Chain this token belongs toaddress
(string) — On-chain contract address (0x...)decimals
(number) — Token decimal precisioncolor
(string) — UI color reference for this tokenoracle
(object) — Price oracle metadata:address
(string) — Oracle contract addressabi
(array) — Oracle ABI definitionprotocol
(string) — Data source (e.g., Idle, AaveV2, Morpho, Clearpool)fee
(number, optional) — Optional oracle feeAdditional optional config fields (e.g.
fromBlock
,USDCAddress
, ...)
createdAt
,updatedAt
(string) — ISO timestampscreatedBy
,updatedBy
(string) — System actor IDs
Endpoints
GET /v1/tokens HTTP/1.1
Host: api.pareto.credit
Accept: */*
A list of tokens
{
"data": [
{
"_id": "text",
"name": "text",
"symbol": "text",
"decimals": 1,
"address": "text",
"chainId": "text",
"logoURI": "text",
"underlying": true,
"createdAt": "2025-07-05T21:02:37.908Z",
"updatedAt": "2025-07-05T21:02:37.908Z",
"createdBy": "text",
"updatedBy": "text"
}
],
"totalCount": 1
}
GET /v1/tokens/{tokenId} HTTP/1.1
Host: api.pareto.credit
Accept: */*
Token details
{
"_id": "text",
"name": "text",
"symbol": "text",
"decimals": 1,
"address": "text",
"chainId": "text",
"logoURI": "text",
"underlying": true,
"createdAt": "2025-07-05T21:02:37.908Z",
"updatedAt": "2025-07-05T21:02:37.908Z",
"createdBy": "text",
"updatedBy": "text"
}
Last updated