-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where can I find rate model data? #22
Comments
We switched to using on chain rate models in the last couple months. We have javascript libraries i could point you to, but if you are using python this might not be helpful. Whats the best way for you to get this information? We could potentially make some restful routes to provide this info. |
@mookim-eth we also have an API that you can use to determine fees: https://docs.across.to/bridge/developers/sending-relays. Would that be preferable to computing the fees yourself? |
@daywiss @mrice32 Thanks, this REST api is of great help! Could you add another API for fetching current supporting chain and tokens? So that I can iterate all possible |
@mookim-eth It's a great question. We can probably add something to the API to expose this. |
Hi, there, I'm developer of BridgeEye, and I have already intergrated your bridge for the old version (only supporting ETH, USDC from Arbitrum to Ethereum now ), code here: https://github.com/DeFiEye/BridgeEye/blob/master/crosschain/acrossto.py
Since your bridge have upgraded to support more chains (Boba and Optimism), and more tokens like WBTC, I need to also modify my code to keep update.
Could you provide a easy method for me to get rate model data, I know I can get this data from your docs page by human effort and hard-code it to my code, but I think it should be a more elegant way to achieve this.
Besides, I think I hard-coded these constants, can I fetch these latest value to avoid hard-code?
Thanks in advance~
The text was updated successfully, but these errors were encountered: