Call read-only function
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Call a read-only public function on a given smart contract.
The smart contract and function are specified using the URL path. The arguments and the simulated tx-sender are supplied via the POST body in the following JSON format:
Body
map of arguments and the simulated tx-sender where sender is either a Contract identifier or a normal Stacks address, and arguments is an array of hex serialized Clarity values.
Describes representation of a Type-0 Stacks 2.0 transaction. https://github.com/stacksgov/sips/blob/main/sips/sip-005/sip-005-blocks-and-transactions.md#type-0-transferring-an-asset
senderstringrequiredThe simulated tx-sender
argumentsArray<string>requiredAn array of hex serialized Clarity values
Parameters
contract_addressstringrequiredpathStacks address
contract_namestringrequiredpathContract name
function_namestringrequiredpathFunction name
tipstringqueryThe Stacks chain tip to query from. If tip == latest, the query will be run from the latest known tip (includes unconfirmed state).
Response
Success