Get contract metadata.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Added in Blockbook v0.6.0: single-contract lookup endpoint /api/v2/contract/{contract}, so clients can refresh ERC-4626 vault data (protocols=erc4626) and fiat pricing without reloading full account info. The endpoint did not exist in 0.5.0. EVM chains only - applicable on Polygon.
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.
Parameters
contractstringrequiredpathSmart contract address.
currencystringquerySecondary currency code for rates.
protocolsArray<string>queryOptional protocol enrichments, comma-separated or repeated.
Response
HTTP 200 Polygon Blockbook response for getContractInfo.
Domain or validation error. JSON body {"error": "..."}.
Unauthorized: missing or invalid api-key header. The NOWNodes gateway returns the plain-text body "Unknown API_key".
Method Not Allowed: gateway-level response for unknown routes.
Internal Server Error. JSON body {"error":"Internal server error"}.