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