Hierarchy

  • RouterExplorer

Methods

  • Fetches specific Block

    Returns

    Throws

    Parameters

    • height: Number

      BlockHeight

    Returns Promise<{
        block: BlockType;
    }>

  • Fetches specific Crosschain

    Returns

    Throws

    Parameters

    • formAttestationId: String

    Returns Promise<{
        crosschain: CrosschainType;
    }>

  • Fetches specific Crosschains

    Returns

    Throws

    Parameters

    • searchTerm: String

      Source Sender or Source Transaction Hash

    • srcChainIds: string[] = []
    • dstChainIds: string[] = []
    • timeRange: number[] = []

      Time Range

    • limit: Number = 10

      Page Limit

    • offset: Number = 1

      Page Number

    Returns Promise<{
        paginatedCrosschain: PaginatedCrosschain;
    }>

  • Fetches latest Blocks

    Returns

    Throws

    Parameters

    • timeRange: number[] = []

      Time Range

    • limit: Number = 10

      Page Limit

    • offset: Number = 1

      Page Number

    Returns Promise<{
        paginatedBlock: PaginatedBlock;
    }>

  • Fetches latest Crosschains

    Returns

    Throws

    Parameters

    • timeRange: number[] = []

      Time Range

    • limit: Number = 10

      Page Limit

    • offset: Number = 1

      Page Number

    Returns Promise<{
        paginatedCrosschain: PaginatedCrosschain;
    }>

  • Fetches latest Transactions

    Returns

    Throws

    Parameters

    • timeRange: number[] = []

      Time Range

    • limit: Number = 10

      Page Limit

    • offset: Number = 1

      Page Number

    Returns Promise<{
        paginatedTransaction: PaginatedTransaction;
    }>

  • Fetches latest Transactions for a specific address

    Returns

    Throws

    Parameters

    • address: String

      Address

    • timeRange: number[] = []
    • limit: Number = 10

      Page Limit

    • offset: Number = 1

      Page Number

    Returns Promise<{
        paginatedTransaction: PaginatedTransaction;
    }>

  • Fetches specific Transaction

    Returns

    Throws

    Parameters

    • inboundId: String

    Returns Promise<{
        outboundToInboundMap: InboundOutboundMapType[];
    }>

  • Fetches specific Transaction

    Returns

    Throws

    Parameters

    • hash: String

    Returns Promise<{
        transaction: TransactionType;
    }>

Generated using TypeDoc