Skip to content
Advertisement

Tag: smartcontracts

How to get ERC20 token name & symbol by contract address with PHP geth

I have the following situation: Transaction: https://etherscan.io/tx/0xc7ee5bf1ea144b4e9e7dad32b574990c5e1b832226a626973929246577954fdf I’m able to get the contract address in this transaction “0xf629cbd94d3791c9250152bd8dfbdf380e2a3b9c” with the following code: Now i need to get the name and the symbol of this ERC20 token through the contract address. I tried my luck with “eth_call”, since i saw someone mentioning this in a stackoverflow post. But unfortuanatly i’m stuck

Advertisement