Preparing search index...
The search index is not available
@arkade-os/sdk Documentation - v0.2.0
@arkade-os/sdk Documentation
IndexedDBVtxoRepository
Class IndexedDBVtxoRepository
Implements
VtxoRepository
Index
Constructors
constructor
Properties
DB_
NAME
DB_
VERSION
STORE_
NAME
Methods
add
Or
Update
close
delete
All
get
All
Vtxos
get
Spendable
Vtxos
get
Spent
Vtxos
get
Swept
Vtxos
open
delete
Constructors
constructor
new
IndexedDBVtxoRepository
()
:
IndexedDBVtxoRepository
Returns
IndexedDBVtxoRepository
Properties
Static
Readonly
DB_
NAME
DB_NAME
:
"wallet-db"
Static
Readonly
DB_
VERSION
DB_VERSION
:
1
Static
Readonly
STORE_
NAME
STORE_NAME
:
"vtxos"
Methods
add
Or
Update
addOrUpdate
(
vtxos
:
ExtendedVirtualCoin
[]
)
:
Promise
<
void
>
Parameters
vtxos
:
ExtendedVirtualCoin
[]
Returns
Promise
<
void
>
close
close
()
:
Promise
<
void
>
Returns
Promise
<
void
>
delete
All
deleteAll
()
:
Promise
<
void
>
Returns
Promise
<
void
>
get
All
Vtxos
getAllVtxos
()
:
Promise
<
{
spendable
:
ExtendedVirtualCoin
[]
;
spent
:
ExtendedVirtualCoin
[]
}
,
>
Returns
Promise
<
{
spendable
:
ExtendedVirtualCoin
[]
;
spent
:
ExtendedVirtualCoin
[]
}
>
get
Spendable
Vtxos
getSpendableVtxos
()
:
Promise
<
ExtendedVirtualCoin
[]
>
Returns
Promise
<
ExtendedVirtualCoin
[]
>
get
Spent
Vtxos
getSpentVtxos
()
:
Promise
<
ExtendedVirtualCoin
[]
>
Returns
Promise
<
ExtendedVirtualCoin
[]
>
get
Swept
Vtxos
getSweptVtxos
()
:
Promise
<
ExtendedVirtualCoin
[]
>
Returns
Promise
<
ExtendedVirtualCoin
[]
>
open
open
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Static
delete
delete
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
DB_
NAME
DB_
VERSION
STORE_
NAME
Methods
add
Or
Update
close
delete
All
get
All
Vtxos
get
Spendable
Vtxos
get
Spent
Vtxos
get
Swept
Vtxos
open
delete
@arkade-os/sdk Documentation - v0.2.0
Loading...