Currently we accept `UInt8Array | HexString`, but this introduces the overhead of cascade verifications, harming the performance.