Skip to content

@ecp.eth/sdk


@ecp.eth/sdk / embed / EmbedConfigHotSortingSchemaType

Type Alias: EmbedConfigHotSortingSchemaType

type EmbedConfigHotSortingSchemaType = {
  reaction: string;
  volumeMetadataKey: string;
};

Defined in: packages/sdk/src/embed/schemas/index.ts:251

Type declaration

reaction

reaction: string;

Reaction key used as score input for hot sorting.

Default

"like"

volumeMetadataKey

volumeMetadataKey: string;

Metadata key used to read a numeric volume score from hook metadata.

Default

"volume"