Closed Olanetsoft closed 9 months ago
If the native gas is insufficient, the execution will not proceed. However, you can programmatically add more gas in Solidity as referenced here, or use the Axelar SDK as mentioned here . Alternatively, you can manually pay gas on the Axelarscan UI by connecting your wallet and clicking the 'Pay Gas' button.
The optimal method for estimating the fee for a cross-chain transaction is to use our SDK, which provides an accurate estimate of the necessary fee for the transaction to be processed, as detailed here. However, it's important to note that this process is not conducted on-chain. While we currently do not support on-chain estimations, we are open to understanding and accommodating specific needs in this area. Please feel free to share any such requirements you may have.
hey guys. I am working on a dapp on axelar and have some questions: 1\ if paying native gas not enough to execute on destination chain, does the executor do the execution? or just refund on source chain? 2\ what is the best way to quote fee on-chain for app composing?