web3-utilsFunctionssoliditySha3RawsoliditySha3Raw CallablesoliditySha3Raw(...values: TypedObject[] | TypedObjectAbbreviated[]): stringWill tightly pack values given in the same way solidity would then hash. returns a hash string, if input is empty will return 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470@exampleconsole.log(web3.utils.soliditySha3Raw({ type: "string", value: "helloworld" }))> 0xfa26db7ca85ead399216e7c6316bc50ed24393c3122b582735e7f3b0f91b93f0Parametersrest...values: TypedObject[] | TypedObjectAbbreviated[]the input to return the tightly packed valuesReturns stringthe keccack246 of the tightly packed values
Will tightly pack values given in the same way solidity would then hash. returns a hash string, if input is empty will return
0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470