DefaultRegister: {
    AddressType: `0x${string}`;
    ArrayMaxDepth: false;
    BigIntType: bigint;
    BytesType: {
        inputs: `0x${string}`;
        outputs: `0x${string}`;
    };
    FixedArrayMaxLength: 99;
    FixedArrayMinLength: 1;
    IntType: number;
    StrictAbiType: false;
}

Type declaration

  • AddressType: `0x${string}`

    TypeScript type to use for address values

  • ArrayMaxDepth: false

    Maximum depth for nested array types (e.g. string[][])

  • BigIntType: bigint

    TypeScript type to use for int<M> and uint<M> values, where M > 48

  • BytesType: {
        inputs: `0x${string}`;
        outputs: `0x${string}`;
    }

    TypeScript type to use for bytes values

    • inputs: `0x${string}`

      TypeScript type to use for bytes input values

    • outputs: `0x${string}`

      TypeScript type to use for bytes output values

  • FixedArrayMaxLength: 99

    Upper bound for fixed array length

  • FixedArrayMinLength: 1

    Lower bound for fixed array length

  • IntType: number

    TypeScript type to use for int<M> and uint<M> values, where M <= 48

  • StrictAbiType: false

    When set, validates AbiParameter's type against AbiType