A powerful dynamic API that allows chain interactions with transparent encoding and decoding.

Substrate defaults

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.

# Welcome

The API provides application developers the ability to query a node and interact with the Polkadot or Substrate chains using Javascript. Here you will find documentation and examples to get you started.

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. Have things working and want tips? The cookbook provides some tips and tricks. Getting started and want some full examples? The ApiPromise examples provide some basic examples.

# The Polkadot Project

You can read more about the Polkadot Network at https://polkadot.network/ and more about the polkadot-js projects at https://polkadot.js.org

# Github repositories

You can find the Polkadot repositories at:

This documentation is generated from https://github.com/polkadot-js/api

# Contributing

Contribution to the Polkadot JS API are more than welcome. You can report issues and log feature requests.