Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments / decodeBytesValue

Function: decodeBytesValue()

function decodeBytesValue(encodedValue): `0x${string}`;

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

Decodes a bytes value from encoded metadata bytes

Parameters

encodedValue

`0x${string}`

The hex-encoded bytes

Returns

`0x${string}`

The decoded bytes as hex string