Token Balance

POST /balance

This endpoint retrieves the balance of a specific ERC20 token for a given wallet address.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <api_key>

The request must be sent as JSON with the following properties:

Body

Name
Type
Description

recipient

string

Wallet address for which to check the balance.

assetContractAddress

string

The ERC20 token contract address.

Response

{
  "status": 200,
  "message": "Balance fetched successfully",
  "data": {
    "asset": "ENSC",
    "balance": "1000", 
    "contractAddress": "0x05D032ac25d322df992303dCa074EE7392C117b9"
  }
}

Last updated