@fairmint/canton-node-sdk
Version:
Canton Node SDK
29 lines • 1.28 kB
TypeScript
import { ApiOperation } from '../../../../../core/operations/ApiOperation';
import { type operations } from '../../../../../generated/apps/scan/src/main/openapi/scan';
import { type GetMemberTrafficStatusParams } from '../../../schemas/operations';
/**
* Get a member's traffic status as reported by the sequencer
*
* @example
* ```typescript
* // Get traffic status for current party in current mining round domain
* const status = await client.getMemberTrafficStatus();
*
* // Get traffic status for specific member in current mining round domain
* const status = await client.getMemberTrafficStatus({
* memberId: 'PAR::id::fingerprint'
* });
*
* // Get traffic status for specific member in specific domain
* const status = await client.getMemberTrafficStatus({
* domainId: 'domain123',
* memberId: 'PAR::id::fingerprint'
* });
*
*
* ```;
*/
export declare class GetMemberTrafficStatus extends ApiOperation<GetMemberTrafficStatusParams, operations['getMemberTrafficStatus']['responses']['200']['content']['application/json']> {
execute(params?: GetMemberTrafficStatusParams): Promise<operations['getMemberTrafficStatus']['responses']['200']['content']['application/json']>;
}
//# sourceMappingURL=get-member-traffic-status.d.ts.map