Interface StoreGetDiffedAccountUpdateServiceImplementation<CallContextExt>

interface StoreGetDiffedAccountUpdateServiceImplementation<CallContextExt> {
    getDiffedAccountUpdate(request, context): Promise<{
        accountUpdate?: {
            after?: {
                data?: Uint8Array;
                executable?: boolean;
                lamports?: bigint;
                owner?: string;
                rentEpoch?: string;
            };
            afterAccountType?: string;
            afterJson?: string;
            before?: {
                data?: Uint8Array;
                executable?: boolean;
                lamports?: bigint;
                owner?: string;
                rentEpoch?: string;
            };
            beforeAccountType?: string;
            beforeJson?: string;
            diff?: {
                dataBytes?: {
                    after?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    before?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    kind?: ComparedKind;
                }[];
                executable?: {
                    after?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    before?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    kind?: ComparedKind;
                };
                lamports?: {
                    after?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    before?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    kind?: ComparedKind;
                };
                owner?: {
                    after?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    before?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    kind?: ComparedKind;
                };
                rentEpoch?: {
                    after?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    before?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    kind?: ComparedKind;
                };
            };
            pubkey?: string;
            slot?: bigint;
            txnSignature?: string;
            writeVersion?: bigint;
        };
        error?: string;
    }>;
}

Type Parameters

  • CallContextExt = {}

Methods

  • Parameters

    Returns Promise<{
        accountUpdate?: {
            after?: {
                data?: Uint8Array;
                executable?: boolean;
                lamports?: bigint;
                owner?: string;
                rentEpoch?: string;
            };
            afterAccountType?: string;
            afterJson?: string;
            before?: {
                data?: Uint8Array;
                executable?: boolean;
                lamports?: bigint;
                owner?: string;
                rentEpoch?: string;
            };
            beforeAccountType?: string;
            beforeJson?: string;
            diff?: {
                dataBytes?: {
                    after?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    before?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    kind?: ComparedKind;
                }[];
                executable?: {
                    after?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    before?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    kind?: ComparedKind;
                };
                lamports?: {
                    after?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    before?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    kind?: ComparedKind;
                };
                owner?: {
                    after?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    before?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    kind?: ComparedKind;
                };
                rentEpoch?: {
                    after?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    before?: {
                        bool?: boolean;
                        bytes?: Uint8Array;
                        string?: string;
                        uint32?: number;
                        uint64?: bigint;
                    };
                    kind?: ComparedKind;
                };
            };
            pubkey?: string;
            slot?: bigint;
            txnSignature?: string;
            writeVersion?: bigint;
        };
        error?: string;
    }>

Generated using TypeDoc