Questions tagged [typegen]
The typegen tag has no usage guidance.
4
questions
0
votes
1
answer
36
views
Generated Types Not Found
Hi we are following along with the typegen docs on polkadotjs documentation.
and the generated code cannot find most the types.
an example line:
Called: AugmentedEvent<ApiType, [caller: ...
0
votes
0
answers
5
views
How to get Typegen to use the Custom RPC Runtime
We have implemented custom template pallet rpc methods and they are visible when doing a call to the node on rpc.methods
we get
template_sum5
template_sumAndStore
however typegen is not adding them......
0
votes
0
answers
12
views
Polkadot Typegen importing JS extension instead of TS
We are using the typegen to create types for our custom chain.
Following the docs
The code that is generated is kinda strange. In the augment-api.ts file it tries to import all the other generated ts ...
5
votes
1
answer
44
views
How to access Polkadot/Kusama runtime types from polkadot.js api to work with the transactions arguments
With subxt is straight-forward as you can access the types by generating them using metadata and use them in your fn arguments but in polkadot.js is kinda not straight forward as where and how the ...