standardPrincipal
Last updated
Was this helpful?
Creates a Clarity principal type for a standard (non-contract) address. Alias for standardPrincipalCV.
import { Cl } from '@stacks/transactions';
Cl.standardPrincipal('STB44HYPYAT2BB2QE513NSP81HTMYWBJP02HPGK6');If you want auto-detection of standard vs. contract principals, use Cl.principal instead.
const standardPrincipal: (address: string) => StandardPrincipalCV;StandardPrincipalCV
A Clarity standard principal value object.
Type: string
A Stacks address string.
Last updated
Was this helpful?
Was this helpful?