web3p / web3.php

A php interface for interacting with the Ethereum blockchain and ecosystem. Native ABI parsing and smart contract interactions.
MIT License
1.17k stars 550 forks source link

Transaction input field #246

Open frmiqueias opened 2 years ago

frmiqueias commented 2 years ago

How can I decode the transaction input field to get contract information, such as sent amount and also the recipient address.

jgonfer commented 1 year ago

I'm also interested to know this. In the JS library there are functions like toAscii() that I didn't find this the PHP library.

Indeed, the Ascii() function is the one recommended to decode the input parameter