XYO Platform SDK - v3.10.6
    Preparing search index...
    interface PreviousHashStore {
        getItem(
            address: Lowercase<string>,
        ): null | Lowercase<string> | Promise<null | Lowercase<string>>;
        removeItem(address: Lowercase<string>): void | Promise<void>;
        setItem(
            address: Lowercase<string>,
            previousHash: Lowercase<string>,
        ): void | Promise<void>;
    }

    Implemented by

    Index

    Methods

    • Parameters

      • address: Lowercase<string>

      Returns null | Lowercase<string> | Promise<null | Lowercase<string>>

    • Parameters

      • address: Lowercase<string>

      Returns void | Promise<void>

    • Parameters

      • address: Lowercase<string>
      • previousHash: Lowercase<string>

      Returns void | Promise<void>