Property ActiveAccount
Properties that provide information about ActiveAccount data provided by SSS.
ActiveAddress
A property that provides the account's address for an ActiveAccount
type: line
// window.SSS
const address = window.SSS.activeAddress;
// sss-module
import { getActiveAddress } from "sss-module";
const address = getActiveAddress();
ActivePublicKey
A property that provides the account's public key for an ActiveAccount
type: line
// window.SSS
const pubkey = window.SSS.activePublicKey;
// sss-module
import { getActivePublicKey } from "sss-module";
const pubkey = getActivePublicKey();
ActiveNetworkType
Property that provides the network-type of the account set in ActiveAccount
type: number
// window.SSS
const networkType = window.SSS.activeNetworkType;
// sss-module
import { getActiveNetworkType } from "sss-module";
const networkType = getActiveNetworkType();
ActiveName
Property that provides the customized name of the account set in ActiveAccount
type: line
// window.SSS
const name = window.SSS.activeName;
// sss-module
import { getActiveName } from "sss-module";
const name = getActiveName();