routing-api
routing-api copied to clipboard
In prod, we noticed that the RoutesDB can return cached routes, that we can no longer query from RoutesDB:  From https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html, "You can...
Follow the readme, but throw error when fetch quote ```js Environmental variable QUICKNODE_42220 isn't defined! ``` and ```js Failed to get gas constants data from the optimism gas oracle ```...
There should be a helper to convert the `route` from SwapRouter in SOR to the JSON route returned by routing api
Not sure exactly why this happens, but if you quote large amounts the routing breaks. Take this example: 100,000 Matic yields more during the swap then 1,000,000 matic  ...
Hi, There is a problem that I am trying to figure out since 1 day, the APIs are successfully deployed on AWS. But during API calls It returns an internal...
THROTTLE_PER_FIVE_MINS = '' # Optional JSON_RPC_PROVIDER_{CHAIN ID} = { RPC Provider} # RPC Providers must be set for the following CHAIN IDs: # MAINNET = 1 # ROPSTEN = 3...
I had this issues while while fetching pools on the subgraph ``` { "name": "RoutingLambda", "requestId": "73a213f3-bd36-da34-83c6-db19e46c028b", "hostname": "169.254.81.245", "pid": 12, "level": 30, "err": { "message": "indexing_error: {\"response\":{\"errors\":[{\"message\":\"indexing_error\"}],\"status\":200,\"headers\":{}},\"request\":{\"query\":\"\\n query getPools($pageSize:...
If the idea is to keep routing-api inline with SOR usage, the `.env` variables should be: ``` JSON_RPC_PROVIDER_{CHAIN NAME} = { RPC Provider} # Ex: JSON_RPC_PROVIDER_MAINNET ... ``` It's also...