Generates a ERC-681 transfer link for a specified recipient and amount.
The client instance to use for the operation.
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); Copy
const link = await generateTransferLink(client, { to: '0xRecipientAddress', amount: '100', chain: someChain, token: '0xTokenAddress'});console.log(link);
Generates a ERC-681 transfer link for a specified recipient and amount.