The SharedInteractionParameters interface extends ITransactionParameters with fields common to contract interactions.
SharedInteractionParameters
Overview
The transaction parameter interfaces define the configuration options for building different transaction types in the OP_NET network. These interfaces extend a common base to provide type-safe parameters for funding transactions, contract interactions, and contract deployments. Each interface specifies required and optional fields for UTXOs, fees, calldata, challenge solutions, and advanced features like address rotation and ML-DSA public key linking.
The full source code is available on GitHub at ITransactionParameters.ts.
Import
import { SharedInteractionParameters } from '@btc-vision/transaction';