UNPKG

@overgold/light-client

Version:

## Установка переменных

82 lines (81 loc) 2.14 kB
import * as Helpers from 'src/data'; declare const mnemonicIsValid: (mnemonic: string) => boolean; declare const accountAddressIsValid: (address: string) => boolean; declare const getAccountAddressFromMnemonic: (mnemonic: string) => Promise<{ data: null; error: { status: number; message: string; }; } | { data: { address: string; }; error: null; }>; declare const getSessionFromMnemonic: (mnemonic: string) => Promise<{ data: null; error: { status: number; message: string; statusText?: undefined; }; } | { data: import("js-client").ISession; error: null; } | { data: null; error: { status: number; statusText: string; message?: undefined; }; }>; declare const getAccountAllBalance: (address: string) => Promise<Helpers.BalanceAll>; declare const getTransactionByHash: (txHash: string) => Promise<{ data: import("axios").AxiosResponse<any, any>; error: null; } | { data: null; error: { status: any; statusText: string; }; }>; declare const getPrice: Helpers.Price; declare const getOrderInfo: (hash: string) => Promise<{ data: any; error: null; } | { data: null; error: { status: any; statusText: string; }; }>; declare const confirmStakeToCardio: ({ hash, email, address, }: Helpers.ConfirmStakeToCardioProps) => Promise<{ data: any; error: null; } | { data: null; error: { status: any; statusText: string; }; }>; declare const getAccountBallanceInCryptoCurrency: ({ address, currency, }: Helpers.GetAccountBallanceInCryptoCurrencyProps) => Promise<{ data: { balance: any; rate: any; date: string; currency: string; }; error: null; } | { data: null; error: { status: any; statusText: string; }; }>; export { mnemonicIsValid, accountAddressIsValid, getSessionFromMnemonic, getAccountAllBalance, getAccountAddressFromMnemonic, getTransactionByHash, getPrice, getOrderInfo, confirmStakeToCardio, getAccountBallanceInCryptoCurrency, };