ApiLNURL
Serializable LNURL representation for API responses.
Serializable LNURL representation for API responses.
Possible values: [pay, withdraw]
- pay
- withdraw
min objectrequired
Minimum payable amount supported by the LNURL-pay endpoint.
Decimal format of the amount, e.g. 1.5.
Raw base units as string, e.g. 1500000000000000000.
Possible values: Value must match regular expression ^[+-]?\d+$
1500000000000000000Token decimals, e.g. 18.
Token ticker, e.g. STRK.
Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.
max objectrequired
Maximum payable amount supported by the LNURL-pay endpoint.
Decimal format of the amount, e.g. 1.5.
Raw base units as string, e.g. 1500000000000000000.
Possible values: Value must match regular expression ^[+-]?\d+$
1500000000000000000Token decimals, e.g. 18.
Token ticker, e.g. STRK.
Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.
Maximum comment length accepted by the LNURL-pay endpoint.
Short human-readable description of the payee, when provided by the LNURL service.
Longer human-readable description of the payee, when provided by the LNURL service.
Optional icon for the payee, usually encoded as a data URL.
params objectrequired
Raw LNURL-pay metadata and callback parameters.
Possible values: [payRequest]
Original LNURL string.
min objectrequired
Minimum withdrawable amount supported by the LNURL-withdraw endpoint.
Decimal format of the amount, e.g. 1.5.
Raw base units as string, e.g. 1500000000000000000.
Possible values: Value must match regular expression ^[+-]?\d+$
1500000000000000000Token decimals, e.g. 18.
Token ticker, e.g. STRK.
Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.
max objectrequired
Maximum withdrawable amount supported by the LNURL-withdraw endpoint.
Decimal format of the amount, e.g. 1.5.
Raw base units as string, e.g. 1500000000000000000.
Possible values: Value must match regular expression ^[+-]?\d+$
1500000000000000000Token decimals, e.g. 18.
Token ticker, e.g. STRK.
Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.
params objectrequired
Raw LNURL-withdraw metadata and callback parameters.
Possible values: [withdrawRequest]
Original LNURL string.
{
"type": "pay",
"min": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
},
"max": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
},
"commentMaxLength": 0,
"shortDescription": "string",
"longDescription": "string",
"icon": "string",
"params": {
"tag": "payRequest",
"callback": "string",
"domain": "string",
"minSendable": 0,
"maxSendable": 0,
"metadata": "string",
"decodedMetadata": [
"string"
],
"commentAllowed": 0,
"url": "string"
}
}