multichain-crypto-wallet
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.
13 lines (12 loc) • 1.21 kB
TypeScript
import { BalancePayload, GetTransactionPayload, IGetTokenInfoPayload, ISmartContractCallPayload, TransferPayload } 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, recipientAddress, amount, feeLimit, }: TransferPayload) => Promise<import("../utils/types").IResponse>;
getTransaction: ({ hash, rpcUrl }: GetTransactionPayload) => Promise<import("../utils/types").IResponse>;
getTokenInfo: ({ address, rpcUrl, apiKey, }: IGetTokenInfoPayload) => Promise<import("../utils/types").IResponse>;
smartContractCall: ({ rpcUrl, contractAddress, privateKey, method, params, methodType, feeLimit, contractAbi, }: ISmartContractCallPayload) => Promise<import("../utils/types").IResponse>;
};
export default _default;