Skip to content

Call a contract deployment method

POST
/v2/contract/deployment/{id}/query

Call a method on a specific contract deployment.

id
required
string

The deployment ID to query

X-API-Key
string

API Key

X-API-Secret
string

API Secret

object
methodName
required

The method name

string
balanceOf
paramCollection
required

The parameters for the method

Array<string>
[
"0x123..."
]
isShared
required

Whether the deployment is shared

boolean

The query result

object
query
required

The query parameters

object
response
required

The response from the contract method

object
{
"balance": "1000000000000000000"
}