Cl.principal — Creates a Clarity principal type, represented as a JS object
Cl.principal
A Stacks address (optionally with a contract name in the string)
import { Cl } from '@stacks/transactions';Cl.principal('ST000000000000000000002AMW42H');Cl.principal('ST000000000000000000002AMW42H.asset'); Copy
import { Cl } from '@stacks/transactions';Cl.principal('ST000000000000000000002AMW42H');Cl.principal('ST000000000000000000002AMW42H.asset');
serialize, deserialize
Generated using TypeDoc
Cl.principal
— Creates a Clarity principal type, represented as a JS object