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