web3dart icon indicating copy to clipboard operation
web3dart copied to clipboard

How to decodeParameters

Open FZ985 opened this issue 3 years ago • 0 comments
trafficstars

like js: web3.eth.abi.decodeParameters(['string', 'uint256'], '0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000ea000000000000000000000000000000000000000000000000000000000000000848656c6c6f212521000000000000000000000000000000000000000000000000');

Result { '0': 'Hello!%!', '1': '234' }

FZ985 avatar Nov 24 '21 03:11 FZ985

Thanks for the heads-up! Is this also preventing the change from landing in g3 or can this wait until the stable 3.3 release?

simolus3 avatar Jan 22 '24 13:01 simolus3

No hurry, there are other reasons why we need to postpone the removal of elementAt.

dcharkes avatar Jan 22 '24 13:01 dcharkes