Skip to content

Get ERC20 Allowance

GET
/asset/erc20/allowance/{contractDeploymentId}/{ownerAddress}/{spenderAddress}

Retrieve the allowance set for a spender on behalf of a wallet.

Note: This endpoint is in beta and may be subject to changes.

Authorizations

Parameters

Path Parameters

contractDeploymentId
required
string

The deployment ID of the ERC20 contract.

ownerAddress
required
string

The owner wallet address.

spenderAddress
required
string

The spender wallet address.

Responses

200

ERC20 allowance retrieved successfully.

object
allowance

The allowance amount for the spender.

string
owner

The owner address.

string
spender

The spender address.

string
contractDeploymentId

The deployment ID of the ERC20 contract.

string

400

Bad request, missing or invalid parameters.

object
code

HTTP status code.

integer
status

Status message, e.g., “INTERNAL_SERVER_ERROR”.

string