@circle-fin/usdckit - v0.18.0
    Preparing search index...

    Function generateTransferLink

    • Generates a ERC-681 transfer link for a specified recipient and amount.

      Parameters

      Returns Promise<string>

      A promise that resolves to the generated transfer link.

      Will throw an error if the contract read operation fails.

      const link = await generateTransferLink(client, {
      to: '0xRecipientAddress',
      amount: '100',
      chain: someChain,
      token: '0xTokenAddress'
      });
      console.log(link);