Zebec
Search…
Withdraw
const nativeWithdraw = async () => {
const data = {
sender: "J75jd3kjsABQSDrEdywcyhmbq8eHDowfW9xtEWsVALy9", //wallet public key
amount: 1,
};
const response = await withdrawNativeTokenDeposit(data);
};

Withdraw Token

const data = {
sender: "J75jd3kjsABQSDrEdywcyhmbq8eHDowfW9xtEWsVALy9", //wallet public key
amount: 1,
token:'2ibSirDWk5P68ZKmQQSxUMtiWQFRuanpPfMfaYzxgSRv' //token mint address
};
const response = await withdrawMultiTokenDeposit(data);
Copy link