Skip to content
docs

tonRawAddress

tonRawAddress(address): string | null

Defined in: protocol-swap2-core/src/util.ts:121

A TON address in raw form (<workchain>:<64 hex>, lowercase) from a raw string, a user-friendly one (bounceable or not, checksum verified), or an address object (toRawString() / workChain + hash); null for anything else. Two spellings of one address compare equal in this form.

unknown

string | null