Skip to main content

errors

Index

Classes

Type Aliases

Variables

Classes

AbiError

AbiError:

Base class for Web3 errors.

constructor

  • new AbiError(message: string, props?: Record<string, unknown> & { name?: string }): AbiError
  • Parameters

    • message: string
    • optionalprops: Record<string, unknown> & { name?: string }

    Returns AbiError

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

readonlyprops

props: Record<string, unknown> & { name?: string }

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

abstractBaseWeb3Error

BaseWeb3Error:

Base class for Web3 errors.

constructor

  • new BaseWeb3Error(msg?: string, cause?: Error | Error[]): BaseWeb3Error
  • Parameters

    • optionalmsg: string
    • optionalcause: Error | Error[]

    Returns BaseWeb3Error

cause

cause: undefined | Error

abstractreadonlycode

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ChainIdMismatchError

ChainIdMismatchError:

Base class for Web3 errors.

constructor

  • new ChainIdMismatchError(value: { customChainId: unknown; txChainId: unknown }): ChainIdMismatchError
  • Parameters

    • value: { customChainId: unknown; txChainId: unknown }
      • customChainId: unknown
      • txChainId: unknown

    Returns ChainIdMismatchError

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ChainMismatchError

ChainMismatchError:

Base class for Web3 errors.

constructor

  • new ChainMismatchError(value: { baseChain: unknown; txChain: unknown }): ChainMismatchError
  • Parameters

    • value: { baseChain: unknown; txChain: unknown }
      • baseChain: unknown
      • txChain: unknown

    Returns ChainMismatchError

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

CommonOrChainAndHardforkError

CommonOrChainAndHardforkError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ConfigChainMismatchError

ConfigChainMismatchError:

Base class for Web3 errors.

constructor

  • Parameters

    • defaultHardfork: string
    • commonHardFork: string

    Returns ConfigChainMismatchError

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ConfigHardforkMismatchError

ConfigHardforkMismatchError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ConnectionCloseError

ConnectionCloseError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

optionalerrorCode

errorCode?: number

optionalerrorReason

errorReason?: string

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • errorCode: undefined | number
    • errorReason: undefined | string
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ConnectionError

ConnectionError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

optionalerrorCode

errorCode?: number

optionalerrorReason

errorReason?: string

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • errorCode: undefined | number
    • errorReason: undefined | string
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ConnectionNotOpenError

ConnectionNotOpenError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

optionalerrorCode

errorCode?: number

optionalerrorReason

errorReason?: string

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • errorCode: undefined | number
    • errorReason: undefined | string
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ConnectionTimeoutError

ConnectionTimeoutError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

duration

duration: number

optionalerrorCode

errorCode?: number

optionalerrorReason

errorReason?: string

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; duration: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; duration: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • duration: number
    • errorCode: undefined | number
    • errorReason: undefined | string
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ContractCodeNotStoredError

ContractCodeNotStoredError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

optionalreceipt

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | TransactionReceipt }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | TransactionReceipt }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string
    • receipt: undefined | TransactionReceipt

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ContractEventDoesNotExistError

ContractEventDoesNotExistError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

eventName

eventName: string

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; eventName: string; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; eventName: string; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • eventName: string
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ContractExecutionError

ContractExecutionError:

Used when an error is raised while executing a function inside a smart contract. The data is expected to be encoded according to EIP-848.

constructor

cause

code

code: number

readonlyname

name: string

optionalreceipt

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ContractInstantiationError

ContractInstantiationError:

Base class for Web3 errors.

constructor

  • Parameters

    • optionalmsg: string
    • optionalcause: Error | Error[]

    Returns ContractInstantiationError

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ContractMissingABIError

ContractMissingABIError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ContractMissingDeployDataError

ContractMissingDeployDataError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ContractNoAddressDefinedError

ContractNoAddressDefinedError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ContractNoFromAddressDefinedError

ContractNoFromAddressDefinedError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ContractOnceRequiresCallbackError

ContractOnceRequiresCallbackError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ContractReservedEventError

ContractReservedEventError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

type

type: string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; type: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; type: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string
    • type: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ContractTransactionDataAndInputError

ContractTransactionDataAndInputError:

Base class for Web3 errors.

constructor

  • Parameters

    • value: { data: undefined | string; input: undefined | string }
      • data: undefined | string
      • input: undefined | string

    Returns ContractTransactionDataAndInputError

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

EIP1193ProviderRpcError

EIP1193ProviderRpcError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

optionaldata

data?: unknown

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ENSCheckInterfaceSupportError

ENSCheckInterfaceSupportError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ENSNetworkNotSyncedError

ENSNetworkNotSyncedError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

ENSUnsupportedNetworkError

ENSUnsupportedNetworkError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

Eip1559GasPriceError

Eip1559GasPriceError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

Eip1559NotSupportedError

Eip1559NotSupportedError:

Base class for Web3 errors.

constructor

cause

cause: undefined | Error

code

code: number

readonlyname

name: string

stack

stack: undefined | string

innerError

  • get innerError(): undefined | Error | Error[]
  • set innerError(cause: undefined | Error | Error[]): void
  • @deprecated

    Use the cause property instead.


    Returns undefined | Error | Error[]

  • @deprecated

    Use the cause property instead.


    Parameters

    • cause: undefined | Error | Error[]

    Returns void

