Home

Pallet constant value

GET
https://dotassethub-playbook.nownodes.io/v1/pallets/{palletId}/consts/{constantItemId}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the value and metadata of a specific constant in a pallet.

Parameters

palletIdstringrequiredpath

Name or index of the pallet

constantItemIdstringrequiredpath

Name of the constant

atstringquery

Block hash or number to query at

metadatabooleanquery

Include metadata

useRcBlockbooleanquery

Treat 'at' as relay chain block identifier

Response

200OK

Constant value

400Bad Request

Invalid parameters

404Not Found

Constant not found

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable