method Struct.prototype.toHeximport { Struct } from "https://dotland.deno.dev/x/polkadot@0.2.24/types/codec/index.ts"; toHex(): HexStringReturnsHexString