You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@marriva maybe this code block can help you, I've resolved the issue:
require_once 'vendor/autoload.php';
use Ethereum\Ethereum;
use Ethereum\EthBlockParam;
use Ethereum\EthD20;
const GETH_URL = 'http://localhost:8545';
$geth= new Ethereum(GETH_URL);
$ethAddr = new EthD20($address);
$balance = $geth->eth_getBalance($ethAddr,new EthBlockParam());
@digitaldonkey
ethereumTester.php
Fatal error: Call to a member function getType() on string in /var/www/html/harleyq/ether-php/src/Ethereum.php on line 102
` $args = func_get_args();
if (count($args) && isset($argument_class_names)) {
$this->debug('Arguments', $args);
how $arg could be EthS object if it is basic function argument?
The text was updated successfully, but these errors were encountered: