Approve ERC20 token spending
POST /v2/asset/erc20/approve
POST
/v2/asset/erc20/approve
Approve a specific amount of ERC20 tokens to be spent by a spender using the provided contract deployment ID.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-API-Key
string
API Key
X-API-Secret
string
API Secret
Request Body required
Section titled “Request Body required ”object
spender
required
The spender address of the ERC20 token
string
amount
required
The amount of the ERC20 token to approve
string
contractDeploymentId
required
The FSCO contractDeploymentId
string
signingWalletId
required
The signingWalletId of the minter
string
Responses
Section titled “ Responses ”Approval operation result
object
queryId
required
The queryId of the approved ERC20 token
string