Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SimulateResponse

Hierarchy

  • SimulateResponse

Index

Constructors

Properties

Methods

Constructors

constructor

  • new SimulateResponse(gas_info: { gas_used: number; gas_wanted: number }, result: { data: string; events: { attributes: { key: string; value: string }[]; type: string }[]; log: string }): SimulateResponse
  • Parameters

    • gas_info: { gas_used: number; gas_wanted: number }
      • gas_used: number
      • gas_wanted: number
    • result: { data: string; events: { attributes: { key: string; value: string }[]; type: string }[]; log: string }
      • data: string
      • events: { attributes: { key: string; value: string }[]; type: string }[]
      • log: string

    Returns SimulateResponse

Properties

gas_info

gas_info: { gas_used: number; gas_wanted: number }

Type declaration

  • gas_used: number
  • gas_wanted: number

result

result: { data: string; events: { attributes: { key: string; value: string }[]; type: string }[]; log: string }

Type declaration

  • data: string
  • events: { attributes: { key: string; value: string }[]; type: string }[]
  • log: string

Methods

Static fromData