Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).