Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Web3ConnectionOptions

Hierarchy

  • Web3ConnectionOptions

Index

Properties

debug?: boolean

output sendTx debug messages to console (via console.log)

default

false

privateKey?: string

Provide a privateKey to automatically use that account when started

skipWindowAssignment?: boolean

Skip the assignment of window.web3 = Web3

default

false

web3CustomProvider?: provider

Pass a custom provider instead

web3Host?: string

Web3 Provider host

web3ProviderOptions?: HttpProviderOptions | WebsocketProviderOptions

Pass options to provider

note

you can provide a node server if you're using IPC

Methods

  • customTransactionHandler(event: PromiEvent<Contract | TransactionReceipt>, resolve: ((data: any) => void), reject: ((e: unknown) => void), debug?: boolean): void
  • Parameters

    • event: PromiEvent<Contract | TransactionReceipt>
    • resolve: ((data: any) => void)
        • (data: any): void
        • Parameters

          • data: any

          Returns void

    • reject: ((e: unknown) => void)
        • (e: unknown): void
        • Parameters

          • e: unknown

          Returns void

    • Optional debug: boolean

    Returns void

Generated using TypeDoc