Skip to content

Approve ERC20 token spending

POST
/v2/asset/erc20/approve

Approve a specific amount of ERC20 tokens to be spent by a spender using the provided contract deployment ID.

X-API-Key
string

API Key

X-API-Secret
string

API Secret

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

Approval operation result

object
queryId
required

The queryId of the approved ERC20 token

string