0.8.7 • Published 4 years ago

@test-xchain/xchain-polkadot v0.8.7

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@test-xchain/xchain-polkadot

Polkadot Module for XChainJS Clients

Installation

yarn add @test-xchain/xchain-polkadot

Polkadot Client Testing

yarn install
yarn test

Following peer dependencies have to be installed into your project. These are not included in @test-xchain/xchain-polkadot.

yarn add axios @polkadot/api @polkadot/util @test-xchain/xchain-client @test-xchain/xchain-crypto @test-xchain/xchain-util

Service Providers

This package uses the following service providers:

FunctionServiceNotes
BalancesSubscanPOST https://polkadot.subscan.io/api/open/account
Transaction historySubscanhttps://docs.api.subscan.io/#transfers
Transaction details by hashSubscanhttps://docs.api.subscan.io/#extrinsic
Transaction feesSubstrate RPChttps://polkadot.js.org/docs/substrate/rpc/#queryinfoextrinsic-bytes-at-blockhash-runtimedispatchinfo
Transaction broadcastSubstrate RPChttps://polkadot.js.org/docs/substrate/rpc#submitextrinsicextrinsic-extrinsic-hash
ExplorerSubscan Explorerhttps://polkadot.subscan.io

Subscan API rate limits: https://docs.api.subscan.io/#rate-limiting