Get a list of addresses from index start
to end
with type
, which could be recieve/change
Do compound, which send all UTXOs from this Account
to destination
, if destination
is not set, the amount
will be sent to the first receive address of this Account
Optional
destination: string | AddressScans all addresses, including recieve/change
up to Config.MAX_SCAN_SIZE
, which defaults to 5000.
Addresses without UTXOs will be filtered
You don't have to explicitly call this method before calling
other methods like send
or balance
, as it will be taken care of
by the library.
Sends transaction, where ouputs
can be multiple recipient
The UTXOs used for transaction will
be randomly selected across all addresses in this Account
Send the whole balance from this Account
to recipient
Return UTXOs of all addresses in this Account
Static
fromInitialize an Account object from mnemonic pharse and account index
Static
fromInitialize an Account object from private key string and account index
Static
fromInitialize an Account object from seed (without password) and account index
Generated using TypeDoc
Get an address at
index
withtype
, which could be recieve/change