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: ETH_SEPOLIA, token: '0xTokenAddress'})// => 'ethereum:0xRecipientAddress@11155111?value=100&token=0xTokenAddress' Copy
const link = await generateTransferLink(client, { to: '0xRecipientAddress', amount: '100', chain: ETH_SEPOLIA, token: '0xTokenAddress'})// => 'ethereum:0xRecipientAddress@11155111?value=100&token=0xTokenAddress'
Generates a ERC-681 transfer link for a specified recipient and amount.