Hinkal WaaS

Approve Token

POST /waas/wallet/contract/approve

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

Request body application/jsonrequired

NameTypeDescription
organizationIdrequiredstring
userIdrequiredstring
fromAddressrequiredstring
chainIdrequiredstring
tokenrequiredstringToken contract address
spenderrequiredstringAddress being approved
amountrequiredstringApproval amount
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