lnd/lnrpc/walletrpc/walletkit.yaml
ziggie 227ac770af
walletrpc: add new RemoveTransaction endpoint.
The RemoveTransaction endpoint removes the transaction with the
provided txid including all its descendants from the internal wallet.

We still keep watching for the address of the transation in case
the transcation is confirmed nonetheless. This command is particular
useful for neutrino backends because new bitcoind versions do not
reply with an invalid transaction error code when the tx published
fails to be included into the mempool (fullnodes do).
2023-12-12 14:18:16 +01:00

79 lines
2.6 KiB
YAML

type: google.api.Service
config_version: 3
http:
rules:
- selector: walletrpc.WalletKit.ListUnspent
post: "/v2/wallet/utxos"
body: "*"
- selector: walletrpc.WalletKit.LeaseOutput
post: "/v2/wallet/utxos/lease"
body: "*"
- selector: walletrpc.WalletKit.ReleaseOutput
post: "/v2/wallet/utxos/release"
body: "*"
- selector: walletrpc.WalletKit.ListLeases
post: "/v2/wallet/utxos/leases"
- selector: walletrpc.WalletKit.DeriveNextKey
post: "/v2/wallet/key/next"
body: "*"
- selector: walletrpc.WalletKit.DeriveKey
post: "/v2/wallet/key"
body: "*"
- selector: walletrpc.WalletKit.ImportPublicKey
post: "/v2/wallet/key/import"
body: "*"
- selector: walletrpc.WalletKit.ImportTapscript
post: "/v2/wallet/tapscript/import"
body: "*"
- selector: walletrpc.WalletKit.NextAddr
post: "/v2/wallet/address/next"
body: "*"
- selector: walletrpc.WalletKit.GetTransaction
get: "/v2/wallet/tx"
- selector: walletrpc.WalletKit.PublishTransaction
post: "/v2/wallet/tx"
body: "*"
- selector: walletrpc.WalletKit.SendOutputs
post: "/v2/wallet/send"
body: "*"
- selector: walletrpc.WalletKit.EstimateFee
get: "/v2/wallet/estimatefee/{conf_target}"
- selector: walletrpc.WalletKit.PendingSweeps
get: "/v2/wallet/sweeps/pending"
- selector: walletrpc.WalletKit.BumpFee
post: "/v2/wallet/bumpfee"
body: "*"
- selector: walletrpc.WalletKit.ListSweeps
get: "/v2/wallet/sweeps"
- selector: walletrpc.WalletKit.LabelTransaction
post: "/v2/wallet/tx/label"
body: "*"
- selector: walletrpc.WalletKit.FundPsbt
post: "/v2/wallet/psbt/fund"
body: "*"
- selector: walletrpc.WalletKit.SignPsbt
post: "/v2/wallet/psbt/sign"
body: "*"
- selector: walletrpc.WalletKit.FinalizePsbt
post: "/v2/wallet/psbt/finalize"
body: "*"
- selector: walletrpc.WalletKit.ListAccounts
get: "/v2/wallet/accounts"
- selector: walletrpc.WalletKit.RequiredReserve
get: "/v2/wallet/reserve"
- selector: walletrpc.WalletKit.ListAddresses
get: "/v2/wallet/addresses"
- selector: walletrpc.WalletKit.ImportAccount
post: "/v2/wallet/accounts/import"
body: "*"
- selector: walletrpc.WalletKit.SignMessageWithAddr
post: "/v2/wallet/address/signmessage"
body: "*"
- selector: walletrpc.WalletKit.VerifyMessageWithAddr
post: "/v2/wallet/address/verifymessage"
body: "*"
- selector: walletrpc.WalletKit.RemoveTransaction
post: "/v2/wallet/removetx"
body: "*"