I am trying to get single invoice with GET /v2/invoices/lookup
endpoint on LND REST API by its id as documented here: https://api.lightning.community/?javascript#v2-invoices-lookup. But whatever I do I get "Not found"
response. How does one call this endpoint? I tried /v2/invoices/lookup?set_id={id}
and add set_id
to the request body and call it without parameters at all.
Moreover it is not documented what set_id
param actually is. I supose it is same incremental id as is add_index
in response of POST /v1/invoices
endpoint. Is that true?
I know about GET /v1/invoice/{r_hash_str}
endpoint but I would like to use the other because I prefer using integer id over long hash.
One more, it is true that r_hash
is always 44 symbols long or is it variable?
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments