Skip to main content
Get your API key at hackathon-apikey.vercel.app.
Withdraw tokens from the unlink contract to any EVM address. Tokens are withdrawn from the account bound to your unlink client (set via createUnlink(), see Quickstart).
const result = await unlink.withdraw({
  recipientEvmAddress: "0xRecipient",
  token: "0xTokenAddress",
  amount: "500000000000000000",
});

const confirmed = await unlink.pollTransactionStatus(result.txId);

Parameters

ParameterTypeRequiredDescription
recipientEvmAddressstringYesDestination EVM address
tokenstringYesERC-20 token address
amountstringYesAmount in wei
Returns: { txId: string; status: string }