From e597aab7532926631703dee18658c19fbf5c3e2d Mon Sep 17 00:00:00 2001 From: Instabot Date: Fri, 15 Apr 2022 09:53:33 +0100 Subject: [PATCH] Added more detail on the response to `buyChannel` and added a link to the API docs --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3bd8a20..44e1afe 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,11 @@ const buy = await bt.buyChannel({ local_balance: 20000, }); -//Then pay for the order onchain using btc_address or via lightning with lnurl +//Then pay for the order onchain using buy.btc_address or +//via lightning with buy.ln_invoice (BOLT 11 encoded payment request), or buy.lnurl_channel (LNURL address) //Check order status and details const order = await bt.getOrder(buy.order_id); ``` + +For more details, see the [Blocktank API docs](https://synonym.readme.io/reference/nodeinfo).