@thorwallet/xchain-polkadot
TypeScript icon, indicating that this package has built-in type declarations

0.1.1-lazy.0 • Public • Published

@xchainjs/xchain-polkadot

Polkadot Module for XChainJS Clients

Installation

yarn add @xchainjs/xchain-polkadot

Polkadot Client Testing

yarn install
yarn test

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

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

Service Providers

This package uses the following service providers:

Function Service Notes
Balances Subscan POST https://polkadot.subscan.io/api/open/account
Transaction history Subscan https://docs.api.subscan.io/#transfers
Transaction details by hash Subscan https://docs.api.subscan.io/#extrinsic
Transaction fees Substrate RPC https://polkadot.js.org/docs/substrate/rpc/#queryinfoextrinsic-bytes-at-blockhash-runtimedispatchinfo
Transaction broadcast Substrate RPC https://polkadot.js.org/docs/substrate/rpc#submitextrinsicextrinsic-extrinsic-hash
Explorer Subscan Explorer https://polkadot.subscan.io

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

/@thorwallet/xchain-polkadot/

    Package Sidebar

    Install

    npm i @thorwallet/xchain-polkadot

    Weekly Downloads

    2

    Version

    0.1.1-lazy.0

    License

    MIT

    Unpacked Size

    65.5 kB

    Total Files

    17

    Last publish

    Collaborators

    • jonbru
    • jonny
    • severinwullschleger