API Operations

Mining Utilities

Functions for mining operations, round management, and mining-related data processing.

Functions

mining-rounds

Gets the domain ID from the current mining round context. This is useful for operations that need to automatically determine the domain ID.

Parameters: validatorClient: ValidatorApiClient

Returns: Promise<string>

Exports: getCurrentMiningRoundContext, getCurrentMiningRoundDomainId

Example:

import { getCurrentMiningRoundContext } from '@fairmint/canton-node-sdk';

// TODO: Add example usage

Generated from https://github.com/Fairmint/canton-node-sdk v0.0.1

← Back to Utils Overview