None of the build*Tx POST handlers declare an @HttpCode, so Nest's POST default of 201 Created applies even though these endpoints only simulate a Soroban call and return an unsigned XDR string — no resource is persisted.
Suggested fix: Import HttpCode, HttpStatus from @nestjs/common and add @HttpCode(HttpStatus.OK) to each build*Tx handler (leave the confirm-* handlers that actually create/update DB rows as-is).
None of the
build*TxPOST handlers declare an@HttpCode, so Nest's POST default of201 Createdapplies even though these endpoints only simulate a Soroban call and return an unsigned XDR string — no resource is persisted.Suggested fix: Import
HttpCode, HttpStatusfrom@nestjs/commonand add@HttpCode(HttpStatus.OK)to eachbuild*Txhandler (leave theconfirm-*handlers that actually create/update DB rows as-is).