Skip to content
LogoLogo

Types

Types covering the Contract ABI and EIP-712 Typed Data Specifications.

Abi

Type matching the Contract ABI Specification

import {  } from 'abitype'

AbiConstructor

ABI Constructor type

import {  } from 'abitype'

AbiError

ABI Error type

import {  } from 'abitype'

AbiEvent

ABI Event type

import {  } from 'abitype'

AbiFallback

ABI Fallback type

import {  } from 'abitype'

AbiFunction

ABI Function type

import {  } from 'abitype'

AbiInternalType

Representation used by Solidity compiler (e.g. 'string', 'int256', 'struct Foo')

import {  } from 'abitype'

AbiItemType

"type" name for Abi items (e.g. 'type': 'function' for AbiFunction)

import {  } from 'abitype'

AbiParameter

inputs and outputs item for ABI functions, errors, and constructors

import {  } from 'abitype'

AbiEventParameter

inputs for ABI events

import {  } from 'abitype'

AbiParameterKind

Kind of ABI parameter: 'inputs' | 'outputs'

import {  } from 'abitype'

AbiReceive

ABI Receive type

import {  } from 'abitype'

AbiStateMutability

ABI Function behavior

import {  } from 'abitype'

AbiType

ABI canonical types

import {  } from 'abitype'

Solidity types

Solidity types as template strings

import {
  ,
  ,
  ,
  ,
  ,
  ,
  ,
  ,
} from 'abitype'

TypedData

EIP-712 Typed Data Specification

import {  } from 'abitype'

TypedDataDomain

EIP-712 Domain

import {  } from 'abitype'

TypedDataParameter

Entry in TypedData type items

import {  } from 'abitype'

TypedDataType

Subset of AbiType that excludes tuple and function

import {  } from 'abitype'