Skip to content

Type Alias: ExtraData<T>

type ExtraData<T> = Record<Hex, T>;

Defined in: packages/boop-sdk/lib/boops.ts:23

ExtraData is a record of key-value pairs where the key is a hex string and the value is a string, bigint, or number. The keys are 3-byte hex strings and the values are encoded into hex strings of variable length.

Type Parameters

T

T extends Hex | bigint | number | undefined = Hex | bigint | number | undefined