[bug]: rest endpoint v2/wallet/address/next
not returning an address
#8942
Replies: 4 comments
-
Are you sending a POST request? And are you running a release build or a self-compiled binary? |
Beta Was this translation helpful? Give feedback.
-
Yes
|
Beta Was this translation helpful? Give feedback.
-
Then you need to compile with the correct build tags. See https://lightning.engineering/api-docs/api/lnd/index.html#experimental-services. Also, Converting to a discussion as this is troubleshooting and not a bug. |
Beta Was this translation helpful? Give feedback.
-
Yes I'm converting the dict to json data before making the request. Thanks, was not aware those needed to be activated when building from source, all working fine. |
Beta Was this translation helpful? Give feedback.
-
Background
https://localhost:8080/v2/wallet/address/next
With (and without) param body:
["type": 1]
Is returning:
Your environment
lnd
: 0.18.2-betauname -a
on *Nix): macOSbtcd
,bitcoind
, or other backend: Bitcoin Core v26.2Steps to reproduce
When I run the above endpoint I expect an address to be returned, however I am getting an empty array.
Expected behaviour
Return an address.
Actual behaviour
See above..
Beta Was this translation helpful? Give feedback.
All reactions