salt-sdk - v0.0.45
    Preparing search index...

    Type Alias SaltAccount

    A specifc Salt account within an Organisation

    type SaltAccount = {
        childIndex?: number | null;
        creatorAddress: string;
        derivationPath?: string | null;
        evmAddress?: Address;
        id: string;
        keyshares?: Record<string, string[]>;
        kind?: "root" | "child";
        name: string;
        organisationId: string;
        parentAccountId?: string | null;
        policies: Policy[];
        publicKey: string;
        signers: string[];
        status?: ChildAccountStatus | null;
    }
    Index
    childIndex?: number | null

    Child only: N in the child's derivation path m/N.

    creatorAddress: string

    The public key of the account creator

    '0x1234567890123456789012345678901234567890'
    
    derivationPath?: string | null

    Child only: the non-hardened BIP32 path off the root key.

    'm/0'
    
    evmAddress?: Address

    The EIP-55 EVM address that you send tokens to or from, derived from publicKey on read. Undefined while the account is still mid-setup (no public key yet).

    '0xfc07043CA1687663F919FaDc7E416e4F48b2e676'
    
    id: string

    The ID of the account

    '6824aa9c27c0fa91b32800a4'
    
    keyshares?: Record<string, string[]>

    keyshare records

    kind?: "root" | "child"

    'child' for an account soft-derived from a root account (see Salt.createChildAccount), 'root' otherwise. Undefined when the API predates child accounts.

    name: string

    The name of the account

    'Staking'
    
    organisationId: string

    The ID of the organisation this account belongs to

    '679240f8d14559b720d3ba54'
    
    parentAccountId?: string | null

    Child only: the ID of the root account it is derived from.

    policies: Policy[]

    Policies for the account

    publicKey: string

    The account's secp256k1 public key (hex, 0x-prefixed). During account setup this is an empty string; a non-empty value indicates the account is fully set up and ready to use. The address you send to or from is evmAddress, derived from this key.

    '0x03da37de73ecd215822b4ef7970e55e1f6496f34ae9e2e9c5d48428fdcf24b1d3c'
    
    signers: string[]

    Signers for the account

    ['0x1234567890123456789012345678901234567890', '0x2345678901234567890123456789012345678901', '0x3456789012345678901234567890123456789012']
    
    status?: ChildAccountStatus | null

    Child only. 'pending' until a robo signer has independently derived and confirmed the child's public key; publicKey stays empty until then.