getPrefixedMsgHash

open fun getPrefixedMsgHash(msgHash: Array<Byte>, barzAddress: String, chainId: Int): Array<Byte>

Returns the final hash to be signed by Barz for signing messages &typed data

Return

The final hash to be signed

Parameters

msgHash

Original msgHash

barzAddress

The address of Barz wallet signing the message

chainId

The chainId of the network the verification will happen