Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InjectiveExplorerRPCClientImpl

Implements

Index

Constructors

Properties

rpc: Rpc

Methods

  • GetAccountTxs returns tranctions involving in an account based upon params.

    Parameters

    • request: { address?: string; after?: string; before?: string; fromNumber?: string; limit?: number; module?: string; skip?: string; toNumber?: string; type?: string }
      • Optional address?: string

        Address of account

      • Optional after?: string
      • Optional before?: string
      • Optional fromNumber?: string
      • Optional limit?: number
      • Optional module?: string
      • Optional skip?: string
      • Optional toNumber?: string
      • Optional type?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetAccountTxsResponse>

  • GetBlocks returns blocks based upon the request params

    Parameters

    • request: { after?: string; before?: string; limit?: number }
      • Optional after?: string
      • Optional before?: string
      • Optional limit?: number
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetBlocksResponse>

  • GetContractTxs returns contract-related transactions

    Parameters

    • request: { address?: string; fromNumber?: string; limit?: number; skip?: string; toNumber?: string }
      • Optional address?: string

        Address of contract

      • Optional fromNumber?: string
      • Optional limit?: number
      • Optional skip?: string
      • Optional toNumber?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetContractTxsResponse>

  • GetIBCTransferTxs returns the ibc transfer transactions based upon the request params

    Parameters

    • request: { destChannel?: string; destPort?: string; limit?: number; receiver?: string; sender?: string; skip?: string; srcChannel?: string; srcPort?: string }
      • Optional destChannel?: string
      • Optional destPort?: string
      • Optional limit?: number
      • Optional receiver?: string
      • Optional sender?: string
      • Optional skip?: string
      • Optional srcChannel?: string
      • Optional srcPort?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetIBCTransferTxsResponse>

  • GetPeggyDepositTxs returns the peggy deposit transactions based upon the request params

    Parameters

    • request: { limit?: number; receiver?: string; sender?: string; skip?: string }
      • Optional limit?: number
      • Optional receiver?: string

        Address of receiveer upon deposit

      • Optional sender?: string

        Sender address of deposit request

      • Optional skip?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetPeggyDepositTxsResponse>

  • GetPeggyWithdrawalTxs returns the peggy withdrawal transactions based upon the request params

    Parameters

    • request: { limit?: number; receiver?: string; sender?: string; skip?: string }
      • Optional limit?: number
      • Optional receiver?: string

        Address of receiveer upon withdrawal

      • Optional sender?: string

        Sender address of withdrawal request

      • Optional skip?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetPeggyWithdrawalTxsResponse>

  • GetTxs returns transactions based upon the request params

    Parameters

    • request: { after?: string; before?: string; fromNumber?: string; limit?: number; module?: string; skip?: string; toNumber?: string; type?: string }
      • Optional after?: string
      • Optional before?: string
      • Optional fromNumber?: string
      • Optional limit?: number
      • Optional module?: string
      • Optional skip?: string
      • Optional toNumber?: string
      • Optional type?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetTxsResponse>

  • GetWasmContracts lists all contracts

    Parameters

    • request: { assetsOnly?: boolean; codeId?: string; fromNumber?: string; limit?: number; skip?: string; toNumber?: string }
      • Optional assetsOnly?: boolean
      • Optional codeId?: string
      • Optional fromNumber?: string
      • Optional limit?: number
      • Optional skip?: string
      • Optional toNumber?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetWasmContractsResponse>

  • Request relayers infos by marketIDs. If no ids are provided, all market with associated relayers are returned

    Parameters

    • request: { marketIDs?: string[] }
      • Optional marketIDs?: string[]

        Specify multiple marketIDs to search.

    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.RelayersResponse>

Generated using TypeDoc