@arcium-hq/clientInterfaces
FieldInfo
Field definition for circuit input/output packing. Pass an array of these to createPacker to create a type-safe packer.
Example
import { FieldInfo } from '@arcium-hq/client';
const fields: FieldInfo[] = [
{ name: 'amount', type: { Integer: { signed: false, width: 64 } } },
{ name: 'active', type: 'Bool' },
];