AssetClass Enumeration
Defines the asset classes that can appear in price requestbase and quote descriptors as well as discovery responses. The ty pe field inside asset descriptors must match one of the following values.
| Value | Description | Notes |
|---|---|---|
erc20 | Fungible ERC-20 token on an EVM chain. | Require address (EIP-55 checksum). |
nft | NFT asset or collection. | Require contract (address); optional token_id. |
fiat | Fiat currency. | Require ISO 4217 code (e.g., USD). |
native | Native gas token for a chain. | Provide symbol; optional wrapped_address for the wrapped variant. |
index | Synthetic/composite index. | Provide symbol referencing BlockDB index ID. |
Usage Notes
- Additional asset classes may be introduced over time; clients should treat unknown values as unsupported.
- Asset descriptors may include supplementary metadata (e.g.,
decimals) but only the fields listed above are required for price endpoints.