Private
handlerThe hash of the block to retrieve auction info for.
Retrieves auction information by block height, including Validator Bids and Era Validators.
A Promise resolving to the auction info.
state_get_auction_info_v2 (fallback: state_get_auction_info)
The height of the block to retrieve auction info for.
Retrieves auction information by block hash (version 1), including Validator Bids and Era Validators.
A Promise resolving to the auction info (V1).
state_get_auction_info
The hash of the block to retrieve auction info for.
Retrieves auction information by block height (version 1), including Validator Bids and Era Validators.
A Promise resolving to the auction info (V1).
state_get_auction_info
The height of the block to retrieve auction info for.
Retrieves EraInfo by block hash. Only the last block in an era (switch block) contains an era summary.
A Promise resolving to the EraInfo.
The hash of the block to retrieve EraInfo for.
Retrieves EraInfo by block height. Only the last block in an era (switch block) contains an era summary.
A Promise resolving to the EraInfo.
The height of the block to retrieve EraInfo for.
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.
A Promise resolving to the latest EraInfo.
Retrieves the latest auction information, including Validator Bids and Era Validators.
A Promise resolving to the latest auction info.
state_get_auction_info_v2 (fallback: state_get_auction_info)
Retrieves the latest auction information (version 1), including Validator Bids and Era Validators.
A Promise resolving to the latest auction info (V1).
state_get_auction_info
Retrieves status changes of active validators. The changes occurred during the EraId contained within the response itself. A validator may show more than one change in a single era.
A Promise resolving to validator status changes.
Private
parsePrivate
processPrivate
waitWaits for a transaction to be confirmed within a given timeout period. Implements a retry mechanism to handle transient errors from the getInfo function.
A promise that resolves with the transaction info if confirmed, otherwise rejects on timeout or persistent errors.
If the timeout is reached before confirmation or if getInfo fails consistently beyond the allowed retries.
The expected return type of the transaction info.
A function that fetches transaction info based on its hash.
The transaction hash to monitor.
The maximum time (in milliseconds) to wait for confirmation.
The maximum number of retries for transient errors.
The delay (in milliseconds) between retry attempts.
Waits for a deploy to be confirmed on-chain.
A promise that resolves to InfoGetDeployResult
if successful.
An error if the deploy times out.
The deploy instance.
Optional timeout in milliseconds (default: 60000ms).
Waits for a transaction to be confirmed on-chain.
A promise that resolves to InfoGetTransactionResult
if successful.
An error if the transaction times out.
The transaction instance.
Optional timeout in milliseconds (default: 6000ms).
Generated using TypeDoc
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)