Task
Add a createSep24Withdrawal function to implement SEP-24 withdrawal flow for off-ramping.
Details
- Function signature:
createSep24Withdrawal(params: WithdrawalParams): Promise<WithdrawalResponse>
- Implement Stellar Ecosystem Proposal 24 withdrawal flow
- Handle anchor account validation
- Track withdrawal status through completion
- Add WithdrawalParams and WithdrawalResponse interfaces
- Integration point: anchor-service package
Test
Run pnpm --filter @stellar-pay/anchor-service build to verify no TypeScript errors.
Task
Add a
createSep24Withdrawalfunction to implement SEP-24 withdrawal flow for off-ramping.Details
createSep24Withdrawal(params: WithdrawalParams): Promise<WithdrawalResponse>Test
Run
pnpm --filter @stellar-pay/anchor-service buildto verify no TypeScript errors.