public static interface LightningApi.WalletBalanceResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsAccountBalance(java.lang.String key)
A mapping of each wallet account's name to its balance.
|
java.util.Map<java.lang.String,LightningApi.WalletAccountBalance> |
getAccountBalance()
Deprecated.
|
int |
getAccountBalanceCount()
A mapping of each wallet account's name to its balance.
|
java.util.Map<java.lang.String,LightningApi.WalletAccountBalance> |
getAccountBalanceMap()
A mapping of each wallet account's name to its balance.
|
LightningApi.WalletAccountBalance |
getAccountBalanceOrDefault(java.lang.String key,
LightningApi.WalletAccountBalance defaultValue)
A mapping of each wallet account's name to its balance.
|
LightningApi.WalletAccountBalance |
getAccountBalanceOrThrow(java.lang.String key)
A mapping of each wallet account's name to its balance.
|
long |
getConfirmedBalance()
The confirmed balance of a wallet(with >= 1 confirmations)
|
long |
getLockedBalance()
The total amount of wallet UTXOs held in outputs that are locked for
other usage.
|
long |
getReservedBalanceAnchorChan()
The amount of reserve required.
|
long |
getTotalBalance()
The balance of the wallet
|
long |
getUnconfirmedBalance()
The unconfirmed balance of a wallet(with 0 confirmations)
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getTotalBalance()
The balance of the wallet
int64 total_balance = 1;
long getConfirmedBalance()
The confirmed balance of a wallet(with >= 1 confirmations)
int64 confirmed_balance = 2;
long getUnconfirmedBalance()
The unconfirmed balance of a wallet(with 0 confirmations)
int64 unconfirmed_balance = 3;
long getLockedBalance()
The total amount of wallet UTXOs held in outputs that are locked for other usage.
int64 locked_balance = 5;
long getReservedBalanceAnchorChan()
The amount of reserve required.
int64 reserved_balance_anchor_chan = 6;
int getAccountBalanceCount()
A mapping of each wallet account's name to its balance.
map<string, .lnrpc.WalletAccountBalance> account_balance = 4;
boolean containsAccountBalance(java.lang.String key)
A mapping of each wallet account's name to its balance.
map<string, .lnrpc.WalletAccountBalance> account_balance = 4;
@Deprecated java.util.Map<java.lang.String,LightningApi.WalletAccountBalance> getAccountBalance()
getAccountBalanceMap()
instead.java.util.Map<java.lang.String,LightningApi.WalletAccountBalance> getAccountBalanceMap()
A mapping of each wallet account's name to its balance.
map<string, .lnrpc.WalletAccountBalance> account_balance = 4;
LightningApi.WalletAccountBalance getAccountBalanceOrDefault(java.lang.String key, LightningApi.WalletAccountBalance defaultValue)
A mapping of each wallet account's name to its balance.
map<string, .lnrpc.WalletAccountBalance> account_balance = 4;
LightningApi.WalletAccountBalance getAccountBalanceOrThrow(java.lang.String key)
A mapping of each wallet account's name to its balance.
map<string, .lnrpc.WalletAccountBalance> account_balance = 4;