Magidoc

Wallet
Interface

A generic wallet which stores value in one of our supported currencies.

Fields

#

accountId

ID !
Non-null

balance

For USD and USDT wallets, the balance in US cents as a float. See the concrete wallet type for units, nullability and exceptions.

id

ID !
Non-null

isExternal

Non-null

lnurlp

pendingIncomingBalance

Non-null

splits

Non-null

Payment split rules on this wallet. Always empty for BTC wallets.

transactions

Transactions are ordered anti-chronologically, ie: the newest transaction will be first

transactionsByAddress

Transactions are ordered anti-chronologically, ie: the newest transaction will be first

walletCurrency

Non-null

Implementations

#

Implemented by BTCWallet , UsdtWallet , UsdWallet .

Usages

#

References

#