Refund Prepaid Gas
If the gas fees prepaid to payNativeGasForContractCall()
or payNativeGasForContractCallWithToken()
exceeds the actual amount needed for relaying a message to the destination contract, the Gas Service will automatically caclculate the excess gas amount and refund it to the payer’s wallet address by calling refund()
on the AxelarGasService
contract.
The refunded amount consists of the total amount paid, minus the network base fee, the actual gas used, and the gas costs estimated for transferring the refund. Refunds are made on the source chain.
Tracking refund status
Refund status can be tracked on Axelarscan.