UNPKG

@thorwallet/xchain-polkadot

Version:

Custom Polkadot client and utilities used by XChainJS clients

94 lines (59 loc) 1.83 kB
# v.0.8.2 (2021-06-01) - updated peer deps # v.0.8.0 (2021-05-17) ### Breaking change - added support for HD wallets # v.0.7.0 (2021-03-02) ### Breaking change - Update @xchainjs/xchain-client package to 0.7.0 # v.0.6.0 (2021-02-24) ### Breaking change - Update @xchainjs/xchain-client package to 0.6.0 - Update `getBalance` # v.0.5.0 (2021-02-19) ### Breaking change - Update @xchainjs/xchain-client package to 0.5.0 - Update @xchainjs/xchain-crypto package to 0.2.3 - Update @xchainjs/xchain-util package to 0.2.2 ### Fix - Fix `peerDependencies` ### Update - Add `Service Providers` section in README.md # v.0.4.1 (2020-01-30) - Clear lib folder on build # v.0.4.0 (2020-01-15) ### Update - Update comments for documentation - Add `getPrefix` # v.0.3.0 (2020-12-28) ### Breaking change - Extract `getDefaultFees`, `getDecimal` from `Client` to `utils` #157 ### Update - Add `validateAddress` - Update `transfer` (check `insufficient balance`) - Update dependencies # v.0.2.0 (2020-12-11) ### Update - Update dependencies - Add `getDefaultFees` - Remove `deposit` - Fix `transfer` to use `system.remark` to handle the memo - Fix address derivation # v.0.1.0 (2020-11-23) First release - setNetwork(net: Network): void - getNetwork(): Network - getExplorerUrl(): string - getExplorerAddressUrl(address: Address): string - getExplorerTxUrl(txID: string): string - getAddress(): Address - setPhrase(phrase: string): Address - getBalance(address?: Address, asset?: Asset): Promise<Balances> - getTransactions(params?: TxHistoryParams): Promise<TxsPage> - getTransactionData(txId: string): Promise<Tx> - getFees(): Promise<Fees> - transfer(params: TxParams): Promise<TxHash> - purgeClient(): void - getSS58Format(): number - getWsEndpoint(): string - estimateFees(params: TxParams): Promise<Fees>