canonicalRequestBytes
canonicalRequestBytes(
env):Uint8Array
Defined in: src/signer/mpc-2p-wire.ts:115
The A3 canonical encoding of a request — a byte-exact mirror of the backend’s
auth::canonical_request_bytes (domain-tag kawasekit-mpc-2p/cosign-request/v3,
one key=value\n line per field: wireVersion ‖ ceremonyId ‖ ssid ‖ canonical(intent) ‖ freshness; lowercase 0x addresses + freshness nonce,
decimal integers, trailing newline). The injected authenticator HMACs these
bytes; because the encoding is shared, the tag equals the co-signer’s.
Parameters
env
Returns
Uint8Array