Retrieve native balance

Retrieve the native balance of a wallet by:

  1. The wallet id

  2. The blockchain and wallet address

1. Get native balance by wallet id

πŸ“˜

Read how to get all token balances by wallet id.

Request Endpoint: reference

HTTP

GET /api/wallets/{walletId}/balance
Parameter
Param Type
Description
Data Type
Mandatory

{walletId}

Path

The ID of the wallet

String

βœ…

Example Request

HTTP

GET /api/wallets/f21dc1e5-4253-487e-8927-3b5247437f99/balance

Response Body

JSON

2. Get native balance by blockchain and wallet address

πŸ“˜

Read how to get all token balances by by blockchain and wallet address.

Request Endpoint: reference

HTTP

Parameter
Param Type
Description
Data Type
Mandatory

{secretType}

Path

Indication on which chain the balance should be fetched

String

βœ…

{walletAddress}

Path

The address of the wallet

String

βœ…

Example Request

HTTP

Response Body

JSON

Last updated