UNPKG

@dfinity/nns

Version:

A library for interfacing with the Internet Computer's Network Nervous System.

12 lines (11 loc) 470 B
import { type CanisterOptions } from "@dfinity/utils"; import type { _SERVICE as GenesisTokenService } from "../candid/genesis_token"; import type { NeuronId } from "./types/common"; export declare class GenesisTokenCanister { private readonly service; private constructor(); static create(options?: CanisterOptions<GenesisTokenService>): GenesisTokenCanister; claimNeurons: ({ hexPubKey, }: { hexPubKey: string; }) => Promise<NeuronId[]>; }