Options
All
  • Public
  • Public/Protected
  • All
Menu

ExplorerAPI implements explorer data API for e.g. Blockchain Explorer

Hierarchy

  • InjectiveExplorerRPC

Implemented by

Index

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>

  • GetBlock returns block based upon the height or hash

    Parameters

    • request: { id?: string }
      • Optional id?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetBlockResponse>

  • 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>

  • GetCw20Balance lists all cw20 balances of an injective account

    Parameters

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

        address to list balance of

      • Optional limit?: number
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetCw20BalanceResponse>

  • 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>

  • GetTxByTxHash returns certain transaction information by its tx hash.

    Parameters

    • request: { hash?: string }
      • Optional hash?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetTxByTxHashResponse>

  • 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>

  • GetValidator returns validator information on the active chain

    Parameters

    • request: { address?: string }
      • Optional address?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetValidatorResponse>

  • GetValidatorUptime returns validator uptime information on the active chain

    Parameters

    • request: { address?: string }
      • Optional address?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetValidatorUptimeResponse>

  • GetWasmCodeById list cosmwasm code infor by ID

    Parameters

    • request: { codeId?: string }
      • Optional codeId?: string

        Code ID of the code

    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetWasmCodeByIDResponse>

  • GetWasmCodes lists all stored code

    Parameters

    • request: { fromNumber?: string; limit?: number; toNumber?: string }
      • Optional fromNumber?: string
      • Optional limit?: number
      • Optional toNumber?: string
    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetWasmCodesResponse>

  • GetWasmContractByAddress list cosmwasm contract info by its address

    Parameters

    • request: { contractAddress?: string }
      • Optional contractAddress?: string

        Contract address

    • Optional metadata: BrowserHeaders

    Returns internal.Promise<internal.GetWasmContractByAddressResponse>

  • 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>

  • StreamTxs returns transactions based upon the request params

    Parameters

    Returns Observable<internal.StreamTxsResponse>

Generated using TypeDoc