The address string to parse.
import { Address } from '@stacks/transactions';
const address = Address.parse('SP000000000000000000002Q6VF78');
// { version: 22, versionChar: 'P', hash160: '0000000000000000000000000000000000000000' }
const address = Address.parse('ST000000000000000000002AMW42H.pox');
// { version: 22, versionChar: 'P', hash160: '0000000000000000000000000000000000000000', contractName: 'pox' }
Generated using TypeDoc
Parse a C32 Stacks address string to an address object.