Legacy component. Use "SmartContractTransactionsFactory" (for transactions) or "SmartContractQueriesController" (for queries), instead.

Interactions can be seen as mutable transaction & query builders.

Aside from building transactions and queries, the interactors are also responsible for interpreting the execution outcome for the objects they've built.

Constructors

Properties

args: TypedValue[]
chainID: IChainID = ""
contract: ISmartContractWithinInteraction
explicitReceiver?: IAddress
gasLimit: IGasLimit = 0
gasPrice: undefined | IGasPrice = undefined
nonce: INonce = 0
querent: IAddress = ...
sender: IAddress = ...
tokenTransfers: TokenTransfer[]
value: ITransactionValue = "0"
version: number = TRANSACTION_VERSION_DEFAULT

Methods