Skip to main content
POST
Check token allowance

Authorizations

Authorization
string
header
required

Body

application/json
quoteId
string
required

Quote ID from a prior quote response.

Example:

"69a02882f48d56c923119d95"

addressFrom
string
required

Address from which the amount will be deducted (EVM or Tron)

Pattern: ^(0x[0-9a-fA-F]{40}|T[1-9A-HJ-NP-Za-km-z]{33})$
Example:

"0xb7dE6b6eEBF7401aFea5a49D6405C9048fEf2d40"

usePermit
boolean

Whether to use permit instead of approve. Defaults to true for swaps that support it.

Example:

false

Response

Success

The response is of type boolean.