Platform Info

Get Platform Info

GET solidityscan.com/app/api-get-platform-chain-ids/

This endpoint allows users to retrieve all supported platform and chain information in a well-formatted JSON format.

Headers

Name
Value

accept

application/json

accept-language

en-GB,en-US;q=0.9,en;q=0.8

Response

{
    "data": {
        "xdc": {
            "id": "12",
            "chains": [
                {
                    "mainnet": "1"
                },
                {
                    "testnet": "2"
                }
            ]
        },
        "celo": {
            "id": "7",
            "chains": [
                {
                    "mainnet": "1"
                },
                {
                    "testnet": "2"
                }
            ]
        },
        "fuse": {
            "id": "15",
            "chains": [
                {
                    "mainnet": "1"
                },
                {
                    "testnet": "2"
                }
            ]
        },
...

Example

curl --location 'https://solidityscan.com/app/api-get-platform-chain-ids/' \
--header 'accept: application/json' \
--header 'accept-language: en-GB,en-US;q=0.9,en;q=0.8'

Last updated