Get contract metadata.
Returns indexed token/contract metadata and optional current protocol enrichments such as ERC4626.
blockHeight reflects the indexer's best block at request time. ERC4626 fields under protocols.erc4626 are fetched through JSON-RPC calls pinned to that exact blockHeight, so the ERC4626 values are a consistent snapshot. If a vault is detected but the underlying asset metadata cannot be resolved, protocols.erc4626 contains error and omits asset; callers must not derive fiat rates or human-unit exchange rates from such a partial response.
Load estimate: Medium; indexed metadata is cheap, but optional protocol enrichment can add backend RPC calls and token metadata lookups.
Path parameters
Smart contract address.
Query parameters
Secondary currency code for rates.
Optional protocol enrichments, comma-separated or repeated. Currently supported value: erc4626. Unknown values are rejected.
[ "erc4626" ]
Response
Contract metadata.
Example response
{
"protocols": {
"erc4626": {
"totalAssets": "100000000",
"convertToAssets1Share": "100000000",
"convertToShares1Asset": "100000000",
"previewDeposit1Asset": "100000000",
"previewRedeem1Share": "100000000"
}
}
}