We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to use Web3.php so that I send contract transaction to Ethereum blockchain.
I use the following code:
$web3 = new Web3('... node address ...'); $contract = new Contract($web3->provider, $contractAbi); $contract->at($contractAddress)->send($methodName, $param1, $param2, function($err, $result) { ... });
It produces this error:
Uncaught RuntimeException: Wrong type of eth_sendTransaction method argument 0.
Now my main question is that where my private key must be provided in the code to sign the sent transaction.
The text was updated successfully, but these errors were encountered:
Hi, have you solved it? This problem has been bothering me for a few days.
Sorry, something went wrong.
No branches or pull requests
I want to use Web3.php so that I send contract transaction to Ethereum blockchain.
I use the following code:
It produces this error:
Uncaught RuntimeException: Wrong type of eth_sendTransaction method argument 0.
Now my main question is that where my private key must be provided in the code to sign the sent transaction.
The text was updated successfully, but these errors were encountered: