Open JTorresConsulta opened 3 months ago
This code solved it:
$contract->at($contractAddress)->call('symbol', function ($err, $result) {
if ($err !== null) { return; }
echo 'The symbol: ' . $result[0];
});
Any way to getPastEvents with this library?
Thanks
Hi ! Thanks for the library but It is a madness :/
Any documentation with common examples?
I am trying to get the Symbol of a ERC-20 like this:
$contract->at($contractAddress)->getData('symbol');
The return: 95d89b41 (the result would be Uni 2.6)
I am trying to convert from Utils::toString, utf_encode, utf_decode, pack.... nothing works
Thanks.