Zebec Protocol
Search…
⌃K

Withdraw Deposited Token

This function withdraw the amount from zebec wallet and deposit to the main signers wallet.
// Native Token
​
const response = await native.withdrawDepositedSol({
sender: 'Av6xsgSrnM1UAj4pUZnEWM97iBphph69NPHE8J2ceeYs,
amount: 1,
});
​
// SPL Token
​
const response = await token.withdrawDepositedSol({
sender: 'Av6xsgSrnM1UAj4pUZnEWM97iBphph69NPHE8J2ceeYs,
token:'zebeczgi5fSEtbpfQKVZKCJ3WgYXxjkMUkNNx7fLKAF',
amount: 1,
});