GETDetect address
https://ton-mainnet.nodit.io/api/v2/detectAddressValidates an address and returns it in all standard formats. Use this to convert between address formats or to validate user input. Returns raw format (0:abc), base64 bounceable (EQ), base64 non-bounceable (UQ), and URL-safe variants.
The account address to query, in raw or user-friendly format.
Returns true if the request succeeded; otherwise false. See the error field for details.
TonLib type identifier for address detection results. Refer to the TonLib type reference for a full list.
Raw address in workchain_id:account_id hex format (e.g., 0:abc...def). This is the canonical on-chain representation without flags or checksum.
Bounceable form of the address in standard base64 and URL-safe base64. Bounceable addresses (prefix E...) instruct wallet software to set the bounce flag on outgoing messages, so funds are returned if the destination contract cannot process them.
TonLib type identifier for base64 address encoding variants. Refer to the TonLib type reference for a full list.
Address in standard base64 encoding (48 characters, uses + and /).
Address in URL-safe base64 encoding (48 characters, uses - and _ instead of + and /).
Non-bounceable form of the address in standard base64 and URL-safe base64. Non-bounceable addresses (prefix U...) instruct wallet software to clear the bounce flag, ensuring funds are credited even if the recipient has no deployed contract.
TonLib type identifier for base64 address encoding variants. Refer to the TonLib type reference for a full list.
Address in standard base64 encoding (48 characters, uses + and /).
Address in URL-safe base64 encoding (48 characters, uses - and _ instead of + and /).
The encoding format of the address as provided in the request (e.g., raw_form, dns, friendly_bounceable, friendly_non_bounceable).
Returns true if the user-friendly address has the testnet-only flag set (0x80); otherwise false. This is a flag in the address encoding that tells wallet software to reject this address on mainnet. The underlying account itself can exist on both networks.
Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.