This API provides access to the indexed bridge event data.
To make requests, use: https://api.synapseprotocol.com Swagger docs can be found here
All API calls can be viewed in Swagger:
-
GET /api/pending-transactions-missing-relay
- Description: Retrieves pending transactions that are missing relay events
- Example:
curl http://localhost:3001/api/pending-transactions/missing-relay
-
GET /api/pending-transactions-missing-proof
- Description: Retrieves pending transactions that are missing proof events
- Example:
curl http://localhost:3001/api/pending-transactions/missing-proof
-
GET /api/pending-transactions-missing-claim
- Description: Retrieves pending transactions that are missing claim events
- Example:
curl http://localhost:3001/api/pending-transactions/missing-claim
-
GraphQL endpoint: /graphql
- Description: Provides a GraphQL interface for querying indexed data, the user is surfaced an interface to query the data via GraphiQL
- NODE_ENV: Set to
"development"
for localhost testing. - DATABASE_URL: PostgreSQL connection URL for the ponder index.
yarn dev:local
: Runs the API in development mode using local environment variablesyarn dev:prod
: Runs the API in development mode using production environment variablesyarn start
: Starts the API in production mode