Supported Contracts
get
https://platform.swing.xyz/api/v1
/contracts
Get a list of all contracts supported in the Swing Platform
address
stringchain
stringExample:
ethereum
integration
stringExample:
lido
method
stringExample:
supply
type
stringAllowed values:
depositwithdrawclaimrouterbridge
x-swing-environment
stringSwing API environment to use
Allowed values:
productiontestnet
Default:
production
Responses
200
OK
array of:
id
stringtype
stringAllowed values:
depositwithdrawclaimrouterbridge
address
stringContract address
Example:
0x...
method
stringExample:
supply
chain
stringExample:
ethereum
integration
stringExample:
lido
inputToken
stringExample:
ETH
outputToken
string or null
Example:
rETH
::::::
curl --request GET \--url https://platform.swing.xyz/api/v1/contracts \--header 'Accept: application/json' \--header 'x-swing-environment: '
1[2{3"id": "string",4"type": "deposit",5"address": "0x...",6"method": "supply",7"chain": "ethereum",8"integration": "lido",9"inputToken": "ETH",10"outputToken": "rETH"11}12]