API Reference
Lightning Address
Decode a Lightning Address [POST]

Decode a Lightning Address

https://sandboxapi.bitnob.co/api/v1/lnurl/decodelnaddress (opens in a new tab)

decoding a lightning address


Body Parameters

ParametertypeRequired
lnAddress
the lightning address to decode
string

Request

lightning address/ Decode a Lightning Address
curl --request POST \
     --url https://sandboxapi.bitnob.co/api/v1/lnurl/decodelnaddress \
     --header 'Authorization: Bearer API-KEY' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "lnAddress": "fiatjaf@dollar.lol"
}
'

Responses

🟢 200 - Result example
{
"status": true,
"message": "lnurl decoded successfully",
"data": {
  "image": "",
  "identifier": "fiatjaf@dollar.lol",
  "description": "Satoshis to fiatjaf@dollar.lol.",
  "callback": "https://dollar.lol/.well-known/lnurlp/fiatjaf",
  "commentAllowed": 0,
  "satMinSendable": 1,
  "satMaxSendable": 100000
}
}