Protected
configurationOptional
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
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
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
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
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
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
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
Optional
initOverrides: RequestInitProtected
requestOptional
initOverrides: RequestInitRest
...middlewares: Middleware[]Rest
...postMiddlewares: ((context: ResponseContext) => Promise<void | Response>)[]Rest
...preMiddlewares: ((context: RequestContext) => Promise<void | FetchParams>)[]Generated using TypeDoc
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