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.
18 lines (17 loc) • 1.02 kB
TypeScript
import { BalancePayload, GetTransactionPayload, IGetTokenInfoPayload, TransferPayload } from '../utils/types';
export declare const ACCOUNT_LAYOUT: any;
export declare const chainId: {
'mainnet-beta': number;
testnet: number;
devnet: number;
};
declare const _default: {
getBalance: (args: BalancePayload) => Promise<import("../utils/types").IResponse>;
createWallet: (derivationPath?: string | undefined) => import("../utils/types").IResponse;
generateWalletFromMnemonic: (mnemonic: string, derivationPath?: string | undefined) => import("../utils/types").IResponse;
transfer: (args: TransferPayload) => Promise<import("../utils/types").IResponse>;
getAddressFromPrivateKey: (privateKey: string) => import("../utils/types").IResponse;
getTransaction: (args: GetTransactionPayload) => Promise<import("../utils/types").IResponse>;
getTokenInfo: (args: IGetTokenInfoPayload) => Promise<import("../utils/types").IResponse | undefined>;
};
export default _default;