@arkade-os/sdk Documentation - v0.4.0-next.8
Preparing search index...
WalletRepositoryImpl
Class WalletRepositoryImpl
Deprecated
This is only to be used in migration from storage V1
Implements
WalletRepository
Index
Constructors
constructor
Properties
version
Methods
[async
Dispose]
clear
clear
Transactions
clear
Utxos
clear
Vtxos
delete
Transactions
delete
Utxos
delete
Vtxos
get
Transaction
History
get
Utxos
get
Vtxos
get
Wallet
State
save
Transactions
save
Utxos
save
Vtxos
save
Wallet
State
Constructors
constructor
new
WalletRepositoryImpl
(
storage
:
StorageAdapter
)
:
WalletRepositoryImpl
Parameters
storage
:
StorageAdapter
Returns
WalletRepositoryImpl
Properties
Readonly
version
version
:
1
= ...
Methods
[async
Dispose]
"[asyncDispose]"
()
:
Promise
<
void
>
Returns
Promise
<
void
>
clear
clear
()
:
Promise
<
void
>
Clear all data from storage.
Returns
Promise
<
void
>
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
>
delete
Transactions
deleteTransactions
(
address
:
string
)
:
Promise
<
void
>
Parameters
address
:
string
Returns
Promise
<
void
>
delete
Utxos
deleteUtxos
(
address
:
string
)
:
Promise
<
void
>
Parameters
address
:
string
Returns
Promise
<
void
>
delete
Vtxos
deleteVtxos
(
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
>
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
Properties
version
Methods
[async
Dispose]
clear
clear
Transactions
clear
Utxos
clear
Vtxos
delete
Transactions
delete
Utxos
delete
Vtxos
get
Transaction
History
get
Utxos
get
Vtxos
get
Wallet
State
save
Transactions
save
Utxos
save
Vtxos
save
Wallet
State
@arkade-os/sdk Documentation - v0.4.0-next.8
Loading...
Deprecated
This is only to be used in migration from storage V1