Contract executor
Last updated
Last updated
[blockchain/ethereum/Contract executor]
Calls an altering method on a smart contract.
Keywords: smart contract, call, alters
contract address: string
Receives the address of the contract to interact with.
contract abi: {string: any}[]
Receives the ABI of the contract to interact with.
method name: string
Receives the method name to execute on the contract.
parameters: any[]
Receives the parameters of the method call as array.
transaction parameters: {string: any}
Receives the parameters of the transaction. Example: { "gas": 2000000, "value": "foobar" }
credentials:
Receives the credentials required to interact with the chain.
result: any
Sends out the result of the method execution.
error: {"error": string}
Sends out any error that happened during contract method execution.