Skip to main content

ParseAddressOutput

Output from the address parser endpoint.

addressstringrequired

Canonical parsed address or recipient identifier.

typestringrequired

Parsed address type, e.g. BITCOIN, LIGHTNING, LNURL, SOLANA, STARKNET or CITREA.

lnurl object

Serializable LNURL representation for API responses.

type stringrequired

Serializable LNURL representation for API responses.

Possible values: [pay, withdraw]

min objectrequired

Minimum payable amount supported by the LNURL-pay endpoint.

amountdecimalrequired

Decimal format of the amount, e.g. 1.5.

rawAmountbigintrequired

Raw base units as string, e.g. 1500000000000000000.

Possible values: Value must match regular expression ^[+-]?\d+$

Example: 1500000000000000000
decimalsintegerrequired

Token decimals, e.g. 18.

symbolstringrequired

Token ticker, e.g. STRK.

chainstringrequired

Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.

max objectrequired

Maximum payable amount supported by the LNURL-pay endpoint.

amountdecimalrequired

Decimal format of the amount, e.g. 1.5.

rawAmountbigintrequired

Raw base units as string, e.g. 1500000000000000000.

Possible values: Value must match regular expression ^[+-]?\d+$

Example: 1500000000000000000
decimalsintegerrequired

Token decimals, e.g. 18.

symbolstringrequired

Token ticker, e.g. STRK.

chainstringrequired

Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.

commentMaxLengthintegerrequired

Maximum comment length accepted by the LNURL-pay endpoint.

shortDescriptionstring

Short human-readable description of the payee, when provided by the LNURL service.

longDescriptionstring

Longer human-readable description of the payee, when provided by the LNURL service.

iconstring

Optional icon for the payee, usually encoded as a data URL.

params objectrequired

Raw LNURL-pay metadata and callback parameters.

tagstringrequired

Possible values: [payRequest]

callbackstringrequired
domainstringrequired
minSendableint64required
maxSendableint64required
metadatastringrequired
decodedMetadataarray[]required
commentAllowedintegerrequired
urlstringrequired

Original LNURL string.

min object

Unified amount type for all API responses.

amountdecimalrequired

Decimal format of the amount, e.g. 1.5.

rawAmountbigintrequired

Raw base units as string, e.g. 1500000000000000000.

Possible values: Value must match regular expression ^[+-]?\d+$

Example: 1500000000000000000
decimalsintegerrequired

Token decimals, e.g. 18.

symbolstringrequired

Token ticker, e.g. STRK.

chainstringrequired

Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.

max object

Unified amount type for all API responses.

amountdecimalrequired

Decimal format of the amount, e.g. 1.5.

rawAmountbigintrequired

Raw base units as string, e.g. 1500000000000000000.

Possible values: Value must match regular expression ^[+-]?\d+$

Example: 1500000000000000000
decimalsintegerrequired

Token decimals, e.g. 18.

symbolstringrequired

Token ticker, e.g. STRK.

chainstringrequired

Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.

amount object

Unified amount type for all API responses.

amountdecimalrequired

Decimal format of the amount, e.g. 1.5.

rawAmountbigintrequired

Raw base units as string, e.g. 1500000000000000000.

Possible values: Value must match regular expression ^[+-]?\d+$

Example: 1500000000000000000
decimalsintegerrequired

Token decimals, e.g. 18.

symbolstringrequired

Token ticker, e.g. STRK.

chainstringrequired

Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.

ParseAddressOutput
{
"address": "string",
"type": "string",
"lnurl": {
"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"
}
},
"min": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
},
"max": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
},
"amount": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
}
}