mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 20:54:20 +01:00
Add explorer-like endpoint to retrieve spendable vtxos for address (#37)
* Add GetSpendableVtxosWithId to repo * Add endpoint to retrieve spendable vtxos
This commit is contained in:
committed by
GitHub
parent
9e9e61fb89
commit
554eaeb406
@@ -18,4 +18,5 @@ type VtxoRepository interface {
|
||||
AddVtxos(ctx context.Context, vtxos []Vtxo) error
|
||||
SpendVtxos(ctx context.Context, vtxos []VtxoKey) error
|
||||
GetVtxos(ctx context.Context, vtxos []VtxoKey) ([]Vtxo, error)
|
||||
GetSpendableVtxosWithPubkey(ctx context.Context, pubkey string) ([]Vtxo, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user