@cfxlabsinc/b2b-services
    Preparing search index...

    Variable walletAccountTransactionUiViewConst

    walletAccountTransactionUiView: PgViewWithSelection<
        {
            existing: true;
            isAlias: false;
            name: "wallet_account_transaction_ui";
            schema: "b2b";
            selectedFields: {
                accountKey: PgBuildColumn<
                    "wallet_account_transaction_ui",
                    SetNotNull<PgTextBuilder<[string, ...string[]]>>,
                    {
                        data: string;
                        dataType: "string";
                        driverParam: string;
                        enumValues: undefined;
                        generated: undefined;
                        hasDefault: false;
                        hasRuntimeDefault: false;
                        identity: undefined;
                        isAutoincrement: false;
                        isPrimaryKey: false;
                        name: string;
                        notNull: true;
                        tableName: "wallet_account_transaction_ui";
                    },
                >;
                amount: PgBuildColumn<
                    "wallet_account_transaction_ui",
                    SetNotNull<PgNumericBuilder>,
                    {
                        data: string;
                        dataType: "string numeric";
                        driverParam: string;
                        enumValues: undefined;
                        generated: undefined;
                        hasDefault: false;
                        hasRuntimeDefault: false;
                        identity: undefined;
                        isAutoincrement: false;
                        isPrimaryKey: false;
                        name: string;
                        notNull: true;
                        tableName: "wallet_account_transaction_ui";
                    },
                >;
                mint: PgBuildColumn<
                    "wallet_account_transaction_ui",
                    SetNotNull<PgTextBuilder<[string, ...string[]]>>,
                    {
                        data: string;
                        dataType: "string";
                        driverParam: string;
                        enumValues: undefined;
                        generated: undefined;
                        hasDefault: false;
                        hasRuntimeDefault: false;
                        identity: undefined;
                        isAutoincrement: false;
                        isPrimaryKey: false;
                        name: string;
                        notNull: true;
                        tableName: "wallet_account_transaction_ui";
                    },
                >;
                postBalance: PgBuildColumn<
                    "wallet_account_transaction_ui",
                    PgNumericBuilder,
                    {
                        data: string;
                        dataType: "string numeric";
                        driverParam: string;
                        enumValues: undefined;
                        generated: undefined;
                        hasDefault: false;
                        hasRuntimeDefault: false;
                        identity: undefined;
                        isAutoincrement: false;
                        isPrimaryKey: false;
                        name: string;
                        notNull: false;
                        tableName: "wallet_account_transaction_ui";
                    },
                >;
                preBalance: PgBuildColumn<
                    "wallet_account_transaction_ui",
                    PgNumericBuilder,
                    {
                        data: string;
                        dataType: "string numeric";
                        driverParam: string;
                        enumValues: undefined;
                        generated: undefined;
                        hasDefault: false;
                        hasRuntimeDefault: false;
                        identity: undefined;
                        isAutoincrement: false;
                        isPrimaryKey: false;
                        name: string;
                        notNull: false;
                        tableName: "wallet_account_transaction_ui";
                    },
                >;
                programId: PgBuildColumn<
                    "wallet_account_transaction_ui",
                    SetNotNull<PgTextBuilder<[string, ...string[]]>>,
                    {
                        data: string;
                        dataType: "string";
                        driverParam: string;
                        enumValues: undefined;
                        generated: undefined;
                        hasDefault: false;
                        hasRuntimeDefault: false;
                        identity: undefined;
                        isAutoincrement: false;
                        isPrimaryKey: false;
                        name: string;
                        notNull: true;
                        tableName: "wallet_account_transaction_ui";
                    },
                >;
                rawAmount: PgBuildColumn<
                    "wallet_account_transaction_ui",
                    SetNotNull<PgNumericBuilder>,
                    {
                        data: string;
                        dataType: "string numeric";
                        driverParam: string;
                        enumValues: undefined;
                        generated: undefined;
                        hasDefault: false;
                        hasRuntimeDefault: false;
                        identity: undefined;
                        isAutoincrement: false;
                        isPrimaryKey: false;
                        name: string;
                        notNull: true;
                        tableName: "wallet_account_transaction_ui";
                    },
                >;
                tokenId: PgBuildColumn<
                    "wallet_account_transaction_ui",
                    SetNotNull<PgIntegerBuilder>,
                    {
                        data: number;
                        dataType: "number int32";
                        driverParam: string | number;
                        enumValues: undefined;
                        generated: undefined;
                        hasDefault: false;
                        hasRuntimeDefault: false;
                        identity: undefined;
                        isAutoincrement: false;
                        isPrimaryKey: false;
                        name: string;
                        notNull: true;
                        tableName: "wallet_account_transaction_ui";
                    },
                >;
                walletAddressId: PgBuildColumn<
                    "wallet_account_transaction_ui",
                    PgIntegerBuilder,
                    {
                        data: number;
                        dataType: "number int32";
                        driverParam: string
                        | number;
                        enumValues: undefined;
                        generated: undefined;
                        hasDefault: false;
                        hasRuntimeDefault: false;
                        identity: undefined;
                        isAutoincrement: false;
                        isPrimaryKey: false;
                        name: string;
                        notNull: false;
                        tableName: "wallet_account_transaction_ui";
                    },
                >;
                walletTransactionId: PgBuildColumn<
                    "wallet_account_transaction_ui",
                    SetNotNull<PgIntegerBuilder>,
                    {
                        data: number;
                        dataType: "number int32";
                        driverParam: string | number;
                        enumValues: undefined;
                        generated: undefined;
                        hasDefault: false;
                        hasRuntimeDefault: false;
                        identity: undefined;
                        isAutoincrement: false;
                        isPrimaryKey: false;
                        name: string;
                        notNull: true;
                        tableName: "wallet_account_transaction_ui";
                    },
                >;
            };
        },
    > = ...

    wallet_account_transaction in solana_account_transaction's units: base units scaled by the token's decimals, trailing zeros trimmed, so a balance reads as the decimal string sat stored. A mint that is no known token has no decimals and is left out. .existing(): the SQL is in 20261020172600_wallet_account_transaction_readers.sql.