Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Provider

Hierarchy

  • Provider

Implemented by

Index

Properties

network: NetworkType

Methods

  • callContract(contract: string, method: string, data: string[], abi: any[]): Promise<undefined | Result>
  • Parameters

    • contract: string
    • method: string
    • data: string[]
    • abi: any[]

    Returns Promise<undefined | Result>

  • getTxReceipts(tx: { hash160: string; sender: string; txid: string }, abi: any[], contract?: string): Promise<TransactionReceipt[]>
  • Parameters

    • tx: { hash160: string; sender: string; txid: string }
      • hash160: string
      • sender: string
      • txid: string
    • abi: any[]
    • Optional contract: string

    Returns Promise<TransactionReceipt[]>

  • sendToContract(contract: string, method: string, data: string[], value: string, gasLimit: number, gasPrice: number, abi: any[]): Promise<any>
  • Parameters

    • contract: string
    • method: string
    • data: string[]
    • value: string
    • gasLimit: number
    • gasPrice: number
    • abi: any[]

    Returns Promise<any>

Generated using TypeDoc