Call ABI Method
You can call a method from a specific smart contract by using
call_fn()
predicate:
The third parameter is required only for payable methods.
Calling a view method without inputs:
The function result will be stored in the Name
variable.
The Output name must be in PascalCase.
Calling a view method with inputs:
Calling a payable method:
value() predicate receive only WEI value
You can use the eth() predicate if you want to convert ETH -> WEI
You must provide the Output array even if there is no output
Calling a non-payable method:
Last updated