Substrate API Sidecar
Accounts
Introduction
Substrate Sidecar is a REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.
The full API documentation for Sidecar can be found at https://paritytech.github.io/substrate-api-sidecar/dist/.
Using the Postman Collection
This Postman collection makes available all the endpoints exposed by Sidecar for your Substrate blockchain within Postman.
To use this collection, create a new Postman environment. You can name your new environment whatever you prefer, for example: Dev
.
Within the environment you need to define environment variables that are used in the various endpoints. They include:
url
- The URL for your Sidecar REST API. The default local value to define is: http://127.0.0.1:8080account
- The account ID of a specific user on the blockchainnumber
- The number of a specific block from the blockchainextrensicIndex
- The index number of a specific extrensic on a blockassetId
- The ID of an pallet assetstorageItemId
- The ID of a pallet storage itemparaId
- The ID of a specific parachain
GETGET Account Asset Balance
http://127.0.0.1:8080/accounts/00000/asset-balances
GETGET Account Asset Approvals
GETGET Account Balance Info
Loading