GET
/
get-balance-whitelist
Get Balance and Whitelist Status
curl --request GET \
  --url https://api.sandbox.brickken.com/get-balance-whitelist \
  --header 'x-api-key: <api-key>'
{
  "bknFees": "<string>",
  "senderBalance": "<string>"
}
Retrieves token balance and whitelist status for an address.

Query Parameters

  • tokenSymbol (required): Token symbol
  • address (required): Wallet address
  • chainId (required): Blockchain network ID

Example

curl --request GET \
  --url 'https://api.sandbox.brickken.com/get-balance-whitelist?tokenSymbol=EXMPL&address=0x742d35Cc6634C0532925a3b8D4C9db96c4b4d8b&chainId=0x89' \
  --header 'x-api-key: YOUR_API_KEY'

Response

{
  "balance": "500000000000000000",
  "isWhitelisted": true
}

Authorizations

x-api-key
string
header
required

Query Parameters

tokenSymbol
string
required

The symbol of the token.

investorEmail
string
required

The email of the investor.

Response

200 - application/json

Successful response

bknFees
string

Amount of BKN fees.

senderBalance
string

Balance of the sender.