manta.js: expose methods to get fee estimates for all private transaction types #55
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one
P-high
Priority: High
T-fullstack
Team: Relevant for the Fullstack Team
Currently, it's not possible to conveniently get accurate fee estimates using manta.js. Fee estimates require an extrinsic, and building a private transfer extrinsic requires a proof, which for end users requires approving a transaction through manta-signer. We can sidestep the need to interact with manta-signer by exposing a method to build "dummy" private transaction extrinsics, which have invalid but correctly shaped proofs / other parameters.
We could also create functionality to get public transfer fee estimates for convenience.
The text was updated successfully, but these errors were encountered: