Class: ContractFunctionInteraction
contract.ContractFunctionInteraction
This is the class that is returned when calling e.g. contract.methods.myMethod(arg0, arg1)
.
It contains available interactions one can call on a method, including view.
Hierarchy
-
BaseContractInteraction
↳
ContractFunctionInteraction
Constructors
constructor
• new ContractFunctionInteraction(wallet
, contractAddress
, functionDao
, args
): ContractFunctionInteraction
Parameters
Name | Type |
---|---|
wallet | Wallet |
contractAddress | AztecAddress |
functionDao | FunctionAbi |
args | any [] |
Returns
Overrides
BaseContractInteraction.constructor
Properties
args
• Protected
args: any
[]
contractAddress
• Protected
contractAddress: AztecAddress