GetUnconfirmedBalance

Requires wallet support.

The getunconfirmedbalance RPC returns the wallet’s total unconfirmed balance.

Parameters: none

Result—the balance of unconfirmed transactions paying this wallet

Name Type Presence Description
result number (pai’s) Required
(exactly 1)
The total number of pai’s paid to this wallet in unconfirmed transactions

Example

pai-cli -testnet getunconfirmedbalance

Result (no unconfirmed incoming payments):

0.00000000

See also

  • GetBalance: gets the balance in decimal pai’s across all accounts or for a particular account.