Managing Confidential Balances

Confidential balances have two stages: Pending and Available. When tokens are first transferred or deposited into the confidential account, they are in a “pending” state and need to be finalized.

Steps for Checking and Applying Balances

  1. Check Confidential Balance:

    • You can check the balance using the standard command:

      spl-token balance <ACCOUNT_PUBKEY>
  2. Move Pending Balance to Available:

    • To access tokens in the pending balance, apply the balance, making it available for use.

      spl-token apply-pending-balance --address <ACCOUNT_PUBKEY>

Last updated