Get supported chains
curl --request GET \
--url https://dev.api.withconvexity.com/v1/wallet/rpc/chains \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.api.withconvexity.com/v1/wallet/rpc/chains"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.api.withconvexity.com/v1/wallet/rpc/chains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": true,
"message": "Supported chains retrieved",
"data": [
{
"chainType": "EVM",
"name": "Base Mainnet",
"chainId": 8453,
"network": "MAINNET"
},
{
"chainType": "EVM",
"name": "BSC Mainnet",
"chainId": 56,
"network": "MAINNET"
},
{
"chainType": "SOLANA",
"name": "Solana Mainnet",
"chainId": null,
"network": "MAINNET"
}
]
}{
"status": false,
"message": "Authorization token is missing or malformed."
}Wallet
Get supported chains
Lists the chains the platform can sign and broadcast on.
GET
/
v1
/
wallet
/
rpc
/
chains
Get supported chains
curl --request GET \
--url https://dev.api.withconvexity.com/v1/wallet/rpc/chains \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.api.withconvexity.com/v1/wallet/rpc/chains"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.api.withconvexity.com/v1/wallet/rpc/chains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": true,
"message": "Supported chains retrieved",
"data": [
{
"chainType": "EVM",
"name": "Base Mainnet",
"chainId": 8453,
"network": "MAINNET"
},
{
"chainType": "EVM",
"name": "BSC Mainnet",
"chainId": 56,
"network": "MAINNET"
},
{
"chainType": "SOLANA",
"name": "Solana Mainnet",
"chainId": null,
"network": "MAINNET"
}
]
}{
"status": false,
"message": "Authorization token is missing or malformed."
}Authorizations
OAuth 2.0 access token from Auth-Edge.
Response
OK
The response is of type object.
⌘I
