Hinkal WaaS
Execute Contract
Execute a contract call (EVM or Tron)
POST
/waas/wallet/contract/executehttps://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
| Name | Type | Description |
|---|---|---|
organizationIdrequired | string | |
userIdrequired | string | |
fromAddressrequired | string | |
chainIdrequired | string | |
torequired | string | Contract address |
data | string | (EVM) Hex-encoded calldata |
value | string | (EVM) ETH value in wei; (Tron) TRX value |
functionSelector | string | (Tron) Function signature, e.g. transfer(address,uint256) |
parameters | any[] | (Tron) Function parameters |
noncerequired | string |
Responses
200Transaction submitted
No body
400Bad request
| Name | Type | Description |
|---|---|---|
statusrequired | string | |
messagerequired | string |
401Invalid or missing X-Stamp
| Name | Type | Description |
|---|---|---|
statusrequired | string | |
messagerequired | string |
500Internal server error
| Name | Type | Description |
|---|---|---|
statusrequired | string | |
messagerequired | string |