teleport-sdk.teleportbridge.mintwithoracles
Home > teleport-sdk > TeleportBridge > mintWithOracles
TeleportBridge.mintWithOracles() method
Mint tokens using oracle attestations on the target domain
Signature:mintWithOracles(teleportGUID: TeleportGUID, signatures: string, maxFeePercentage?: BigNumberish, operatorFee?: BigNumberish, sender?: Signer, overrides?: Overrides): Promise<Call>;
Parameters
Parameter | Type | Description |
---|---|---|
teleportGUID | TeleportGUID | attested TeleportGUID |
signatures | string | oracle signatures |
maxFeePercentage | BigNumberish | (Optional) maximum fee determined by the user |
operatorFee | BigNumberish | (Optional) fee paid to relayer |
sender | Signer | (Optional) address that will get the tokens on the target domain |
overrides | Overrides | (Optional) ethers.js transaction overrides |
Promise<Call>
Promise containing call to the Teleport contracts
Remarks
This *requires* oracle attestations for the teleport action to be collected via the use of getAttestations()