🤝🏻 Cooperation-API:🕹Integrate GMGN ETH/Base/BSC Trading API

Welcome to integrate GMGN's ETH/Base trading API for fast quantitative trading.

Authentication

  • GMGN provides professional users with SOL/BSC/Base/ETH Trading API. Access is granted solely based on sufficient Trading Volume on GMGN. Review will be completed within 24 hours after submission

  • To access the GMGN Trade API, apply for permission by filling out the following Google Form: https://forms.gle/CWABDLRe8twvygvy5

  • Upon approval, GMGN will issue an API Key to your email. Include the API Key in the request header with the name: x-route-key

  • Each API Key is rate-limited to one call every 5 seconds

ETH/Base chain Swap transaction steps:

  1. Get the transaction route, recommended slippage, and recommended gas price at the same time

  1. After selecting the route, call the simulated transaction

💻Swap transaction simulation (ETH/Base)

  1. After the simulated transaction is passed, get the returned data field and use normal rpc or anti-pinch rpc to submit the formal transaction

Submit transaction signature, you can use ethers js library

Signature transaction tutorial https://docs.ethers.org/v6/api/providers/#Signer-signTransaction

Ethers js library https://github.com/ethers-io/ethers.js

Last updated