Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 341

Questions about the Polkadot-JS API used to interact with Substrate-based chains using JavaScript.

0 votes

How to use @polkadot/react-components? version issue

As stated in the description, this package is not intended to be used by others developers. WARNING: This is an internal package to polkadot-js/apps so is not inteded (yet) for broad use.
Tbaut's user avatar
  • 253
2 votes

How to decode an error that happened in a proxy.proxy call

Thanks a lot forgetso for your help. this definitely got me on the right track. For some reason, the asModule didn't work. I had subsequent TS errors such as toNumber is not a function. I had to use t …
Tbaut's user avatar
  • 253
6 votes
0 answers
77 views

Decompose complex types in JS

My overall goal is to build a generic extrinsic builder, just like the extrinsic tab from polkadot-js/apps. This code is very old and very hard to decipher unfortunately and I couldn't find any doc fo …
Tbaut's user avatar
  • 253
0 votes
2 answers
107 views

How to decode an error that happened in a proxy.proxy call

I'd like to show my users if an error occurred while doing a proxy.proxy call. While I know how to decode a system.ExtrinsicFailed, as this is well documented, I have difficulties finding the correct …
Tbaut's user avatar
  • 253
1 vote

How to prevent Polkadot{.js} extension from injecting all addresses into the site's JavaScri...

I can't comment yet, so all I'm left with is to answer: I implemented this feature a couple months ago https://github.com/polkadot-js/extension/pull/1068 I published an article about it too: https://b …
Tbaut's user avatar
  • 253