Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
const vault = 'CAQ6PAG4X6L7LJVGOKSQ6RU2LADWK4EQXRJGMUWL7SECS7LXUEQLM5U7'; async function withdraw(amount: number, user: string, apiClient: ApiClient, signerFunction: (tx: string) => string) { const { xdr: unsignedTx } = await apiClient.postData("withdraw", vault, { amounts: [amount], caller: user }); // This should be done by implementer const signedTx = signerFunction(unsignedTx); const response = await apiClient.send(signedTx); return response; }
Was this page helpful?