UNPKG

multichain-controller

Version:

A Multichain crypto wallet library that supports Ethereum, Bitcoin, Solana, Waves and other EVM compatible blockchains E.g. Binance Smart Chain, Polygon, Avalanche etc.

15 lines (14 loc) 1.41 kB
import { BalancePayload, GetEncryptedJsonFromPrivateKey, GetTransactionPayload, GetWalletFromEncryptedjsonPayload, TransferPayload, IGetTokenInfoPayload, ISmartContractCallPayload } from '../utils/types'; declare const _default: { getBalance: ({ rpcUrl, tokenAddress, address, }: BalancePayload) => Promise<import("../utils/types").IResponse>; createWallet: (derivationPath?: string | undefined) => import("../utils/types").IResponse; getAddressFromPrivateKey: (privateKey: string) => import("../utils/types").IResponse; generateWalletFromMnemonic: (mnemonic: string, derivationPath?: string | undefined) => import("../utils/types").IResponse; transfer: ({ privateKey, tokenAddress, rpcUrl, ...args }: TransferPayload) => Promise<import("../utils/types").IResponse>; getTransaction: ({ hash, rpcUrl }: GetTransactionPayload) => Promise<import("../utils/types").IResponse>; getEncryptedJsonFromPrivateKey: (args: GetEncryptedJsonFromPrivateKey) => Promise<import("../utils/types").IResponse>; getWalletFromEncryptedJson: (args: GetWalletFromEncryptedjsonPayload) => Promise<import("../utils/types").IResponse>; getTokenInfo: ({ address, rpcUrl }: IGetTokenInfoPayload) => Promise<import("../utils/types").IResponse | undefined>; smartContractCall: (args: ISmartContractCallPayload) => Promise<import("../utils/types").IResponse>; }; export default _default;