Interface: ResolvedConfig
Resolved Config between user defined options and DefaultConfig
Example
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
falseDefined 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
bigintDefined 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
{ inputs: `0x${string}` | Uint8Array; outputs: `0x${string}` }Type declaration
BytesType.inputsinputs: `0x${string}`
TypeScript type to use for
bytesinput values
BytesType.outputsoutputs: `0x${string}`
TypeScript type to use for
bytesoutput 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
99Defined 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
1Defined 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
numberDefined 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
falseDefined 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