# ParseAddressOutput

Output from the address parser endpoint.

**address**stringrequired

Canonical parsed address or recipient identifier.

**type**stringrequired

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`]

* pay
* withdraw

**min** <!-- -->objectrequired

Minimum payable amount supported by the LNURL-pay endpoint.

**amount**decimalrequired

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

**rawAmount**bigintrequired

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

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

**Example:<!-- -->&#x20;**`1500000000000000000`

**decimals**integerrequired

Token decimals, e.g. `18`.

**symbol**stringrequired

Token ticker, e.g. `STRK`.

**chain**stringrequired

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

**max** <!-- -->objectrequired

Maximum payable amount supported by the LNURL-pay endpoint.

**amount**decimalrequired

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

**rawAmount**bigintrequired

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

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

**Example:<!-- -->&#x20;**`1500000000000000000`

**decimals**integerrequired

Token decimals, e.g. `18`.

**symbol**stringrequired

Token ticker, e.g. `STRK`.

**chain**stringrequired

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

**commentMaxLength**integerrequired

Maximum comment length accepted by the LNURL-pay endpoint.

**shortDescription**string

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

**longDescription**string

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

**icon**string

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

**params** <!-- -->objectrequired

Raw LNURL-pay metadata and callback parameters.

**tag**stringrequired

**Possible values:** \[`payRequest`]

**callback**stringrequired

**domain**stringrequired

**minSendable**int64required

**maxSendable**int64required

**metadata**stringrequired

**decodedMetadata**array\[]required

**commentAllowed**integerrequired

**url**stringrequired

Original LNURL string.

**min** <!-- -->objectrequired

Minimum withdrawable amount supported by the LNURL-withdraw endpoint.

**amount**decimalrequired

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

**rawAmount**bigintrequired

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

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

**Example:<!-- -->&#x20;**`1500000000000000000`

**decimals**integerrequired

Token decimals, e.g. `18`.

**symbol**stringrequired

Token ticker, e.g. `STRK`.

**chain**stringrequired

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

**max** <!-- -->objectrequired

Maximum withdrawable amount supported by the LNURL-withdraw endpoint.

**amount**decimalrequired

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

**rawAmount**bigintrequired

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

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

**Example:<!-- -->&#x20;**`1500000000000000000`

**decimals**integerrequired

Token decimals, e.g. `18`.

**symbol**stringrequired

Token ticker, e.g. `STRK`.

**chain**stringrequired

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

**params** <!-- -->objectrequired

Raw LNURL-withdraw metadata and callback parameters.

**tag**stringrequired

**Possible values:** \[`withdrawRequest`]

**k1**stringrequired

**callback**stringrequired

**domain**stringrequired

**minWithdrawable**int64required

**maxWithdrawable**int64required

**defaultDescription**stringrequired

**balanceCheck**string

**payLink**string

**url**stringrequired

Original LNURL string.

**min** <!-- -->object

Unified amount type for all API responses.

**amount**decimalrequired

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

**rawAmount**bigintrequired

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

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

**Example:<!-- -->&#x20;**`1500000000000000000`

**decimals**integerrequired

Token decimals, e.g. `18`.

**symbol**stringrequired

Token ticker, e.g. `STRK`.

**chain**stringrequired

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

**max** <!-- -->object

Unified amount type for all API responses.

**amount**decimalrequired

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

**rawAmount**bigintrequired

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

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

**Example:<!-- -->&#x20;**`1500000000000000000`

**decimals**integerrequired

Token decimals, e.g. `18`.

**symbol**stringrequired

Token ticker, e.g. `STRK`.

**chain**stringrequired

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

**amount** <!-- -->object

Unified amount type for all API responses.

**amount**decimalrequired

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

**rawAmount**bigintrequired

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

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

**Example:<!-- -->&#x20;**`1500000000000000000`

**decimals**integerrequired

Token decimals, e.g. `18`.

**symbol**stringrequired

Token ticker, e.g. `STRK`.

**chain**stringrequired

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"

  }

}
```
