Skip to main content
Kof's user avatar
Kof's user avatar
Kof's user avatar
Kof
  • Member for 3 years, 6 months
  • Last seen more than a month ago
awarded
awarded
awarded
awarded
awarded
awarded
awarded
awarded
comment
Loading…
comment
How to pass bytes parameter to contract method call using Web3.js?
@NicSzerman it depends on what parameter he wants to send. If OP would've added concrete info, or even a code snippet, I'd be able to provide a concrete example.
comment
How to pass bytes parameter to contract method call using Web3.js?
@NicSzerman I actually answered. Let me spell it out again On Web3 you use numberToHex or utf8ToHex for strings. - that's how you pass bytes parameter to a contract. If OP wants more a more specific answer, he should ask a more specific question, paste code, etc.
awarded
awarded
awarded
awarded
awarded
awarded
answered
Loading…
awarded
1
2 3 4 5
18