Skip to main content

teleport-sdk.getfeesandmintableamounts

Home > teleport-sdk > getFeesAndMintableAmounts

getFeesAndMintableAmounts() function

Signature:
export declare function getFeesAndMintableAmounts(srcDomain: DomainId, dstDomain: DomainId, dstDomainProvider: Provider, teleportGUID: TeleportGUID, relay?: Relay, isHighPriority?: boolean, relayParams?: RelayParams): Promise<{
pending: BigNumber;
mintable: BigNumber;
bridgeFee: BigNumber;
relayFee?: BigNumber;
}>;

Parameters

ParameterTypeDescription
srcDomainDomainId
dstDomainDomainId
dstDomainProviderProvider
teleportGUIDTeleportGUID
relayRelay(Optional)
isHighPriorityboolean(Optional)
relayParamsRelayParams(Optional)
Returns:

Promise<{ pending: BigNumber; mintable: BigNumber; bridgeFee: BigNumber; relayFee?: BigNumber; }>