Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments / decodeStringValue

Function: decodeStringValue()

function decodeStringValue(encodedValue): Json;

Defined in: packages/sdk/src/comments/metadata.ts:422

Decodes a string value from encoded metadata bytes

Parameters

encodedValue

`0x${string}`

The hex-encoded bytes

Returns

Json

The decoded string value