toJSON

  • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
  • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

    • cause: undefined | Error
    • code: number
    • innerError: undefined | Error
    • message: string
    • name: string

staticconvertToString

  • convertToString(value: unknown, unquotValue?: boolean): string
  • Parameters

    • value: unknown
    • optionalunquotValue: boolean

    Returns string

Eip838ExecutionError

Eip838ExecutionError:

This class is expected to be set as an cause inside ContractExecutionError The properties would be typically decoded from the data if it was encoded according to EIP-838

constructor

cause

cause: undefined | Eip838ExecutionError

code

code: number

optionaldata

data?: string

optionalerrorArgs

errorArgs?: {}

Type declaration

    optionalerrorName

    errorName?: string

    optionalerrorSignature

    errorSignature?: string

    readonlyname

    name: string

    optionalreceipt

    stack

    stack: undefined | string

    innerError

    • get innerError(): undefined | Error | Error[]
    • set innerError(cause: undefined | Error | Error[]): void
    • @deprecated

      Use the cause property instead.


      Returns undefined | Error | Error[]

    • @deprecated

      Use the cause property instead.


      Parameters

      • cause: undefined | Error | Error[]

      Returns void

    setDecodedProperties

    • setDecodedProperties(errorName: string, errorSignature?: string, errorArgs?: {}): void
    • Parameters

      • errorName: string
      • optionalerrorSignature: string
      • optionalerrorArgs: {}

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Eip838ExecutionError; code: number; data: string; errorArgs?: {}; errorName?: string; errorSignature?: string; innerError: undefined | Eip838ExecutionError; message: string; name: string }
      • Returns { cause: undefined | Eip838ExecutionError; code: number; data: string; errorArgs?: {}; errorName?: string; errorSignature?: string; innerError: undefined | Eip838ExecutionError; message: string; name: string }

        • cause: undefined | Eip838ExecutionError
        • code: number
        • data: string
        • optionalerrorArgs?: {}
          • [x string]: unknown
        • optionalerrorName?: string
        • optionalerrorSignature?: string
        • innerError: undefined | Eip838ExecutionError
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      ExistingPluginNamespaceError

      ExistingPluginNamespaceError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      FormatterError

      FormatterError:

      Base class for Web3 errors.

      constructor

      • new FormatterError(msg?: string, cause?: Error | Error[]): FormatterError
      • Parameters

        • optionalmsg: string
        • optionalcause: Error | Error[]

        Returns FormatterError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      HardforkMismatchError

      HardforkMismatchError:

      Base class for Web3 errors.

      constructor

      • new HardforkMismatchError(value: { commonHardfork: unknown; txHardfork: unknown }): HardforkMismatchError
      • Parameters

        • value: { commonHardfork: unknown; txHardfork: unknown }
          • commonHardfork: unknown
          • txHardfork: unknown

        Returns HardforkMismatchError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      HexProcessingError

      HexProcessingError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      IVLengthError

      IVLengthError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InternalError

      InternalError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidAddressError

      InvalidAddressError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidBlockError

      InvalidBlockError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: string

        Returns InvalidBlockError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidBooleanError

      InvalidBooleanError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidBytesError

      InvalidBytesError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: unknown

        Returns InvalidBytesError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidClientError

      InvalidClientError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidConnectionError

      InvalidConnectionError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      optionalerrorCode

      errorCode?: number

      optionalerrorReason

      errorReason?: string

      host

      host: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; host: string; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; host: string; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • errorCode: undefined | number
        • errorReason: undefined | string
        • host: string
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidGasOrGasPrice

      InvalidGasOrGasPrice:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidInputError

      InvalidInputError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidIntegerError

      InvalidIntegerError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidKdfError

      InvalidKdfError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidLargeValueError

      InvalidLargeValueError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidMaxPriorityFeePerGasOrMaxFeePerGas

      InvalidMaxPriorityFeePerGasOrMaxFeePerGas:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidMethodParamsError

      InvalidMethodParamsError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      optionalhint

      hint?: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; hint: undefined | string; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; hint: undefined | string; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • hint: undefined | string
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidNonceOrChainIdError

      InvalidNonceOrChainIdError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidNumberError

      InvalidNumberError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidNumberOfParamsError

      InvalidNumberOfParamsError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      expected

      expected: number

      got

      got: number

      method

      method: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; expected: number; got: number; innerError: undefined | Error; message: string; method: string; name: string }
      • Returns { cause: undefined | Error; code: number; expected: number; got: number; innerError: undefined | Error; message: string; method: string; name: string }

        • cause: undefined | Error
        • code: number
        • expected: number
        • got: number
        • innerError: undefined | Error
        • message: string
        • method: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidParamsError

      InvalidParamsError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidPasswordError

      InvalidPasswordError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidPrivateKeyError

      InvalidPrivateKeyError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidPropertiesForTransactionTypeError

      InvalidPropertiesForTransactionTypeError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidProviderError

      InvalidProviderError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      clientUrl

      clientUrl: string

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidRequestError

      InvalidRequestError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidResponseError

      InvalidResponseError<ErrorType, RequestType>:

      Base class for Web3 errors.


      Type parameters

      • ErrorType = unknown
      • RequestType = unknown

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      optionaldata

      data?: ErrorType | ErrorType[]

      readonlyname

      name: string

      optionalrequest

      request?: JsonRpcPayload<RequestType>

      stack

      stack: undefined | string

      optionalstatusCode

      statusCode?: number

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; data: undefined | ErrorType | ErrorType[]; innerError: undefined | Error; message: string; name: string; request: undefined | JsonRpcPayload<RequestType>; statusCode: undefined | number }
      • Returns { cause: undefined | Error; code: number; data: undefined | ErrorType | ErrorType[]; innerError: undefined | Error; message: string; name: string; request: undefined | JsonRpcPayload<RequestType>; statusCode: undefined | number }

        • cause: undefined | Error
        • code: number
        • data: undefined | ErrorType | ErrorType[]
        • innerError: undefined | Error
        • message: string
        • name: string
        • request: undefined | JsonRpcPayload<RequestType>
        • statusCode: undefined | number

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidSignatureError

      InvalidSignatureError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidSizeError

      InvalidSizeError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: unknown

        Returns InvalidSizeError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidStringError

      InvalidStringError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidTransactionCall

      InvalidTransactionCall:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidTransactionObjectError

      InvalidTransactionObjectError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidTransactionWithReceiver

      InvalidTransactionWithReceiver:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidTransactionWithSender

      InvalidTransactionWithSender:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidTypeAbiInputError

      InvalidTypeAbiInputError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidTypeError

      InvalidTypeError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: unknown

        Returns InvalidTypeError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidUnitError

      InvalidUnitError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: unknown

        Returns InvalidUnitError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      InvalidUnsignedIntegerError

      InvalidUnsignedIntegerError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      abstractInvalidValueError

      InvalidValueError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: unknown
        • msg: string

        Returns InvalidValueError

      cause

      cause: undefined | Error

      abstractreadonlycode

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      KeyDerivationError

      KeyDerivationError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      KeyStoreVersionError

      KeyStoreVersionError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      LimitExceededError

      LimitExceededError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      LocalWalletNotAvailableError

      LocalWalletNotAvailableError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      MaxAttemptsReachedOnReconnectingError

      MaxAttemptsReachedOnReconnectingError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      optionalerrorCode

      errorCode?: number

      optionalerrorReason

      errorReason?: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • errorCode: undefined | number
        • errorReason: undefined | string
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      MethodNotFoundError

      MethodNotFoundError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      MethodNotImplementedError

      MethodNotImplementedError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      MethodNotSupported

      MethodNotSupported:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      MissingChainOrHardforkError

      MissingChainOrHardforkError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: { chain: undefined | string; hardfork: undefined | string }
          • chain: undefined | string
          • hardfork: undefined | string

        Returns MissingChainOrHardforkError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      MissingCustomChainError

      MissingCustomChainError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      MissingCustomChainIdError

      MissingCustomChainIdError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      MissingGasError

      MissingGasError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      MissingGasInnerError

      MissingGasInnerError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      MultipleErrors

      MultipleErrors:

      Base class for Web3 errors.

      constructor

      • Parameters

        • errors: Error[]

        Returns MultipleErrors

      cause

      cause: undefined | Error

      code

      code: number

      errors

      errors: Error[]

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      NibbleWidthError

      NibbleWidthError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: string

        Returns NibbleWidthError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      NoContractAddressFoundError

      NoContractAddressFoundError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      optionalreceipt

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | TransactionReceipt }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | TransactionReceipt }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string
        • receipt: undefined | TransactionReceipt

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      OperationAbortError

      OperationAbortError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • optionalmsg: string
        • optionalcause: Error | Error[]

        Returns OperationAbortError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      OperationTimeoutError

      OperationTimeoutError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • optionalmsg: string
        • optionalcause: Error | Error[]

        Returns OperationTimeoutError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      PBKDF2IterationsError

      PBKDF2IterationsError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      ParseError

      ParseError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      PendingRequestsOnReconnectingError

      PendingRequestsOnReconnectingError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      optionalerrorCode

      errorCode?: number

      optionalerrorReason

      errorReason?: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • errorCode: undefined | number
        • errorReason: undefined | string
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      PrivateKeyLengthError

      PrivateKeyLengthError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      ProviderError

      ProviderError:

      Base class for Web3 errors.

      constructor

      • new ProviderError(msg?: string, cause?: Error | Error[]): ProviderError
      • Parameters

        • optionalmsg: string
        • optionalcause: Error | Error[]

        Returns ProviderError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      RequestAlreadySentError

      RequestAlreadySentError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      optionalerrorCode

      errorCode?: number

      optionalerrorReason

      errorReason?: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; errorCode: undefined | number; errorReason: undefined | string; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • errorCode: undefined | number
        • errorReason: undefined | string
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      ResolverMethodMissingError

      ResolverMethodMissingError:

      Base class for Web3 errors.

      constructor

      address

      address: string

      cause

      cause: undefined | Error

      code

      code: number

      name

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { address: string; cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { address: string; cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • address: string
        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      ResourceUnavailableError

      ResourceUnavailableError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      ResourcesNotFoundError

      ResourcesNotFoundError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      ResponseError

      ResponseError<ErrorType, RequestType>:

      Base class for Web3 errors.


      Type parameters

      • ErrorType = unknown
      • RequestType = unknown

      constructor

      • Type parameters

        • ErrorType = unknown
        • RequestType = unknown

        Parameters

        Returns ResponseError<ErrorType, RequestType>

      cause

      cause: undefined | Error

      code

      code: number

      optionaldata

      data?: ErrorType | ErrorType[]

      readonlyname

      name: string

      optionalrequest

      request?: JsonRpcPayload<RequestType>

      stack

      stack: undefined | string

      optionalstatusCode

      statusCode?: number

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; data: undefined | ErrorType | ErrorType[]; innerError: undefined | Error; message: string; name: string; request: undefined | JsonRpcPayload<RequestType>; statusCode: undefined | number }
      • Returns { cause: undefined | Error; code: number; data: undefined | ErrorType | ErrorType[]; innerError: undefined | Error; message: string; name: string; request: undefined | JsonRpcPayload<RequestType>; statusCode: undefined | number }

        • cause: undefined | Error
        • code: number
        • data: undefined | ErrorType | ErrorType[]
        • innerError: undefined | Error
        • message: string
        • name: string
        • request: undefined | JsonRpcPayload<RequestType>
        • statusCode: undefined | number

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      RevertInstructionError

      RevertInstructionError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      reason

      reason: string

      signature

      signature: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; reason: string; signature: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; reason: string; signature: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string
        • reason: string
        • signature: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      RpcError

      RpcError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      SchemaFormatError

      SchemaFormatError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      type

      type: string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; type: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; type: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string
        • type: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      SignatureError

      SignatureError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: unknown
        • msg: string

        Returns SignatureError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      SubscriptionError

      SubscriptionError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • optionalmsg: string
        • optionalcause: Error | Error[]

        Returns SubscriptionError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionBlockTimeoutError

      TransactionBlockTimeoutError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: { numberOfBlocks: number; starterBlockNumber: number; transactionHash?: Bytes }
          • numberOfBlocks: number
          • starterBlockNumber: number
          • optionaltransactionHash: Bytes

        Returns TransactionBlockTimeoutError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionDataAndInputError

      TransactionDataAndInputError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: { data: undefined | string; input: undefined | string }
          • data: undefined | string
          • input: undefined | string

        Returns TransactionDataAndInputError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionError

      TransactionError<ReceiptType>:

      Base class for Web3 errors.


      Type parameters

      constructor

      • new TransactionError<ReceiptType>(message: string, receipt?: ReceiptType): TransactionError<ReceiptType>
      • Type parameters

        Parameters

        • message: string
        • optionalreceipt: ReceiptType

        Returns TransactionError<ReceiptType>

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      optionalreceipt

      receipt?: ReceiptType

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | ReceiptType }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | ReceiptType }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string
        • receipt: undefined | ReceiptType

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionGasMismatchError

      TransactionGasMismatchError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionGasMismatchInnerError

      TransactionGasMismatchInnerError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionMissingReceiptOrBlockHashError

      TransactionMissingReceiptOrBlockHashError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionNotFound

      TransactionNotFound:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      optionalreceipt

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | TransactionReceipt }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | TransactionReceipt }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string
        • receipt: undefined | TransactionReceipt

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionOutOfGasError

      TransactionOutOfGasError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      optionalreceipt

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | TransactionReceipt }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | TransactionReceipt }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string
        • receipt: undefined | TransactionReceipt

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionPollingTimeoutError

      TransactionPollingTimeoutError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionReceiptMissingBlockNumberError

      TransactionReceiptMissingBlockNumberError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionRejectedError

      TransactionRejectedError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionRevertInstructionError

      TransactionRevertInstructionError<ReceiptType>:

      Base class for Web3 errors.


      Type parameters

      constructor

      • new TransactionRevertInstructionError<ReceiptType>(reason: string, signature?: string, receipt?: ReceiptType, data?: string): TransactionRevertInstructionError<ReceiptType>

      cause

      cause: undefined | Error

      code

      code: number

      optionaldata

      data?: string

      readonlyname

      name: string

      reason

      reason: string

      optionalreceipt

      receipt?: ReceiptType

      optionalsignature

      signature?: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; data: undefined | string; innerError: undefined | Error; message: string; name: string; reason: string; receipt: undefined | ReceiptType; signature: undefined | string }
      • Returns { cause: undefined | Error; code: number; data: undefined | string; innerError: undefined | Error; message: string; name: string; reason: string; receipt: undefined | ReceiptType; signature: undefined | string }

        • cause: undefined | Error
        • code: number
        • data: undefined | string
        • innerError: undefined | Error
        • message: string
        • name: string
        • reason: string
        • receipt: undefined | ReceiptType
        • signature: undefined | string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionRevertWithCustomError

      TransactionRevertWithCustomError<ReceiptType>:

      This error is used when a transaction to a smart contract fails and a custom user error (https://blog.soliditylang.org/2021/04/21/custom-errors/) is able to be parsed from the revert reason


      Type parameters

      constructor

      • new TransactionRevertWithCustomError<ReceiptType>(reason: string, customErrorName: string, customErrorDecodedSignature: string, customErrorArguments: Record<string, unknown>, signature?: string, receipt?: ReceiptType, data?: string): TransactionRevertWithCustomError<ReceiptType>
      • Type parameters

        Parameters

        • reason: string
        • customErrorName: string
        • customErrorDecodedSignature: string
        • customErrorArguments: Record<string, unknown>
        • optionalsignature: string
        • optionalreceipt: ReceiptType
        • optionaldata: string

        Returns TransactionRevertWithCustomError<ReceiptType>

      cause

      cause: undefined | Error

      code

      code: number

      customErrorArguments

      customErrorArguments: Record<string, unknown>

      customErrorDecodedSignature

      customErrorDecodedSignature: string

      customErrorName

      customErrorName: string

      optionaldata

      data?: string

      readonlyname

      name: string

      reason

      reason: string

      optionalreceipt

      receipt?: ReceiptType

      optionalsignature

      signature?: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; customErrorArguments: Record<string, unknown>; customErrorDecodedSignature: string; customErrorName: string; data: undefined | string; innerError: undefined | Error; message: string; name: string; reason: string; receipt: undefined | ReceiptType; signature: undefined | string }
      • Returns { cause: undefined | Error; code: number; customErrorArguments: Record<string, unknown>; customErrorDecodedSignature: string; customErrorName: string; data: undefined | string; innerError: undefined | Error; message: string; name: string; reason: string; receipt: undefined | ReceiptType; signature: undefined | string }

        • cause: undefined | Error
        • code: number
        • customErrorArguments: Record<string, unknown>
        • customErrorDecodedSignature: string
        • customErrorName: string
        • data: undefined | string
        • innerError: undefined | Error
        • message: string
        • name: string
        • reason: string
        • receipt: undefined | ReceiptType
        • signature: undefined | string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionRevertedWithoutReasonError

      TransactionRevertedWithoutReasonError<ReceiptType>:

      Base class for Web3 errors.


      Type parameters

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      optionalreceipt

      receipt?: ReceiptType

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | ReceiptType }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | ReceiptType }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string
        • receipt: undefined | ReceiptType

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionSendTimeoutError

      TransactionSendTimeoutError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • value: { numberOfSeconds: number; transactionHash?: Bytes }
          • numberOfSeconds: number
          • optionaltransactionHash: Bytes

        Returns TransactionSendTimeoutError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      TransactionSigningError

      TransactionSigningError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      UnableToPopulateNonceError

      UnableToPopulateNonceError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      UndefinedRawTransactionError

      UndefinedRawTransactionError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      optionalreceipt

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | TransactionReceipt }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string; receipt: undefined | TransactionReceipt }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string
        • receipt: undefined | TransactionReceipt

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      UnsupportedFeeMarketError

      UnsupportedFeeMarketError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      UnsupportedTransactionTypeError

      UnsupportedTransactionTypeError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      VersionNotSupportedError

      VersionNotSupportedError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      id

      jsonRpcError

      jsonrpc

      jsonrpc: string

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; error: JsonRpcError<JsonRpcResult>; id: JsonRpcId; innerError: undefined | Error; jsonRpc: string; message: string; name: string }

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      Web3ContractError

      Web3ContractError:

      Base class for Web3 errors.

      constructor

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      optionalreceipt

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      Web3WSProviderError

      Web3WSProviderError:

      Base class for Web3 errors.

      constructor

      • Parameters

        • optionalmsg: string
        • optionalcause: Error | Error[]

        Returns Web3WSProviderError

      cause

      cause: undefined | Error

      code

      code: number

      readonlyname

      name: string

      stack

      stack: undefined | string

      innerError

      • get innerError(): undefined | Error | Error[]
      • set innerError(cause: undefined | Error | Error[]): void
      • @deprecated

        Use the cause property instead.


        Returns undefined | Error | Error[]

      • @deprecated

        Use the cause property instead.


        Parameters

        • cause: undefined | Error | Error[]

        Returns void

      toJSON

      • toJSON(): { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }
      • Returns { cause: undefined | Error; code: number; innerError: undefined | Error; message: string; name: string }

        • cause: undefined | Error
        • code: number
        • innerError: undefined | Error
        • message: string
        • name: string

      staticconvertToString

      • convertToString(value: unknown, unquotValue?: boolean): string
      • Parameters

        • value: unknown
        • optionalunquotValue: boolean

        Returns string

      Type Aliases

      ProviderErrorData

      ProviderErrorData: HexString | { data: HexString } | { originalError: { data: HexString } }

      Variables

      constERR_ABI_ENCODING

      ERR_ABI_ENCODING: 205 = 205

      constERR_CONN

      ERR_CONN: 500 = 500

      constERR_CONN_CLOSE

      ERR_CONN_CLOSE: 504 = 504

      constERR_CONN_INVALID

      ERR_CONN_INVALID: 501 = 501

      constERR_CONN_MAX_ATTEMPTS

      ERR_CONN_MAX_ATTEMPTS: 505 = 505

      constERR_CONN_NOT_OPEN

      ERR_CONN_NOT_OPEN: 503 = 503

      constERR_CONN_PENDING_REQUESTS

      ERR_CONN_PENDING_REQUESTS: 506 = 506

      constERR_CONN_TIMEOUT

      ERR_CONN_TIMEOUT: 502 = 502

      constERR_CONTRACT

      ERR_CONTRACT: 300 = 300

      constERR_CONTRACT_ABI_MISSING

      ERR_CONTRACT_ABI_MISSING: 302 = 302

      constERR_CONTRACT_EVENT_NOT_EXISTS

      ERR_CONTRACT_EVENT_NOT_EXISTS: 304 = 304

      constERR_CONTRACT_EXECUTION_REVERTED

      ERR_CONTRACT_EXECUTION_REVERTED: 310 = 310

      constERR_CONTRACT_INSTANTIATION

      ERR_CONTRACT_INSTANTIATION: 309 = 309

      constERR_CONTRACT_MISSING_ADDRESS

      ERR_CONTRACT_MISSING_ADDRESS: 307 = 307

      constERR_CONTRACT_MISSING_DEPLOY_DATA

      ERR_CONTRACT_MISSING_DEPLOY_DATA: 306 = 306

      constERR_CONTRACT_MISSING_FROM_ADDRESS

      ERR_CONTRACT_MISSING_FROM_ADDRESS: 308 = 308

      constERR_CONTRACT_REQUIRED_CALLBACK

      ERR_CONTRACT_REQUIRED_CALLBACK: 303 = 303

      constERR_CONTRACT_RESERVED_EVENT

      ERR_CONTRACT_RESERVED_EVENT: 305 = 305

      constERR_CONTRACT_RESOLVER_MISSING

      ERR_CONTRACT_RESOLVER_MISSING: 301 = 301

      constERR_CONTRACT_TX_DATA_AND_INPUT

      ERR_CONTRACT_TX_DATA_AND_INPUT: 311 = 311

      constERR_CORE_CHAIN_MISMATCH

      ERR_CORE_CHAIN_MISMATCH: 1102 = 1102

      constERR_CORE_HARDFORK_MISMATCH

      ERR_CORE_HARDFORK_MISMATCH: 1101 = 1101

      constERR_ENS_CHECK_INTERFACE_SUPPORT

      ERR_ENS_CHECK_INTERFACE_SUPPORT: 901 = 901

      constERR_ENS_NETWORK_NOT_SYNCED

      ERR_ENS_NETWORK_NOT_SYNCED: 903 = 903

      constERR_ENS_UNSUPPORTED_NETWORK

      ERR_ENS_UNSUPPORTED_NETWORK: 902 = 902

      constERR_EXISTING_PLUGIN_NAMESPACE

      ERR_EXISTING_PLUGIN_NAMESPACE: 206 = 206

      constERR_FORMATTERS

      ERR_FORMATTERS: 201 = 201

      constERR_INVALID_ADDRESS

      ERR_INVALID_ADDRESS: 1005 = 1005

      constERR_INVALID_BLOCK

      ERR_INVALID_BLOCK: 1012 = 1012

      constERR_INVALID_BOOLEAN

      ERR_INVALID_BOOLEAN: 1008 = 1008

      constERR_INVALID_BYTES

      ERR_INVALID_BYTES: 1002 = 1002

      constERR_INVALID_CLIENT

      ERR_INVALID_CLIENT: 602 = 602

      constERR_INVALID_HEX

      ERR_INVALID_HEX: 1006 = 1006

      constERR_INVALID_INTEGER

      ERR_INVALID_INTEGER: 1015 = 1015

      constERR_INVALID_KEYSTORE

      ERR_INVALID_KEYSTORE: 708 = 708

      constERR_INVALID_LARGE_VALUE

      ERR_INVALID_LARGE_VALUE: 1011 = 1011

      constERR_INVALID_METHOD_PARAMS

      ERR_INVALID_METHOD_PARAMS: 207 = 207

      constERR_INVALID_NIBBLE_WIDTH

      ERR_INVALID_NIBBLE_WIDTH: 1014 = 1014

      constERR_INVALID_NUMBER

      ERR_INVALID_NUMBER: 1003 = 1003

      constERR_INVALID_PASSWORD

      ERR_INVALID_PASSWORD: 706 = 706

      constERR_INVALID_PRIVATE_KEY

      ERR_INVALID_PRIVATE_KEY: 702 = 702

      constERR_INVALID_PROVIDER

      ERR_INVALID_PROVIDER: 601 = 601

      constERR_INVALID_RESPONSE

      ERR_INVALID_RESPONSE: 101 = 101

      constERR_INVALID_SIGNATURE

      ERR_INVALID_SIGNATURE: 802 = 802

      constERR_INVALID_SIZE

      ERR_INVALID_SIZE: 1010 = 1010

      constERR_INVALID_STRING

      ERR_INVALID_STRING: 1001 = 1001

      constERR_INVALID_TYPE

      ERR_INVALID_TYPE: 1007 = 1007

      constERR_INVALID_TYPE_ABI

      ERR_INVALID_TYPE_ABI: 1013 = 1013

      constERR_INVALID_UNIT

      ERR_INVALID_UNIT: 1004 = 1004

      constERR_INVALID_UNSIGNED_INTEGER

      ERR_INVALID_UNSIGNED_INTEGER: 1009 = 1009

      constERR_IV_LENGTH

      ERR_IV_LENGTH: 707 = 707

      constERR_KEY_DERIVATION_FAIL

      ERR_KEY_DERIVATION_FAIL: 704 = 704

      constERR_KEY_VERSION_UNSUPPORTED

      ERR_KEY_VERSION_UNSUPPORTED: 705 = 705

      constERR_METHOD_NOT_IMPLEMENTED

      ERR_METHOD_NOT_IMPLEMENTED: 202 = 202

      constERR_MULTIPLE_ERRORS

      ERR_MULTIPLE_ERRORS: 208 = 208

      constERR_OPERATION_ABORT

      ERR_OPERATION_ABORT: 204 = 204

      constERR_OPERATION_TIMEOUT

      ERR_OPERATION_TIMEOUT: 203 = 203

      constERR_PARAM

      ERR_PARAM: 200 = 200

      constERR_PBKDF2_ITERATIONS

      ERR_PBKDF2_ITERATIONS: 709 = 709

      constERR_PRIVATE_KEY_LENGTH

      ERR_PRIVATE_KEY_LENGTH: 701 = 701

      constERR_PROVIDER

      ERR_PROVIDER: 600 = 600

      constERR_RAW_TX_UNDEFINED

      ERR_RAW_TX_UNDEFINED: 407 = 407

      constERR_REQ_ALREADY_SENT

      ERR_REQ_ALREADY_SENT: 507 = 507

      constERR_RESPONSE

      ERR_RESPONSE: 100 = 100

      constERR_RPC_INTERNAL_ERROR

      ERR_RPC_INTERNAL_ERROR: -32603 = -32603

      constERR_RPC_INVALID_INPUT

      ERR_RPC_INVALID_INPUT: -32000 = -32000

      constERR_RPC_INVALID_JSON

      ERR_RPC_INVALID_JSON: -32700 = -32700

      constERR_RPC_INVALID_METHOD

      ERR_RPC_INVALID_METHOD: -32601 = -32601

      constERR_RPC_INVALID_PARAMS

      ERR_RPC_INVALID_PARAMS: -32602 = -32602

      constERR_RPC_INVALID_REQUEST

      ERR_RPC_INVALID_REQUEST: -32600 = -32600

      constERR_RPC_LIMIT_EXCEEDED

      ERR_RPC_LIMIT_EXCEEDED: -32005 = -32005

      constERR_RPC_MISSING_RESOURCE

      ERR_RPC_MISSING_RESOURCE: -32001 = -32001

      constERR_RPC_NOT_SUPPORTED

      ERR_RPC_NOT_SUPPORTED: -32006 = -32006

      constERR_RPC_TRANSACTION_REJECTED

      ERR_RPC_TRANSACTION_REJECTED: -32003 = -32003

      constERR_RPC_UNAVAILABLE_RESOURCE

      ERR_RPC_UNAVAILABLE_RESOURCE: -32002 = -32002

      constERR_RPC_UNSUPPORTED_METHOD

      ERR_RPC_UNSUPPORTED_METHOD: -32004 = -32004

      constERR_SCHEMA_FORMAT

      ERR_SCHEMA_FORMAT: 1200 = 1200

      constERR_SIGNATURE_FAILED

      ERR_SIGNATURE_FAILED: 801 = 801

      constERR_SUBSCRIPTION

      ERR_SUBSCRIPTION: 603 = 603

      constERR_TX

      ERR_TX: 400 = 400

      constERR_TX_BLOCK_TIMEOUT

      ERR_TX_BLOCK_TIMEOUT: 432 = 432

      constERR_TX_CHAIN_ID_MISMATCH

      ERR_TX_CHAIN_ID_MISMATCH: 412 = 412

      constERR_TX_CHAIN_MISMATCH

      ERR_TX_CHAIN_MISMATCH: 435 = 435

      constERR_TX_CONTRACT_NOT_STORED

      ERR_TX_CONTRACT_NOT_STORED: 404 = 404

      constERR_TX_DATA_AND_INPUT

      ERR_TX_DATA_AND_INPUT: 425 = 425

      constERR_TX_GAS_MISMATCH

      ERR_TX_GAS_MISMATCH: 434 = 434

      constERR_TX_GAS_MISMATCH_INNER_ERROR

      ERR_TX_GAS_MISMATCH_INNER_ERROR: 441 = 441

      constERR_TX_HARDFORK_MISMATCH

      ERR_TX_HARDFORK_MISMATCH: 436 = 436

      constERR_TX_INVALID_CALL

      ERR_TX_INVALID_CALL: 409 = 409

      constERR_TX_INVALID_CHAIN_INFO

      ERR_TX_INVALID_CHAIN_INFO: 413 = 413

      constERR_TX_INVALID_FEE_MARKET_GAS

      ERR_TX_INVALID_FEE_MARKET_GAS: 417 = 417

      constERR_TX_INVALID_FEE_MARKET_GAS_PRICE

      ERR_TX_INVALID_FEE_MARKET_GAS_PRICE: 418 = 418

      constERR_TX_INVALID_LEGACY_FEE_MARKET

      ERR_TX_INVALID_LEGACY_FEE_MARKET: 419 = 419

      constERR_TX_INVALID_LEGACY_GAS

      ERR_TX_INVALID_LEGACY_GAS: 416 = 416

      constERR_TX_INVALID_NONCE_OR_CHAIN_ID

      ERR_TX_INVALID_NONCE_OR_CHAIN_ID: 421 = 421

      constERR_TX_INVALID_OBJECT

      ERR_TX_INVALID_OBJECT: 420 = 420

      constERR_TX_INVALID_PROPERTIES_FOR_TYPE

      ERR_TX_INVALID_PROPERTIES_FOR_TYPE: 439 = 439

      constERR_TX_INVALID_RECEIVER

      ERR_TX_INVALID_RECEIVER: 437 = 437

      constERR_TX_INVALID_SENDER

      ERR_TX_INVALID_SENDER: 408 = 408

      constERR_TX_LOCAL_WALLET_NOT_AVAILABLE

      ERR_TX_LOCAL_WALLET_NOT_AVAILABLE: 429 = 429

      constERR_TX_MISSING_CHAIN_INFO

      ERR_TX_MISSING_CHAIN_INFO: 414 = 414

      constERR_TX_MISSING_CUSTOM_CHAIN

      ERR_TX_MISSING_CUSTOM_CHAIN: 410 = 410

      constERR_TX_MISSING_CUSTOM_CHAIN_ID

      ERR_TX_MISSING_CUSTOM_CHAIN_ID: 411 = 411

      constERR_TX_MISSING_GAS

      ERR_TX_MISSING_GAS: 415 = 415

      constERR_TX_MISSING_GAS_INNER_ERROR

      ERR_TX_MISSING_GAS_INNER_ERROR: 440 = 440

      constERR_TX_NOT_FOUND

      ERR_TX_NOT_FOUND: 430 = 430

      constERR_TX_NO_CONTRACT_ADDRESS

      ERR_TX_NO_CONTRACT_ADDRESS: 403 = 403

      constERR_TX_OUT_OF_GAS

      ERR_TX_OUT_OF_GAS: 406 = 406

      constERR_TX_POLLING_TIMEOUT

      ERR_TX_POLLING_TIMEOUT: 426 = 426

      constERR_TX_RECEIPT_MISSING_BLOCK_NUMBER

      ERR_TX_RECEIPT_MISSING_BLOCK_NUMBER: 428 = 428

      constERR_TX_RECEIPT_MISSING_OR_BLOCKHASH_NULL

      ERR_TX_RECEIPT_MISSING_OR_BLOCKHASH_NULL: 427 = 427

      constERR_TX_REVERT_INSTRUCTION

      ERR_TX_REVERT_INSTRUCTION: 401 = 401

      constERR_TX_REVERT_TRANSACTION

      ERR_TX_REVERT_TRANSACTION: 402 = 402

      constERR_TX_REVERT_TRANSACTION_CUSTOM_ERROR

      ERR_TX_REVERT_TRANSACTION_CUSTOM_ERROR: 438 = 438

      constERR_TX_REVERT_WITHOUT_REASON

      ERR_TX_REVERT_WITHOUT_REASON: 405 = 405

      constERR_TX_SEND_TIMEOUT

      ERR_TX_SEND_TIMEOUT: 431 = 431

      constERR_TX_SIGNING

      ERR_TX_SIGNING: 433 = 433

      constERR_TX_UNABLE_TO_POPULATE_NONCE

      ERR_TX_UNABLE_TO_POPULATE_NONCE: 422 = 422

      constERR_TX_UNSUPPORTED_EIP_1559

      ERR_TX_UNSUPPORTED_EIP_1559: 423 = 423

      constERR_TX_UNSUPPORTED_TYPE

      ERR_TX_UNSUPPORTED_TYPE: 424 = 424

      constERR_UNSUPPORTED_KDF

      ERR_UNSUPPORTED_KDF: 703 = 703

      constERR_VALIDATION

      ERR_VALIDATION: 1100 = 1100

      constERR_WS_PROVIDER

      ERR_WS_PROVIDER: 604 = 604

      constGENESIS_BLOCK_NUMBER

      GENESIS_BLOCK_NUMBER: 0x0 = "0x0"

      constJSONRPC_ERR_CHAIN_DISCONNECTED

      JSONRPC_ERR_CHAIN_DISCONNECTED: 4901 = 4901

      constJSONRPC_ERR_DISCONNECTED

      JSONRPC_ERR_DISCONNECTED: 4900 = 4900

      constJSONRPC_ERR_REJECTED_REQUEST

      JSONRPC_ERR_REJECTED_REQUEST: 4001 = 4001

      constJSONRPC_ERR_UNAUTHORIZED

      JSONRPC_ERR_UNAUTHORIZED: 4100 = 4100

      constJSONRPC_ERR_UNSUPPORTED_METHOD

      JSONRPC_ERR_UNSUPPORTED_METHOD: 4200 = 4200

      constRpcErrorMessages

      RpcErrorMessages: {}

      Type declaration

      • [key number | string]: { description?: string; message: string; name?: string }

      constgenericRpcErrorMessageTemplate

      genericRpcErrorMessageTemplate: An Rpc error has occured with a code of *code* = "An Rpc error has occured with a code of *code*"

      A template string for a generic Rpc Error. The *code* will be replaced with the code number. Note: consider in next version that a spelling mistake could be corrected for occured and the value could be: An Rpc error has occurred with a code of *code*

      constrpcErrorsMap

      rpcErrorsMap: Map<number, { error: typeof RpcError }>
      Page Options