teleport-sdk.teleportbridge.getrelayfee
Home > teleport-sdk > TeleportBridge > getRelayFee
TeleportBridge.getRelayFee() method
Get the relayer fee for a certain transaction
Signature:getRelayFee(isHighPriority?: boolean, relayParams?: RelayParams, relayAddress?: string): Promise<string>;
Parameters
Parameter | Type | Description |
---|---|---|
isHighPriority | boolean | (Optional) whether this transaction is to be expedited |
relayParams | RelayParams | (Optional) parameters for the relaid transaction |
relayAddress | string | (Optional) relayer's address |
Promise<string>
Promise containing the token fee (in wei) to be paid to the relayer