interchain-token-sdk
Version:
SDK for deploying and managing interchain tokens across multiple chains using Axelar network
16 lines (15 loc) • 862 B
TypeScript
/**
* Estimates gas required for deploying a new token to a remote chain
* @param sourceChainName - Name of the source chain (e.g., "base-sepolia")
* @param destinationChain - Name of the destination chain
* @returns Estimated gas amount in wei
*/
export declare function estimateNewTokenDeploymentGas(sourceChainName: string, destinationChain: string): Promise<bigint>;
/**
* Estimates gas required for deploying an existing token to a remote chain
* @param sourceChainName - Name of the source chain (e.g., "base-sepolia")
* @param destinationChain - Name of the destination chain
* @param tokenAddress - Address of the existing token to be deployed
* @returns Estimated gas amount in wei
*/
export declare function estimateExistingTokenDeploymentGas(sourceChainName: string, destinationChain: string, tokenAddress: `0x${string}`): Promise<bigint>;