Call read-only function
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:
| Path Parameters | 
|---|
| contract_addressstring —  REQUIREDStacks address | 
| contract_namestring —  REQUIREDContract name | 
| function_namestring —  REQUIREDFunction name | 
| Query Parameters | 
|---|
| tipstringThe Stacks chain tip to query from | 
| Request Body  —  REQUIRED 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. | 
|---|
| senderstring —  REQUIREDThe simulated tx-sender | 
| argumentsstring[] —  REQUIREDAn array of hex serialized Clarity values | 
| Responses | ||||
|---|---|---|---|---|
| 200Success 
 |