Skip to main content
6 votes

How can I get a deeper / lower level insight into how my transaction is processed with sidecar?

Sidecar provides the following experimental trace related endpoints : /experimental/blocks/{blockId}/traces/operations?actions=false /experimental/blocks/head/traces/operations?actions=false /...
dominique's user avatar
  • 1,683
4 votes
Accepted

How can I find out what era a block was produced in?

You can find the documentation for all Substrate API Sidecar endpoints here. For the information you're looking for, you can use the /pallets/staking/progress endpoint. By default, this will look up ...
Jorrin Bruns's user avatar
4 votes

Is there a way to automatically detect/monitor when new releases happen in Sidecar?

Here are some endpoints that might be useful: https://registry.npmjs.org/@substrate/api-sidecar (gives back JSON that contains all of the versions of the package that have been published; could be ...
jsdw's user avatar
  • 1,335
2 votes

Is there a way to find out the appropriate fee when generate tx?

Sidecar also has a POST /transaction/fee-estimate endpoint where you can submit the transaction and get the current fee rate (sans tip). Then you can add a tip to get increased priority.
joepetrowski's user avatar
  • 2,955
2 votes
Accepted

Substrate Sidecar Custom Type Issue

Geez... remove the outer types property so just have: { "AccountInfo": "AccountInfoWithRefCount" } And everything works... maybe this will help someone else.
Will White's user avatar
2 votes

is there any api for get substrate api client verison?

How are you running sidecar? If you have it installed in your project you can query the version using the CLI: node_modules/.bin/substrate-api-sidecar --version If you have installed it globally: ...
Alex Bean's user avatar
  • 5,747
1 vote

Estimated fee and Used fee

You can guess the fee before call the function querying the information from the payment RPC methods. A little script to query your example is: const wsProvider = new WsProvider('wss://kusama-rpc....
Alex Bean's user avatar
  • 5,747
1 vote

Is there a way to collect fee of transaction?

In Substrate based chains, like Polkadot, when an extrinsic is included in a block, it emits certain events to notify external entities about changes or conditions in the runtime. Polkadot-JS API ...
Iker's user avatar
  • 1,356

Only top scored, non community-wiki answers of a minimum length are eligible