ApiLNURLWithdraw
Serializable LNURL-withdraw representation for API responses.
Marks the LNURL payload as an LNURL-withdraw response.
Possible values: [withdraw]
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": "withdraw",
"min": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
},
"max": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
},
"params": {
"tag": "withdrawRequest",
"k1": "string",
"callback": "string",
"domain": "string",
"minWithdrawable": 0,
"maxWithdrawable": 0,
"defaultDescription": "string",
"balanceCheck": "string",
"payLink": "string",
"url": "string"
}
}