Optional
network: StacksNetwork | "mainnet" | "testnet" | "devnet" | "mocknet"A Stacks address string (encoded with c32check)
Public key to address
const address = publicKeyToAddress("03ef788b3830c00abe8f64f62dc32fc863bc0b2cafeb073b6c8e1c7657d9c2c3ab");
const address = publicKeyToAddress("03ef788b3830c00abe8f64f62dc32fc863bc0b2cafeb073b6c8e1c7657d9c2c3ab", STACKS_TESTNET);
Generated using TypeDoc
Convert a public key to an address.