axelar-gmp-sdk-solidity

Solidity API

GasEstimationType

This enum represents the gas estimation types for different chains.

enum GasEstimationType {
  Default,
  OptimismEcotone,
  OptimismBedrock,
  Arbitrum,
  Scroll
}

GasInfo

This struct represents the gas pricing information for a specific chain.

Smaller uint types are used for efficient struct packing to save storage costs.

struct GasInfo {
  uint64 gasEstimationType;
  uint64 l1FeeScalar;
  uint128 axelarBaseFee;
  uint128 relativeGasPrice;
  uint128 relativeBlobBaseFee;
  uint128 expressFee;
}