Solana RPC context wrapper — wraps a value with slot context.

1.0.0

interface RpcContext<T> {
    context: {
        apiVersion?: string;
        slot: Slot;
    };
    value: T;
}

Type Parameters

  • T

    The inner value type.

Properties

Properties

context: {
    apiVersion?: string;
    slot: Slot;
}
value: T