Hinkal WaaS
Approve Token
POST /waas/wallet/contract/approve
POST
/waas/wallet/contract/approvehttps://api.hinkal.io/waas/wallet/contract/approve
Request body application/jsonrequired
| Name | Type | Description |
|---|---|---|
organizationIdrequired | string | |
userIdrequired | string | |
fromAddressrequired | string | |
chainIdrequired | string | |
tokenrequired | string | Token contract address |
spenderrequired | string | Address being approved |
amountrequired | string | Approval amount |
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 |