Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WasmAPI

Hierarchy

  • BaseAPI
    • WasmAPI

Index

Constructors

constructor

  • new WasmAPI(c: APIRequester): WasmAPI

Methods

codeInfo

  • codeInfo(codeID: number, params?: APIParams): Promise<CodeInfo>

contractInfo

  • contractInfo(contractAddress: string, params?: APIParams): Promise<ContractInfo>

contractQuery

  • contractQuery<T>(contractAddress: string, query: object, params?: APIParams): Promise<T>
  • Type parameters

    • T

    Parameters

    • contractAddress: string
    • query: object
    • params: APIParams = {}

    Returns Promise<T>

parameters

  • parameters(params?: APIParams): Promise<WasmParams>