Avalanche SDK Client
    Preparing search index...

    Type Alias PrepareImportTxnParameters

    PrepareImportTxnParameters: Omit<CommonTxParams, "changeAddresses"> & {
        context?: ContextType.Context;
        importedOutput: ImportedOutput;
        sourceChain: typeof X_CHAIN_ALIAS | typeof C_CHAIN_ALIAS;
    }

    Type declaration

    • Optionalcontext?: ContextType.Context

      Optional. The context to use for the transaction. If not provided, the context will be fetched.

    • importedOutput: ImportedOutput

      Consolidated imported output from the atomic memory (source chain). Users cannot specify the amount, as it will be consolidation of all the UTXOs pending for import from the source chain.

    • sourceChain: typeof X_CHAIN_ALIAS | typeof C_CHAIN_ALIAS

      The chain to import the funds from. X_CHAIN_ALIAS | C_CHAIN_ALIAS