UNPKG

@gear-js/api

Version:

A JavaScript library that provides functionality to connect GEAR Component APIs.

10 lines (9 loc) 511 B
import type { SubmittableExtrinsic } from '@polkadot/api/types'; import type { Balance } from '@polkadot/types/interfaces'; import type { ISubmittableResult } from '@polkadot/types/types'; import type { BN } from '@polkadot/util'; import { GearTransaction } from './Transaction'; export declare class GearBalance extends GearTransaction { findOut(publicKey: string): Promise<Balance>; transfer(to: string, value: number | BN, keepAlive?: boolean): SubmittableExtrinsic<'promise', ISubmittableResult>; }