bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Interface iAccountDoc<T>

    interface iAccountDoc<T extends NumberType> {
        _docId: string;
        _id?: string;
        accountNumber: T;
        balances?: iCosmosCoin<T>[];
        bitbadgesAddress: string;
        btcAddress: string;
        ethAddress: string;
        pubKeyType: string;
        publicKey: string;
        sequence?: T;
        solAddress: string;
        thorAddress: string;
    }

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    _docId: string

    A unique stringified document ID

    _id?: string

    A unique document ID (Mongo DB ObjectID)

    accountNumber: T

    The account number of the account. This is the account number registered on the BitBadges blockchain.

    balances?: iCosmosCoin<T>[]

    The BADGE balance of the account and other sdk.coin balances

    bitbadgesAddress: string

    The BitBadges address of the account

    btcAddress: string

    The Bitcoin address of the account

    ethAddress: string

    The Eth address of the account

    pubKeyType: string

    The public key type of the account

    publicKey: string

    The public key of the account

    sequence?: T

    The sequence of the account. This is the nonce for the blockchain for this account

    solAddress: string

    The Solana address of the account. Note: This may be empty if we do not have it yet. Solana -> BitBadges address conversions are one-way, and we cannot convert a BitBadges address to a Solana address without prior knowledge.

    thorAddress: string

    The Thorchain address of the account