Skip to content

[Backend] Build Allbridge Query and Tracking APIs #848

Description

@ONEONUORA

Description

Implement backend API endpoints to support Allbridge cross-chain routing and confirmation:

  • GET /api/allbridge/tokens: Fetches and caches the list of supported Allbridge chains, tokens, and bridge routes.
  • POST /api/allbridge/quote: Computes fee estimates, slippage, and swap rates for bridging origin assets.
  • Verification Daemon: Create a polling worker to verify the status of Allbridge cross-chain transfers via tx-hash before committing new plans to PostgreSQL.

Acceptance Criteria

  • Endpoints return correctly structured payloads mapping to Allbridge API/SDK.
  • Local PostgreSQL records the origin tx hash, target token amount, and bridging fees.
  • Thread-safe background monitoring with proper error logging for failed or stuck bridge transactions.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbackendBackend componentenhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions