Account
Get last unused on-chain address
GET
/account/address/bitcoinPrivateGet the most recently generated, still unused on-chain address
Permissions: account:deposits:read
OK
application/json- response
address*stringBitcoin address
import { createHttpClient } from '@ln-markets/sdk/rest/v3'const client = createHttpClient({ key: 'your-key', secret: 'your-secret', passphrase: 'your-passphrase',})const result = await client.account.getBitcoinAddress(){ "address": "bc1q..."}