Skip to content

Commit

Permalink
Expose MinRelayFee through WalletKitClient
Browse files Browse the repository at this point in the history
  • Loading branch information
gijswijs committed Oct 29, 2024
1 parent 108aadd commit 24c5cf7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions walletkit_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ type WalletKitClient interface {
EstimateFeeRate(ctx context.Context,
confTarget int32) (chainfee.SatPerKWeight, error)

// MinRelayFee returns the current minimum relay fee based on our chain
// backend in sat/kw.
MinRelayFee(ctx context.Context) (chainfee.SatPerKWeight, error)

// ListSweeps returns a list of sweep transaction ids known to our node.
// Note that this function only looks up transaction ids, and does not
// query our wallet for the full set of transactions. If startHeight is
Expand Down

0 comments on commit 24c5cf7

Please sign in to comment.