@ecp.eth/sdk / comments / encodeJsonValue
Function: encodeJsonValue()
function encodeJsonValue(value): `0x${string}`;
Defined in: packages/sdk/src/comments/metadata.ts:81
Encodes a JSON object as bytes for metadata
Parameters
value
The JSON object to encode
Returns
`0x${string}`
The hex-encoded bytes of the JSON string