Blockchains

List Chains

Get a list of supported blockchains.

get/api/v1/blockchains

Query parameters

pageinteger

The page number to fetch.

The page number to fetch.

sizeinteger

The number of items per page.

The number of items per page.

skip_countboolean

Whether to skip counting the total number of items.

Whether to skip counting the total number of items.

chain_typesChainType[]
sourcesChainSource[]

The source of the chain. Can be:<ul><li>default: Chains with built-in support on Fordefi's platform.<li>custom: User-added chains with support on Fordefi's platform.</ul>

The source of the chain. Can be:<ul><li>default: Chains with built-in support on Fordefi's platform.<li>custom: User-added chains with support on Fordefi's platform.</ul>

include_mainnetsboolean
include_testnetsboolean
include_exchangesboolean
show_allboolean

Include all chains in the response.

Include all chains in the response.

Response

Successful Response

totalinteger required
pageinteger required
sizeinteger required

Example response

{
  "chains": [
    {
      "native_currency_symbol": "ETH",
      "native_currency_name": "Ether",
      "blockchain_explorer": {
        "transaction_url": "https://etherscan.io/tx/",
        "address_url": "https://etherscan.io/address/",
        "root_url": "https://etherscan.io/",
        "transaction_format_url": "https://etherscan.io/tx/%s",
        "address_format_url": "https://etherscan.io/address/%s",
        "asset_format_url": "https://etherscan.io/address/%s"
      }
    }
  ]
}

Changes

Changed in 2 of the 7 revisions of this API.122

  • 61a784d5855012See the full diff
    • added EnrichedRippleChain to the chains/items/ response property oneOf list for the response status 200

      response-property-one-of-added

    • added the enum value ripple to the property items/ of the query request parameter chain_types

      request-parameter-property-enum-value-added

    • added ripple discriminator mapping keys to the chains/items/ response property for the response status 200

      response-property-discriminator-mapping-added

    • added the new exchange_paxos enum value to the chains/items/oneOf[subschema #6: EnrichedExchangeChain]/unique_id response property for the response status 200

      response-property-enum-value-added

    • added the new ton_testnet enum value to the chains/items/oneOf[subschema #12: EnrichedTonChain]/unique_id response property for the response status 200

      response-property-enum-value-added