Background
When using the estimate fee endpoint in the REST API aka
https://api.lightning.community/rest/#get-v1-transactions-fee
it does not require the AddrToAmount parameter like this GRPC version requires, furthermore when making a request it returns the error "no outputs"
Your environment
- version of
lnd
0.7
- which operating system (
uname -a on *Nix)
Mac OS 10.14.6
- version of
btcd, bitcoind, or other backend
bitcoind 18.1
- any other relevant environment details
Steps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
I made a request to the REST api over TOR like so
http://vmsgj6t6t2l542rt3hqacpyqtt5upimhxfefiejkkrjiylblwzmys4id.onion/lnd-rest/btc/v1/transactions/fee?target_conf=2
Expected behaviour
The API should require the AddrToAmount parameter but this is not stated in the documentation
Tell us what should happen
Actual behaviour
AddrToAmount is not required according to the documentation and a "no outputs" error is returned
Background
When using the estimate fee endpoint in the REST API aka
https://api.lightning.community/rest/#get-v1-transactions-fee
it does not require the AddrToAmount parameter like this GRPC version requires, furthermore when making a request it returns the error "no outputs"
Your environment
lnd0.7
uname -aon *Nix)Mac OS 10.14.6
btcd,bitcoind, or other backendbitcoind 18.1
Steps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
I made a request to the REST api over TOR like so
http://vmsgj6t6t2l542rt3hqacpyqtt5upimhxfefiejkkrjiylblwzmys4id.onion/lnd-rest/btc/v1/transactions/fee?target_conf=2
Expected behaviour
The API should require the AddrToAmount parameter but this is not stated in the documentation
Tell us what should happen
Actual behaviour
AddrToAmount is not required according to the documentation and a "no outputs" error is returned