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

      Get Bridge Tokens

      Developing
      POST
      https://api.entrswap.io/v2/bridge/tokens
      Fetches a list of bridge tokens with their routes and destinations.

      Request

      Authorization
      Add parameter in header
      X-API-Key
      Example:
      X-API-Key: ********************
      Body Params application/json
      filter
      object (api.TokenFilter) 
      optional
      Object with information for filtration. Searching by all text filters is case-insensitive.
      addresses
      array[string]
      optional
      Array of the token smart contract addresses.
      Example:
      ["0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"]
      chain_ids
      array[integer]
      optional
      Array of blockchain IDs.
      Example:
      [1]
      is_active
      boolean 
      optional
      If null - get only active.
      names
      array[string]
      optional
      Array of blockchain names.
      Example:
      ["Ethereum"]
      symbols
      array[string]
      optional
      Array of currencies names.
      Example:
      ["ETH"]
      paging
      object 
      required
      Object with information for pagination.
      page
      integer 
      required
      Page number. Can't be less than 1.
      Example:
      1
      page_size
      integer 
      optional
      Page size. If zero - unlimited page size, max 100.
      Example:
      100
      Example
      {
          
      }

      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 POST 'https://api.entrswap.io/v2/bridge/tokens' \
      --header 'Content-Type: application/json' \
      --header 'X-API-Key;' \
      --data-raw '{
          
      }'

      Responses

      🟢200Success
      application/json
      Body
      chainId_key
      object 
      optional
      A dynamic key representing the Chain ID (network identifier).
      tokenAddress_key
      object 
      optional
      A dynamic key representing the token contract address.
      Example
      {
          "chainId_key": {
              "tokenAddress_key": {
                  "address": "string",
                  "chainId": 0,
                  "decimals": 0,
                  "destinations": {
                      "destinationChainId": {},
                      "addresses": [
                          "string"
                      ]
                  },
                  "is_active": true,
                  "logoURI": "string",
                  "name": "string",
                  "priority": 0,
                  "symbol": "string"
              }
          }
      }
      Modified at 2025-02-26 10:45:36
      Previous
      Get Bridge Quote