hey guys im trying to send an empty address (0x0000000000000000000000000000000000000000) from web3 to a smart contract of mine in a function parameter but I keep getting an invalid argument error

Is it possible to send an empty address as a function argument?

Nov 23, 2020, 3:47 AM
i figured it out, you just have to pass it as a string "0x0000000000000000000000000000000000000000"
Nov 23, 2020, 4:08 AM

© 2024 Draquery.com All rights reserved.