Member visibility
Filter class members by access level.
Prefix
The stable route prefix, e.g. 'approve'.
Prefix extends stringShape
The accumulated fields, filled in by the chain.
Shape extends CustomIdShape = {}public bool<Name>(
name: Name
): CustomId<
Prefix,
Shape & Record<Name, CustomIdField<boolean>>
>public decode(wire: string): DecodedParams<Shape>Parameter:
wireThe customId string from the interaction.
public encode(values: DecodedParams<Shape>): stringParameter:
valuesOne value per field, typed by the chain.
Add an integer field with no bounds, for a value up to 2^53.
public int<Name>(
name: Name
): CustomId<
Prefix,
Shape & Record<Name, CustomIdField<number>>
>public oneOf<Name, Choices>(
name: Name,
choices: Choices
): CustomId<
Prefix,
Shape & Record<Name, CustomIdField<Choices[number]>>
>public snowflake<Name>(
name: Name
): CustomId<
Prefix,
Shape & Record<Name, CustomIdField<Snowflake>>
>public str<Name>(
name: Name
): CustomId<
Prefix,
Shape & Record<Name, CustomIdField<string>>
>public uuid<Name>(
name: Name
): CustomId<
Prefix,
Shape & Record<Name, CustomIdField<string>>
>