Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
GET Permit2 address
TypeScript
const options = {method: 'GET'}; fetch('https://swap.ggp.gg/api/{blockchain}/permit/address', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
curl --request GET \ --url https://swap.ggp.gg/api/{blockchain}/permit/address
import requests url = "https://swap.ggp.gg/api/{blockchain}/permit/address" response = requests.get(url) print(response.text)
200
Result
{ "data": "0x000000000022D473030F116dDEE9F6B43aC78BA3" }
ethereum
bsc
Permit2 address for POST /{blockchain}/swap or POST /{blockchain}/order
Permit2 contract address