Build location
Work primarily in sdk/src/contract/response.ts. Keep related tests/docs beside that package unless this issue explicitly calls for a cross-package update.
Why this matters
SDK methods should return consistent response objects across create, buy, refund, cancel, and admin operations.
What to build
- Define shared TxResponse and domain-specific extensions.
- Include txHash, ledger, status, feeCharged, resultXdr if safe, and warnings.
- Update module services to use the shared type.
Acceptance criteria
- Tests assert response shape for raffle, ticket, and admin operations.
- Public TypeDoc shows the shared response contract.
Suggested verification
cd sdk && npm run lint && npm run test && npm run build
Build location
Work primarily in
sdk/src/contract/response.ts. Keep related tests/docs beside that package unless this issue explicitly calls for a cross-package update.Why this matters
SDK methods should return consistent response objects across create, buy, refund, cancel, and admin operations.
What to build
Acceptance criteria
Suggested verification
cd sdk && npm run lint && npm run test && npm run build