Skip to main content

web3-utils

Index

References

AbiItem

Re-exports AbiItem

isBatchRequest

Re-exports isBatchRequest

isBatchResponse

Re-exports isBatchResponse

isResponseRpcError

isResponseWithError

isResponseWithNotification

isResponseWithResult

isSubscriptionResult

isValidResponse

Re-exports isValidResponse

keccak256

Renames and re-exports keccak256Wrapper

setRequestIdStart

toBatchPayload

Re-exports toBatchPayload

toPayload

Re-exports toPayload

validateResponse

Re-exports validateResponse

Type Aliases

AsyncFunction

AsyncFunction<T, K>: (...args: K[]) => Promise<T>

Type parameters

  • T
  • K = unknown

Type declaration

    • (...args: K[]): Promise<T>
    • Parameters

      • rest...args: K[]

      Returns Promise<T>

EtherUnits

EtherUnits: keyof typeof ethUnitMap

ReconnectOptions

ReconnectOptions: { autoReconnect: boolean; delay: number; maxAttempts: number }

Type declaration

  • autoReconnect: boolean
  • delay: number
  • maxAttempts: number

Timeout

Timeout: ReturnType<typeof setTimeout>

Timer

Timer: ReturnType<typeof setInterval>