Function: encodeExtraData()
function encodeExtraData(data: ExtraData): `0x${string}`;
Defined in: packages/boop-sdk/lib/boops.ts:39
Converts a record of extraData key-value pairs into a hex string. Each key-value pair is serialized with a 3-byte key, a 3-byte length prefix, and the value itself. The resulting hex string is prefixed with '0x'.
Parameters
data
Returns
`0x${string}`