Skip to main content
POST
Get token approval data

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"

addressTo
string

Destination address on the output chain. Only required by routes whose approval step signs the destination, currently HyperCore withdrawals. Format follows the output chain, so it is not restricted to EVM.

Example:

"8jZnXYnZB1MJQG6zBXyouzcycsaPTrZtPXPHDNifjYaC"

usePermit
boolean

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

Example:

false

Response

Success

approvals
object[]
required
signatures
object[]
required