Skip to content

Commit

Permalink
chore: update function name
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Nov 28, 2024
1 parent 391f8dd commit ff68f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/AxelarQueryAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,12 +433,12 @@ export class AxelarQueryAPI {
* @throws {Error} If no hops are provided or chain validation fails
* @returns Promise containing the estimated fees if the showDetailedFees option is not provided, or an object containing the detailed fees if showDetailedFees is true
*/
public async estimateGasFeeGMP(hop: HopParams, options?: EstimateMultihopFeeOptions) {
public async estimateGMPFee(hop: HopParams, options?: EstimateMultihopFeeOptions) {
return this.estimateMultihopFee([hop], options);
}

/**
* @deprecated. We recommend using `estimateGasFeeGMP` instead.
* @deprecated. We recommend using `estimateGMPFee` instead.
*
* Calculate estimated gas amount to pay for the gas receiver contract.
* @param sourceChainId Can be of the EvmChain enum or string. If string, should try to generalize to use the CHAINS constants (e.g. CHAINS.MAINNET.ETHEREUM)
Expand Down

0 comments on commit ff68f0a

Please sign in to comment.