- REST API
- NodeJS
- Java
- Rust
Privy supports fetching wallet balances by the wallet ID.To do so, make a replacing The response might look like
GET request to<wallet_id> with the ID of your desired wallet.Response
The wallet’s native token balance in the smallest denomination (e.g., wei for Ethereum). Returned
as a string to maintain precision.
The blockchain type (e.g., “ethereum”, “solana”).
The wallet’s public address.
Example
For example, your app might fetch a wallet’s balance using thecURL request below.
