@arkade-os/sdk Documentation - v0.3.11
Preparing search index...
WalletRepositoryImpl
Class WalletRepositoryImpl
Implements
WalletRepository
Index
Constructors
constructor
Methods
clear
Transactions
clear
Utxos
clear
Vtxos
get
Transaction
History
get
Utxos
get
Vtxos
get
Wallet
State
remove
Utxo
remove
Vtxo
save
Transactions
save
Utxos
save
Vtxos
save
Wallet
State
Constructors
constructor
new
WalletRepositoryImpl
(
storage
:
StorageAdapter
)
:
WalletRepositoryImpl
Parameters
storage
:
StorageAdapter
Returns
WalletRepositoryImpl
Methods
clear
Transactions
clearTransactions
(
address
:
string
)
:
Promise
<
void
>
Parameters
address
:
string
Returns
Promise
<
void
>
clear
Utxos
clearUtxos
(
address
:
string
)
:
Promise
<
void
>
Parameters
address
:
string
Returns
Promise
<
void
>
clear
Vtxos
clearVtxos
(
address
:
string
)
:
Promise
<
void
>
Parameters
address
:
string
Returns
Promise
<
void
>
get
Transaction
History
getTransactionHistory
(
address
:
string
)
:
Promise
<
ArkTransaction
[]
>
Parameters
address
:
string
Returns
Promise
<
ArkTransaction
[]
>
get
Utxos
getUtxos
(
address
:
string
)
:
Promise
<
ExtendedCoin
[]
>
Parameters
address
:
string
Returns
Promise
<
ExtendedCoin
[]
>
get
Vtxos
getVtxos
(
address
:
string
)
:
Promise
<
ExtendedVirtualCoin
[]
>
Parameters
address
:
string
Returns
Promise
<
ExtendedVirtualCoin
[]
>
get
Wallet
State
getWalletState
()
:
Promise
<
WalletState
|
null
>
Returns
Promise
<
WalletState
|
null
>
remove
Utxo
removeUtxo
(
address
:
string
,
utxoId
:
string
)
:
Promise
<
void
>
Parameters
address
:
string
utxoId
:
string
Returns
Promise
<
void
>
remove
Vtxo
removeVtxo
(
address
:
string
,
vtxoId
:
string
)
:
Promise
<
void
>
Parameters
address
:
string
vtxoId
:
string
Returns
Promise
<
void
>
save
Transactions
saveTransactions
(
address
:
string
,
txs
:
ArkTransaction
[]
)
:
Promise
<
void
>
Parameters
address
:
string
txs
:
ArkTransaction
[]
Returns
Promise
<
void
>
save
Utxos
saveUtxos
(
address
:
string
,
utxos
:
ExtendedCoin
[]
)
:
Promise
<
void
>
Parameters
address
:
string
utxos
:
ExtendedCoin
[]
Returns
Promise
<
void
>
save
Vtxos
saveVtxos
(
address
:
string
,
vtxos
:
ExtendedVirtualCoin
[]
)
:
Promise
<
void
>
Parameters
address
:
string
vtxos
:
ExtendedVirtualCoin
[]
Returns
Promise
<
void
>
save
Wallet
State
saveWalletState
(
state
:
WalletState
)
:
Promise
<
void
>
Parameters
state
:
WalletState
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
clear
Transactions
clear
Utxos
clear
Vtxos
get
Transaction
History
get
Utxos
get
Vtxos
get
Wallet
State
remove
Utxo
remove
Vtxo
save
Transactions
save
Utxos
save
Vtxos
save
Wallet
State
@arkade-os/sdk Documentation - v0.3.11
Loading...