Skip to main content

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

ParameterTypeDescription
teleportGUIDTeleportGUIDattested TeleportGUID
signaturesstringoracle signatures
maxFeePercentageBigNumberish(Optional) maximum fee determined by the user
operatorFeeBigNumberish(Optional) fee paid to relayer
senderSigner(Optional) address that will get the tokens on the target domain
overridesOverrides(Optional) ethers.js transaction overrides
Returns:

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()