@lumera/sdk-js
    Preparing search index...

    Interface UploadParams

    Parameters required for a Cascade upload operation

    interface UploadParams {
        expirationTime: string;
        fileName?: string;
        isPublic?: boolean;
        signaturePrompter?: SignaturePrompter;
        taskOptions?: TaskManagerOptions;
        txPrompter?: TxPrompter;
    }
    Index

    Properties

    expirationTime: string

    Expiration time for action (Unix timestamp in seconds) The action will be invalid after this time and action fee refunded (not transaction fee!).

    fileName?: string

    File name

    isPublic?: boolean

    Cascade is public or private storage

    signaturePrompter?: SignaturePrompter

    Optional callback used to wrap wallet signature requests in a user gesture. Provide this when integrating with wallets (like Keplr) that require interactions to originate from explicit user actions.

    taskOptions?: TaskManagerOptions

    Optional task monitoring configuration

    txPrompter?: TxPrompter

    Optional callback used to wrap transaction submission in a user gesture. Provide this when integrating with wallets (like Keplr) that require transactions to originate from explicit user actions.