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
Parameter | Type | Description |
---|---|---|
srcDomain | DomainId | |
dstDomain | DomainId | |
dstDomainProvider | Provider | |
teleportGUID | TeleportGUID | |
relay | Relay | (Optional) |
isHighPriority | boolean | (Optional) |
relayParams | RelayParams | (Optional) |
Promise<{ pending: BigNumber; mintable: BigNumber; bridgeFee: BigNumber; relayFee?: BigNumber; }>