Skip to main content
POST
/
ramp
/
evm
/
approve
Approve EVM token
curl --request POST \
  --url https://api.etherfuse.com/ramp/evm/approve \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "assetId": "0xcC77c598d42f2f78Beb42C91d12B9d4041a5cE29",
  "blockchain": "base",
  "wallet": "0xf82567432381D1326484E5A9140ABCa4294f82D0"
}
'
{
  "currentAllowance": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
  "message": "Already approved — no transaction needed",
  "transaction": null
}

Authorizations

Authorization
string
header
required

API key sent in the Authorization header.

Body

application/json

Request body for generating an EVM token-approval transaction.

Documentation schema for [evm_approve_proxy]. The handler forwards the body to the bridge service verbatim; this type only describes the expected shape.

assetId
string
required

The token contract address to approve (0x-prefixed, 40 hex chars).

blockchain
string
required

The EVM chain to approve on (currently base).

wallet
string
required

The user's EVM wallet address (0x-prefixed, 40 hex chars).

amount
string | null

Amount to approve in base units (token's smallest denomination). For a 6-decimal token, 10000000 = 10 tokens. Omit to approve the maximum (recommended — a one-time approval covers all future offramps).

Response

Approval transaction, or transaction: null if already approved