Documentation
    Preparing search index...

    Interface TransactionCopyOptions

    interface TransactionCopyOptions {
        intentResolvers?: Record<string, TransactionPlugin>;
    }
    Index

    Properties

    Properties

    intentResolvers?: Record<string, TransactionPlugin>

    A map of intent names to resolvers for any custom intents used in the transaction being copied.

    Built-in intents (such as CoinWithBalance) are handled automatically. Providing resolvers for custom intents lets Transaction.from copy a transaction synchronously even when it still contains unresolved intents, without first awaiting prepareForSerialization.