@truenetworkio/sdk
Version:
True Network SDK is the abstracted interface for interacting with True Network nodes.
5 lines (4 loc) • 377 B
TypeScript
import { ApiPromise } from "@polkadot/api";
import { KeyringPair } from '@polkadot/keyring/types';
export declare const createIssuer: (api: ApiPromise, account: KeyringPair, name: string, controllers: string[]) => Promise<string>;
export declare const editIssuer: (api: ApiPromise, account: KeyringPair, hashId: string, name: string, controllers: string[]) => Promise<string>;