sui icon indicating copy to clipboard operation
sui copied to clipboard

[docs] Document gas fee estimation process

Open awelc opened this issue 3 years ago • 4 comments
trafficstars

We have been getting questions on our social channels on gas fee estimation and we should have it documented somewhere. If this is already done, let's have a link here so that it's searchable in the issues. Preliminarily assigning @oxade to it as our guru in this space.

awelc avatar Oct 26 '22 18:10 awelc

Working on this. Will sync with @randall-Mysten on how to best document estimation.

oxade avatar Nov 03 '22 20:11 oxade

@oxade, any update on this?

awelc avatar Nov 06 '22 18:11 awelc

@awelc yes. @sblackshear believes we should just point folks to https://docs.sui.io/sui-jsonrpc#sui_dryRunTransaction for now. When the estimators are fleshed out, we can elaborate on the docs. So for now I can at most add a couple lines in the docs saying how to use dry run approach.

oxade avatar Nov 06 '22 18:11 oxade

So for now I can at most add a couple lines in the docs saying how to use dry run approach.

I think it would be worthwhile. If possible, please close this issue once these couple of lines are added.

awelc avatar Nov 07 '22 03:11 awelc