A powerful dynamic API that allows chain interactions with transparent encoding and decoding.
An overview of the various default methods, state entries and RPCs for Substrate-based chains.
Various type interfaces to make using returned values from API calls transparent in your code.
Getting started & Examples
Jump right in and get an overview on using the API in your projects, from installation all the way through to making it do magic. Already understand how things work and just want the examples? The ApiPromise examples provide some basic recipies.
This repository split up into a number of internal packages, namely -
The Polkadot Project
You can find the Polkadot repositories at:
This documentation is generated from https://github.com/polkadot-js/api