Canister Balances
Theory
In a manner similar to centralized exchanges, which take in deposited assets and keep track of user balances within their database, the Finny Protocol also accepts asset deposits and manages individual user balances within its canister using a structure known as the book balance. Please see #Depositing Assets and #Withdrawing Assets for instruction on sending and removing assets from the canister.
Practical Book Balance Viewing
- View Book Balance Candid
Where token type is listed below
- View Book Balance In Terminal Using dfx
An Example:
We show an example to get the the book balance of ICP for an actual prinicipal
Last updated