Skip to main content
GET
/
api
/
{blockchain}
/
quote
JavaScript
const options = {method: 'GET'};

fetch('https://swap.ggp.gg/api/{blockchain}/quote', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "data": "<unknown>"
}

Path Parameters

blockchain
enum<string>
required
Available options:
ethereum,
bsc,
arbitrum

Query Parameters

addressTokenIn
string
required
addressTokenOut
string
required
amountIn
string
required

Response

data
object