1

When using ConseilJS to send transaction, you need to assign transaction fee, storage limit, gas limit manually. So how to estimate transaction fee, gas/storage limit before sending the transaction to network? Could someone give me some example by ConseilJS code? Or which interface of ConseilJS should I invoke?

1

Try TezosNodeWriter.testContractInvocationOperation. You can read its documentation here. You can find it used in an example here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.