YAD
SiteDocs
SiteDocs
    • Introduction
    • Blockchains
      GET
    • List tokens
      POST
    • Liquidity sources
      GET
    • Gas prices
      GET
    • Get price for pair
      GET
    • Transaction allowance
      GET
    • Transaction approve
      GET
    • Get quote for pair
      GET
    • Get Bridge Price
      GET
    • Get Bridge Quote
      GET
    • Get Bridge Tokens
      POST

      Blockchains

      GET
      https://api.entrswap.io/v1/platforms
      Provides a list of supported blockchain networks.

      Request

      Authorization
      Add parameter in header
      X-API-Key
      Example:
      X-API-Key: ********************

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://api.entrswap.io/v1/platforms' \
      --header 'X-API-Key;'

      Responses

      🟢200OK
      application/json
      Body
      platforms
      array[object (api.PlatformsAPI) {3}] 
      optional
      An array of supported networks.
      chainId
      integer 
      optional
      The blockchain network ID.
      Example:
      56
      name
      string 
      optional
      The full name of the blockchain network.
      Example:
      BNB Smart Chain
      shortname
      string 
      optional
      The short name of the blockchain network.
      Example:
      BSC
      Example
      {
          "platforms": [
              {
                  "chainId": 56,
                  "name": "BNB Smart Chain",
                  "shortname": "BSC"
              }
          ]
      }
      Modified at 2024-05-17 19:18:15
      Previous
      Introduction
      Next
      List tokens