Return type for retrieve storage range function

interface RetrieveStorageRange {
    nextKey: string;
    storage: Record<string, {
        key: string;
        value: string;
    }>;
}

Properties

Properties

nextKey: string

The next key to be used for the next retrieve storage range call.

storage: Record<string, {
    key: string;
    value: string;
}>

The data is non-nullable, but an empty object is returned if no data is found.

Type declaration

  • key: string

    Storage key.

  • value: string

    Storage value.