You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are following the docs, you encounter the const section .
You are typing happily the examples in your editor.
You assume you get something but you get undefinded
You have to start to tinker, ok, but UX decreases.
Solution
The closest that i can find is operationalFeeMultiplier.
constwsProvider=newWsProvider("wss://rpc.ibp.network/polkadot");constapi=awaitApiPromise.create({provider: wsProvider});asyncfunctiongetOperationalFeeMultiplier(){//A fee mulitplier for Operational extrinsics to compute "virtual tip" to boost their priorityconstlogy=awaitapi.consts.transactionPayment.operationalFeeMultiplier.toString();console.log(logy);}getOperationalFeeMultiplier()
I assume that the examples are in some way relevant.
In this case I dont think it its relevant and would just delete this line
Same with this line , because it took me a while to understand that babe exist on Polkadot, but the most parachains dont have this const.
The text was updated successfully, but these errors were encountered:
Problem
If you are following the docs, you encounter the const section .
You are typing happily the examples in your editor.
You assume you get something but you get
undefinded
You have to start to tinker, ok, but UX decreases.
Solution
The closest that i can find is operationalFeeMultiplier.
I assume that the examples are in some way relevant.
In this case I dont think it its relevant and would just delete this line
Same with this line , because it took me a while to understand that babe exist on Polkadot, but the most parachains dont have this const.
The text was updated successfully, but these errors were encountered: