returns instance of type StandardPrincipalCV
import { standardPrincipalCV } from '@stacks/transactions';
const addr = standardPrincipalCV('SP2JXKMSH007NPYAQHKJPQMAQYAD90NQGTVJVQ02B');
// { type: 'address', address: { type: 0, version: 22, hash160: 'a5d9d331000f5b79578ce56bd157f29a9056f0d6' } }
Generated using TypeDoc
Converts stx address in to StandardPrincipalCV clarity type