/v2/contracts/call/read/{contract_address}/{contract_name}/{function_name} REST
Path Parameters
contract_address
string
Stacks address.
contract_name
string
Contract name.
function_name
string
Function name.
Query Parameters
tip
string
The Stacks chain tip to query from.
Body Parameters
Content-Type
application/json
sender
string
The simulated tx-sender
arguments
array
An array of hex serialized Clarity values
Returns
object
GET request to get contract source
okay
A flag indicating the success or failure of the request. If true, the request was successful; otherwise, it failed.
result
The result of the contract source retrieval. It contains the source code of the requested contract.
cause
In case of failure, this field provides information about the cause or reason for the failure.
Request
1
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free