Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

How to decodeParameters #220

Open
FZ985 opened this issue Nov 24, 2021 · 0 comments
Open

How to decodeParameters #220

FZ985 opened this issue Nov 24, 2021 · 0 comments

Comments

@FZ985
Copy link

FZ985 commented Nov 24, 2021

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant