Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / comments / createCustomMetadataEntry

Function: createCustomMetadataEntry()

function createCustomMetadataEntry(
   keyString, 
   valueType, 
   encodedValue): MetadataEntry;

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

Creates a metadata entry with a custom type

Parameters

keyString

string

The key string

valueType

MetadataType

The type string MetadataType

encodedValue

`0x${string}`

The pre-encoded value as hex

Returns

MetadataEntry

The MetadataEntry