Preparing search index...
The search index is not available
@arkade-os/sdk Documentation - v0.2.0
@arkade-os/sdk Documentation
VtxoRepository
Interface VtxoRepository
interface
VtxoRepository
{
addOrUpdate
(
vtxos
:
ExtendedVirtualCoin
[]
)
:
Promise
<
void
>
;
close
()
:
Promise
<
void
>
;
deleteAll
()
:
Promise
<
void
>
;
getAllVtxos
()
:
Promise
<
{
spendable
:
ExtendedVirtualCoin
[]
;
spent
:
ExtendedVirtualCoin
[]
}
,
>
;
getSpendableVtxos
()
:
Promise
<
ExtendedVirtualCoin
[]
>
;
getSpentVtxos
()
:
Promise
<
ExtendedVirtualCoin
[]
>
;
getSweptVtxos
()
:
Promise
<
ExtendedVirtualCoin
[]
>
;
open
()
:
Promise
<
void
>
;
}
Implemented by
IndexedDBVtxoRepository
Index
Methods
add
Or
Update
close
delete
All
get
All
Vtxos
get
Spendable
Vtxos
get
Spent
Vtxos
get
Swept
Vtxos
open
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
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
add
Or
Update
close
delete
All
get
All
Vtxos
get
Spendable
Vtxos
get
Spent
Vtxos
get
Swept
Vtxos
open
@arkade-os/sdk Documentation - v0.2.0
Loading...