Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/express-relay/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

"api-reference": {
"title": "HTTP API Reference ↗",
"href": "https://pyth-express-relay-mainnet.asymmetric.re/redoc",
"href": "https://pyth-express-relay-mainnet.asymmetric.re/docs",
"newWindow": true
},
"websocket-api-reference": "Websocket API Reference",
Expand Down
4 changes: 2 additions & 2 deletions pages/express-relay/integrate-as-protocol.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ contract EasyLend is IExpressRelayFeeReceiver {

DeFi protocols should fetch opportunities and expose them to Express Relay for auction.

Express Relay provides a **POST** method, [`/v1/opportunities`](https://per-staging.dourolabs.app/redoc#tag/opportunity/operation/post_opportunity), which accepts a JSON payload containing the details of the opportunity.
Express Relay provides a **POST** method, [`/v1/opportunities`](https://per-staging.dourolabs.app/docs#tag/opportunity/operation/post_opportunity), which accepts a JSON payload containing the details of the opportunity.

The JSON payload should contain opportunities in the following format:

Expand Down Expand Up @@ -233,4 +233,4 @@ The [Error Codes](./errors.mdx) page lists the error codes returned by Express R

### API Reference

The [API Reference](https://per-staging.dourolabs.app/redoc) provides detailed information on Express Relay APIs for submitting opportunities.
The [API Reference](https://per-staging.dourolabs.app/docs) provides detailed information on Express Relay APIs for submitting opportunities.
4 changes: 2 additions & 2 deletions pages/express-relay/integrate-as-searcher.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ await client.subscribe_chains(['op_sepolia'])

</Tabs.Tab>
<Tabs.Tab>
Searchers can request opportunities through an HTTP **GET** call to the [`/v1/opportunities`](https://pyth-express-relay-mainnet.asymmetric.re/redoc#tag/opportunity/operation/get_opportunities) endpoint.
Searchers can request opportunities through an HTTP **GET** call to the [`/v1/opportunities`](https://pyth-express-relay-mainnet.asymmetric.re/docs#tag/opportunity/operation/get_opportunities) endpoint.

```bash copy
curl -X 'GET' \
Expand Down Expand Up @@ -208,7 +208,7 @@ def opportunity_callback(opportunity: Opportunity):

</Tabs.Tab>
<Tabs.Tab>
Searchers can submit bids through an HTTP POST call to the [`/v1/bids`](https://pyth-express-relay-mainnet.asymmetric.re/redoc#tag/bid/operation/bid) endpoint. This endpoint accepts a JSON payload containing the details of the bid.
Searchers can submit bids through an HTTP POST call to the [`/v1/bids`](https://pyth-express-relay-mainnet.asymmetric.re/docs#tag/bid/operation/bid) endpoint. This endpoint accepts a JSON payload containing the details of the bid.

```bash copy
curl -X POST https://pyth-express-relay-mainnet.asymmetric.re/v1/bids \
Expand Down
2 changes: 1 addition & 1 deletion pages/express-relay/websocket-api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ After a successful subscription, you will receive new opportunities for the sele
}
```

The schema for the opportunity is similar to what’s returned in the [HTTP requests](https://pyth-express-relay-mainnet.asymmetric.re/redoc#tag/opportunity/operation/get_opportunities)
The schema for the opportunity is similar to what’s returned in the [HTTP requests](https://pyth-express-relay-mainnet.asymmetric.re/docs#tag/opportunity/operation/get_opportunities)

To unsubscribe from a list of chains, you can send the following message:

Expand Down
Loading