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: Call read-only function
Optional
initOverrides: RequestInitCall 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:
Call read-only function
SmartContractsApiInterface
Optional
initOverrides: RequestInitRetrieves details of a contract with a given contract_id
Get contract info
Optional
initOverrides: RequestInitRetrieves details of a contract with a given contract_id
Get contract info
SmartContractsApiInterface
Optional
initOverrides: RequestInitAttempt to fetch data from a contract data map. The contract is identified with Stacks Address contract_address
and Contract Name contract_address
in the URL path. The map is identified with [Map Name]. The key to lookup in the map is supplied via the POST body. This should be supplied as the hex string serialization of the key (which should be a Clarity value). Note, this is a JSON string atom. In the response, data
is the hex serialization of the map response. Note that map responses are Clarity option types, for non-existent values, this is a serialized none, and for all other responses, it is a serialized (some ...) object.
Get specific data-map inside a contract
Optional
initOverrides: RequestInitAttempt to fetch data from a contract data map. The contract is identified with Stacks Address contract_address
and Contract Name contract_address
in the URL path. The map is identified with [Map Name]. The key to lookup in the map is supplied via the POST body. This should be supplied as the hex string serialization of the key (which should be a Clarity value). Note, this is a JSON string atom. In the response, data
is the hex serialization of the map response. Note that map responses are Clarity option types, for non-existent values, this is a serialized none, and for all other responses, it is a serialized (some ...) object.
Get specific data-map inside a contract
SmartContractsApiInterface
Optional
initOverrides: RequestInitRetrieves a list of events that have been triggered by a given contract_id
Get contract events
Optional
initOverrides: RequestInitRetrieves a list of events that have been triggered by a given contract_id
Get contract events
SmartContractsApiInterface
Optional
initOverrides: RequestInitRetrieves a contract interface with a given contract_address
and contract name
Get contract interface
Optional
initOverrides: RequestInitRetrieves a contract interface with a given contract_address
and contract name
Get contract interface
SmartContractsApiInterface
Optional
initOverrides: RequestInitRetrieves the Clarity source code of a given contract, along with the block height it was published in, and the MARF proof for the data Get contract source
Optional
initOverrides: RequestInitRetrieves the Clarity source code of a given contract, along with the block height it was published in, and the MARF proof for the data
Get contract source
SmartContractsApiInterface
Optional
initOverrides: RequestInitRetrieves a list of contracts based on the following traits listed in JSON format - functions, variables, maps, fungible tokens and non-fungible tokens Get contracts by trait
Optional
initOverrides: RequestInitRetrieves a list of contracts based on the following traits listed in JSON format - functions, variables, maps, fungible tokens and non-fungible tokens
Get contracts by trait
SmartContractsApiInterface
Optional
initOverrides: RequestInitGenerated using TypeDoc
SmartContractsApi - interface
Export
Interface
SmartContractsApiInterface