teleport-sdk.teleportbridge.approvesrcgateway
Home > teleport-sdk > TeleportBridge > approveSrcGateway
TeleportBridge.approveSrcGateway() method
Approve the source domain's Gateway contract to spend tokens.
Signature:approveSrcGateway(sender?: Signer, amount?: BigNumberish, overrides?: Overrides): Promise<Call>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| sender | Signer | (Optional) address from wchich tokens will be teleported |
| amount | BigNumberish | (Optional) amount to approve |
| overrides | Overrides | (Optional) ethers.js transaction overrides |
Promise<Call>
Promise containing a contract call