Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContractMethod

Hierarchy

  • ContractMethod

Index

Constructors

constructor

  • new ContractMethod(methodKey: string, params: any, abiItem: AbiItemModel, contract: Contract): ContractMethod

Properties

abiItem

abiItem: AbiItemModel

Optional callPayload

callPayload: any

Optional callResponse

callResponse: any

contract

contract: Contract

methodKey

methodKey: string

params

params: any

Protected transaction

transaction: Transaction

wallet

wallet: Wallet | any

Methods

Protected afterCall

  • afterCall(response: any): any

call

  • call(options: any, blockNumber?: any): Promise<any>

Protected confirm

  • confirm(id: string): Promise<void>

Protected createTransaction

debug

  • debug(): { callPayload: any; callResponse: any }

encodeABI

  • encodeABI(): string

estimateGas

  • estimateGas(): Promise<any>

send

Protected sendTransaction

Protected signTransaction

  • signTransaction(updateNonce: boolean): Promise<any>

Generated using TypeDoc