Documentation
    Preparing search index...

    Type Alias WriteBlobOptions

    WriteBlobOptions: {
        attributes?: Record<string, string | null>;
        blob: Uint8Array;
        deletable: boolean;
        epochs: number;
        onStep?: (step: WriteBlobStep) => void | Promise<void>;
        owner?: string;
        resume?: WriteBlobStep;
        signer: Signer;
    } & WalrusClientRequestOptions

    Type Declaration

    • Optionalattributes?: Record<string, string | null>

      The attributes to write for the blob.

    • blob: Uint8Array
    • deletable: boolean
    • epochs: number

      The number of epochs the blob should be stored for.

    • OptionalonStep?: (step: WriteBlobStep) => void | Promise<void>

      Called at each pipeline stage with a step result the caller can persist for crash recovery.

    • Optionalowner?: string

      Where the blob should be transferred to after it is registered. Defaults to the signer address.

    • Optionalresume?: WriteBlobStep

      Resume from a prior step result. Skips completed stages and resumes from the next one.

    • signer: Signer