Interface TokenAccount

Information about a Solana token account.

SteveTheHead

0xArmorer

2.0.0

interface TokenAccount {
    account: {
        data: {
            parsed: {
                info: {
                    mint: string;
                    owner: string;
                    state: string;
                    tokenAmount: {
                        amount: string;
                        decimals: number;
                        uiAmount: number;
                        uiAmountString: string;
                    };
                };
                type: string;
            };
            program: string;
            space: number;
        };
        executable: boolean;
        lamports: number;
        owner: string;
        rentEpoch: number;
    };
    pubkey: string;
}

Properties

Properties

account: {
    data: {
        parsed: {
            info: {
                mint: string;
                owner: string;
                state: string;
                tokenAmount: {
                    amount: string;
                    decimals: number;
                    uiAmount: number;
                    uiAmountString: string;
                };
            };
            type: string;
        };
        program: string;
        space: number;
    };
    executable: boolean;
    lamports: number;
    owner: string;
    rentEpoch: number;
}
pubkey: string