Get the contract metadata for the metadata key
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Attempt to fetch the metadata of a contract. The contract is identified with [Contract Address] and [Contract Name] in the URL path. The metadata key is identified with [Clarity Metadata Key].
In the response, data is formatted as JSON.
Parameters
contract_addressstringrequiredpathStacks address
contract_namestringrequiredpathContract name
clarity_metadata_keystringrequiredpathMetadata key
tipstringqueryThe Stacks chain tip to query from. If tip == latest, the query will be run from the latest known tip (includes unconfirmed state).
Response
200OK
Success
400Bad Request
Failed to retrieve constant value from contract