Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments / decodeAddressValue

Function: decodeAddressValue()

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

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

Decodes an address value from encoded metadata bytes

Parameters

encodedValue

`0x${string}`

The hex-encoded address

Returns

`0x${string}`

The decoded address as hex string