Questions tagged [typegen]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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: ...
donkeydonkey's user avatar
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......
donkeydonkey's user avatar
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 ...
donkeydonkey's user avatar
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 ...
Mrisho Lukamba's user avatar