parse function identifies the type of address and extracts any embedded data.
Usage
Supported Types
CLASSIC(G…)MUXED(M…)CONTRACT(C…)
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
High-level address parsing.
parse function identifies the type of address and extracts any embedded data.
import { parse } from 'stellar-address-kit';
const result = parse("MA7Q...QD");
// { type: 'MUXED', baseAddress: 'GA7Q...', id: '123' }
// Dart includes a parseOrThrow variant for convenience
final result = parseOrThrow("MA7Q...QD");
CLASSIC (G…)MUXED (M…)CONTRACT (C…)