Withdrawals

Withdraw on-chain

https://api.lnmarkets.com/v3
POST/account/withdraw/on-chainPrivate

Request a new on-chain withdrawal. The withdrawal request will be reviewed and processed asynchronously. Withdrawals at or above the Travel Rule threshold are rejected with a 403 TRAVEL_RULE_REQUIRED error and must be completed in the LN Markets app, where the required transfer information can be provided. Repeated below-threshold withdrawals in a short time period may also be rejected with a 403 SELF_HOSTED_EDD_REQUIRED error if their sum is above the threshold; complete these in the LN Markets app as well.

Request Body

application/json
amount*integer

Amount to withdraw

address*string

Address to withdraw to

{
  "amount": 21000000,
  "address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
}

Response