I have a string thats 64 characters long and I need to convert it into a bytes32[] to be passed into a contract method call. How can I do it using web3js? I tried using hexToBytes in the utils package but that returns a



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.