Query Deployment Function
POST /contract/deployment/{id}/query
POST
/contract/deployment/{id}/query
Query a function on the deployed contract without changing its state.
Note: This API is currently in beta and may be subject to changes.
Authorizations
Parameters
Path Parameters
id
required
string format: uuid
UUID of the deployment
Request Body required
object
chainId
The ID of the blockchain.
integer
abiId
The UUID of the ABI.
string format: uuid
walletId
The UUID of the wallet.
string format: uuid
contractAddress
The contract address.
string
methodName
The function to call.
string
paramCollection
Parameters for the function call.
Array<string>
Responses
200
Deployment Query Result.
object
query
object
deploymentId
A UUID string
string format: uuid
methodName
The method to be called
string
paramCollection
The parameters to be passed
Array
response
The response data, which can contain any type of value
object
key
additional properties
any
400
Bad Request
object
code
integer
500
status
string
INTERNAL_SERVER_ERROR
404
Deployment not found.
object
code
integer
500
status
string
INTERNAL_SERVER_ERROR