Hinkal WaaS

Execute Contract

Execute a contract call (EVM or Tron)

POST/waas/wallet/contract/execute
https://api.hinkal.io/waas/wallet/contract/execute

For EVM: provide data as hex-encoded calldata. For Tron: provide functionSelector and parameters instead.

Request body application/jsonrequired

NameTypeDescription
organizationIdrequiredstring
userIdrequiredstring
fromAddressrequiredstring
chainIdrequiredstring
torequiredstringContract address
datastring(EVM) Hex-encoded calldata
valuestring(EVM) ETH value in wei; (Tron) TRX value
functionSelectorstring(Tron) Function signature, e.g. transfer(address,uint256)
parametersany[](Tron) Function parameters
noncerequiredstring

Responses

200Transaction submitted

No body

400Bad request
NameTypeDescription
statusrequiredstring
One of: "error"
messagerequiredstring
401Invalid or missing X-Stamp
NameTypeDescription
statusrequiredstring
One of: "error"
messagerequiredstring
500Internal server error
NameTypeDescription
statusrequiredstring
One of: "error"
messagerequiredstring