Interface ClientPOS

Hierarchy

Methods

  • Retrieves auction information by block hash, including Validator Bids and Era Validators.

    Returns

    A Promise resolving to the auction info.

    Rpc

    state_get_auction_info_v2 (fallback: state_get_auction_info)

    Parameters

    • blockHash: string

      The hash of the block to retrieve auction info for.

    Returns Promise<StateGetAuctionInfoResult>

  • Retrieves auction information by block height, including Validator Bids and Era Validators.

    Returns

    A Promise resolving to the auction info.

    Rpc

    state_get_auction_info_v2 (fallback: state_get_auction_info)

    Parameters

    • height: number

      The height of the block to retrieve auction info for.

    Returns Promise<StateGetAuctionInfoResult>

  • Retrieves auction information by block hash (version 1), including Validator Bids and Era Validators.

    Returns

    A Promise resolving to the auction info (V1).

    Rpc

    state_get_auction_info

    Parameters

    • blockHash: string

      The hash of the block to retrieve auction info for.

    Returns Promise<StateGetAuctionInfoV1Result>

  • Retrieves auction information by block height (version 1), including Validator Bids and Era Validators.

    Returns

    A Promise resolving to the auction info (V1).

    Rpc

    state_get_auction_info

    Parameters

    • height: number

      The height of the block to retrieve auction info for.

    Returns Promise<StateGetAuctionInfoV1Result>

  • Retrieves EraInfo by block hash. Only the last block in an era (switch block) contains an era summary.

    Returns

    A Promise resolving to the EraInfo.

    Parameters

    • hash: string

      The hash of the block to retrieve EraInfo for.

    Returns Promise<ChainGetEraInfoResult>

  • Retrieves EraInfo by block height. Only the last block in an era (switch block) contains an era summary.

    Returns

    A Promise resolving to the EraInfo.

    Parameters

    • height: number

      The height of the block to retrieve EraInfo for.

    Returns Promise<ChainGetEraInfoResult>

  • Retrieves the latest EraInfo from the network. Only the last block in an era (switch block) contains an era summary. This method returns information about the latest block, which may not be the last block in the era.

    Returns

    A Promise resolving to the latest EraInfo.

    Returns Promise<ChainGetEraInfoResult>

Generated using TypeDoc