Submarine and Reverse Submarine Swaps on LNbits via boltz.exchange
API
Link : https://boltz.exchange
Created by, dni
GET
/boltz/api/v1/swap/reverse
JSON list of reverse submarine swaps
curl -X GET {{ root_url }}/boltz/api/v1/swap/reverse -H "X-Api-Key:
{{ user.wallets[0].adminkey }}"
POST
/boltz/api/v1/swap/reverse
{"wallet": <string>, "onchain_address": <string>,
"amount": <integer>, "instant_settlement":
<boolean>}
JSON create a reverse-submarine swaps
curl -X POST {{ root_url }}/boltz/api/v1/swap/reverse -H "X-Api-Key:
{{ user.wallets[0].adminkey }}"
GET /boltz/api/v1/swap
JSON list of submarine swaps
curl -X GET {{ root_url }}/boltz/api/v1/swap -H "X-Api-Key: {{
user.wallets[0].adminkey }}"
POST /boltz/api/v1/swap
{"wallet": <string>, "refund_address": <string>,
"amount": <integer>}
JSON create a submarine swaps
curl -X POST {{ root_url }}/boltz/api/v1/swap -H "X-Api-Key: {{
user.wallets[0].adminkey }}"
POST
/boltz/api/v1/swap/refund/{swap_id}
JSON submarine swap
curl -X GET {{ root_url }}/boltz/api/v1/swap/refund/{swap_id} -H
"X-Api-Key: {{ user.wallets[0].adminkey }}"
POST
/boltz/api/v1/swap/status/{swap_id}
swap status
curl -X GET {{ root_url }}/boltz/api/v1/swap/status/{swap_id} -H
"X-Api-Key: {{ user.wallets[0].adminkey }}"
GET
/boltz/api/v1/swap/check
JSON pending swaps
curl -X GET {{ root_url }}/boltz/api/v1/swap/check -H "X-Api-Key: {{
user.wallets[0].adminkey }}"
GET
/boltz/api/v1/swap/boltz
JSON boltz config
curl -X GET {{ root_url }}/boltz/api/v1/swap/boltz -H "X-Api-Key: {{
user.wallets[0].inkey }}"
GET
/boltz/api/v1/swap/mempool
mempool url
curl -X GET {{ root_url }}/boltz/api/v1/swap/mempool -H "X-Api-Key:
{{ user.wallets[0].inkey }}"