π€API Documentation
This document provides an overview and explanation of the available endpoints for bridging currencies between networks. Each endpoint includes details on request parameters, responses and examples.
Base URL
http://34.68.76.183:3000/Summary
GET
/currencies- Lists available currencies and networksPOST
/simulate- Provides an estimation (amount out, fees, time) for a bridging requestPOST
/bridge- Initiates a bridging order and provides deposit detailsPOST
/status- Retrieves and returns the current status of a specific bridge order
Endpoints
GET /currencies
Fetches all the currencies that are available for bridging
Method: GET
URL: http://34.68.76.183:3000/currencies
Parameters: None
Response: {
status: 200 | 500
data: [
{
network: string
ticker: string
}
] | string
}POST /simulate
Calculates the estimated output amount, fees, and other details for a given bridge
POST /bridge
Creates a bridge order. Returns deposit details and order status so that the user can initiate the transfer
POST /status
Retrieves the current status of a previously created bridge order
Last updated