POST
Build an approval transaction for ERC20 token
Path Params
-
coinstring requiredA cryptocurrency symbol or token ticker symbol -
walletIdstring required
Body Params
object
-
tokenNamestring required -
amountstring -
gasLimitnumber -
gasPricenumber -
eip1559objecteip1559 object
-
maxFeePerGasnumber required -
maxPriorityFeePerGasnumber required
-
Responses
200
OK
Response Body
object
-
txHexstring required -
txInfoobject requiredtxInfo object
-
amountstring required -
contractAddressstring required -
spenderstring required
-
-
recipientsarray of objects requiredrecipients object
-
addressstring required -
amountstring required -
datastring required
-
-
eip1559objecteip1559 object
-
maxFeePerGasstring required -
maxPriorityFeePerGasstring required
-
-
nextContractSequenceIdnumber required -
coinstring required -
walletIdstring required
400
Bad Request
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id