Skip to main content
Defined in: metacomputer/gen-framework/client-and-test-utils/client-sdk-ts/packages/client-sdk/src/rpc-types/types.ts:482 Named enum definition with strongly typed variants. The wire-format discriminant is derived from the variant’s position in the variants array (0, 1, 2, …). This matches Borsh’s default wire format, which writes the variant’s position as a u8 byte. Explicit discriminant values do not affect the ABI; only the declaration order matters. Maximum 256 variants (Borsh uses u8 for the index).

Properties

variants

variants: AbiVariant[]
Defined in: metacomputer/gen-framework/client-and-test-utils/client-sdk-ts/packages/client-sdk/src/rpc-types/types.ts:486 Ordered variants, preserving source order.