Skip to content
On this page

Interface: ResolvedConfig

Resolved Config between user defined options and DefaultConfig

Example

ts
import { ResolvedConfig } from 'abitype'

ResolvedConfig['BigIntType']

Properties

AddressType

AddressType: `0x${string}`

TypeScript type to use for address values

Default

0x${string}

Defined In

node_modules/.pnpm/abitype@0.7.1_typescript@4.9.5/node_modules/abitype/dist/config-edd78478.d.ts:173


ArrayMaxDepth

ArrayMaxDepth: false

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

Note: You probably only want to set this to a specific number if parsed types are returning as unknown and you want to figure out why. If you set this, you should probably also reduce FixedArrayMaxLength.

Default

ts
false

Defined In

node_modules/.pnpm/abitype@0.7.1_typescript@4.9.5/node_modules/abitype/dist/config-edd78478.d.ts:158


BigIntType

BigIntType: bigint

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

Default

ts
bigint

Defined In

node_modules/.pnpm/abitype@0.7.1_typescript@4.9.5/node_modules/abitype/dist/config-edd78478.d.ts:186


BytesType

BytesType: object

TypeScript type to use for bytes values

Default

ts
{ inputs: `0x${string}` | Uint8Array; outputs: `0x${string}` }

Type declaration

BytesType.inputs

inputs: `0x${string}`

TypeScript type to use for bytes input values

BytesType.outputs

outputs: `0x${string}`

TypeScript type to use for bytes output values

Defined In

node_modules/.pnpm/abitype@0.7.1_typescript@4.9.5/node_modules/abitype/dist/config-edd78478.d.ts:178


FixedArrayMaxLength

FixedArrayMaxLength: 99

Upper bound for fixed array length

Default

ts
99

Defined In

node_modules/.pnpm/abitype@0.7.1_typescript@4.9.5/node_modules/abitype/dist/config-edd78478.d.ts:168


FixedArrayMinLength

FixedArrayMinLength: 1

Lower bound for fixed array length

Default

ts
1

Defined In

node_modules/.pnpm/abitype@0.7.1_typescript@4.9.5/node_modules/abitype/dist/config-edd78478.d.ts:163


IntType

IntType: number

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

Default

ts
number

Defined In

node_modules/.pnpm/abitype@0.7.1_typescript@4.9.5/node_modules/abitype/dist/config-edd78478.d.ts:191


StrictAbiType

StrictAbiType: false

When set, validates AbiParameter's type against AbiType

Note: You probably only want to set this to true if parsed types are returning as unknown and you want to figure out why.

Default

ts
false

Defined In

node_modules/.pnpm/abitype@0.7.1_typescript@4.9.5/node_modules/abitype/dist/config-edd78478.d.ts:200


Generated using TypeDoc and typedoc-plugin-markdown