Get Blockchains
curl --request GET \
--url https://api.blockradar.co/v1/blockchains \
--header 'x-api-key: <api-key>'import requests
url = "https://api.blockradar.co/v1/blockchains"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.blockradar.co/v1/blockchains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.blockradar.co/v1/blockchains",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.blockradar.co/v1/blockchains"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.blockradar.co/v1/blockchains")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blockradar.co/v1/blockchains")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"createdAt": "2024-05-14T11:53:33.095Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"name": "ethereum",
"slug": "ethereum",
"symbol": "eth",
"tokenStandard": "ERC20",
"updatedAt": "2024-11-26T13:04:13.936Z"
},
{
"createdAt": "2024-05-14T11:53:33.106Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "b80d3d5e-16f1-4d99-be5e-6dfcd27f89aa",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/bnb-bnb-logo_e4qdyk.png",
"name": "BNB smart chain",
"slug": "bnb-smart-chain",
"symbol": "bnb",
"tokenStandard": "BEP20",
"updatedAt": "2024-11-26T13:04:13.941Z"
},
{
"createdAt": "2024-05-14T11:53:33.108Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "ed5bb330-e0e1-480b-a788-e5dc5b019140",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/polygon-matic-logo_gbnpe8.png",
"name": "polygon",
"slug": "polygon",
"symbol": "matic",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.942Z"
},
{
"createdAt": "2024-05-14T11:53:33.110Z",
"derivationPath": "m/44'/195'/0'/0",
"id": "fa91a922-3838-45f6-8a88-a4c771e1443a",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/tron-trx-logo_a2dgrn.png",
"name": "tron",
"slug": "tron",
"symbol": "trx",
"tokenStandard": "TRC20",
"updatedAt": "2024-11-26T13:04:13.943Z"
},
{
"createdAt": "2024-05-27T08:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.945Z"
},
{
"createdAt": "2024-10-07T16:09:49.760Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "dbd35ce3-8526-45d0-9e35-d80d7141f959",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1728312943/crypto-assets/arbitrum-arb-logo_x7uvan.png",
"name": "arbitrum",
"slug": "arbitrum",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.946Z"
},
{
"createdAt": "2024-10-07T16:09:49.784Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "1c9ca9df-325f-4b60-a7ec-b28d2235e0b7",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1728312943/crypto-assets/optimism-ethereum-op-logo_h62d1i.png",
"name": "optimism",
"slug": "optimism",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.947Z"
},
{
"createdAt": "2024-10-22T10:57:33.465Z",
"derivationPath": "m/44'/501'/0'",
"id": "196badf5-380f-4480-ab4a-d0e4304e91f0",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1729585548/crypto-assets/solana-sol-logo_mgc9p2.png",
"name": "solana",
"slug": "solana",
"symbol": "sol",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.951Z"
},
{
"createdAt": "2024-12-01T10:49:23.684Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "180ca354-5a13-41d7-bf01-9fb5281ab541",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1733046288/crypto-assets/asset-chain_hf5zxe.png",
"name": "asset chain",
"slug": "asset-chain",
"symbol": "rwa",
"tokenStandard": null,
"updatedAt": "2024-12-01T10:49:23.684Z"
}
],
"message": "Blockchains retrieved successfully",
"statusCode": 200
}Miscellaneous
Get Blockchains
This endpoint retrieves a list of supported blockchains by Blockradar
GET
/
v1
/
blockchains
Get Blockchains
curl --request GET \
--url https://api.blockradar.co/v1/blockchains \
--header 'x-api-key: <api-key>'import requests
url = "https://api.blockradar.co/v1/blockchains"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.blockradar.co/v1/blockchains', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.blockradar.co/v1/blockchains",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.blockradar.co/v1/blockchains"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.blockradar.co/v1/blockchains")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blockradar.co/v1/blockchains")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"createdAt": "2024-05-14T11:53:33.095Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"name": "ethereum",
"slug": "ethereum",
"symbol": "eth",
"tokenStandard": "ERC20",
"updatedAt": "2024-11-26T13:04:13.936Z"
},
{
"createdAt": "2024-05-14T11:53:33.106Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "b80d3d5e-16f1-4d99-be5e-6dfcd27f89aa",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/bnb-bnb-logo_e4qdyk.png",
"name": "BNB smart chain",
"slug": "bnb-smart-chain",
"symbol": "bnb",
"tokenStandard": "BEP20",
"updatedAt": "2024-11-26T13:04:13.941Z"
},
{
"createdAt": "2024-05-14T11:53:33.108Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "ed5bb330-e0e1-480b-a788-e5dc5b019140",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/polygon-matic-logo_gbnpe8.png",
"name": "polygon",
"slug": "polygon",
"symbol": "matic",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.942Z"
},
{
"createdAt": "2024-05-14T11:53:33.110Z",
"derivationPath": "m/44'/195'/0'/0",
"id": "fa91a922-3838-45f6-8a88-a4c771e1443a",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/tron-trx-logo_a2dgrn.png",
"name": "tron",
"slug": "tron",
"symbol": "trx",
"tokenStandard": "TRC20",
"updatedAt": "2024-11-26T13:04:13.943Z"
},
{
"createdAt": "2024-05-27T08:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.945Z"
},
{
"createdAt": "2024-10-07T16:09:49.760Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "dbd35ce3-8526-45d0-9e35-d80d7141f959",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1728312943/crypto-assets/arbitrum-arb-logo_x7uvan.png",
"name": "arbitrum",
"slug": "arbitrum",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.946Z"
},
{
"createdAt": "2024-10-07T16:09:49.784Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "1c9ca9df-325f-4b60-a7ec-b28d2235e0b7",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1728312943/crypto-assets/optimism-ethereum-op-logo_h62d1i.png",
"name": "optimism",
"slug": "optimism",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.947Z"
},
{
"createdAt": "2024-10-22T10:57:33.465Z",
"derivationPath": "m/44'/501'/0'",
"id": "196badf5-380f-4480-ab4a-d0e4304e91f0",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1729585548/crypto-assets/solana-sol-logo_mgc9p2.png",
"name": "solana",
"slug": "solana",
"symbol": "sol",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.951Z"
},
{
"createdAt": "2024-12-01T10:49:23.684Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "180ca354-5a13-41d7-bf01-9fb5281ab541",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1733046288/crypto-assets/asset-chain_hf5zxe.png",
"name": "asset chain",
"slug": "asset-chain",
"symbol": "rwa",
"tokenStandard": null,
"updatedAt": "2024-12-01T10:49:23.684Z"
}
],
"message": "Blockchains retrieved successfully",
"statusCode": 200
}授权
响应
200 - application/json
200
Show child attributes
Show child attributes
示例:
[
{
"createdAt": "2024-05-14T11:53:33.095Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "85ffc132-3972-4c9e-99a5-5cf0ccb688bf",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/ethereum-eth-logo_idraq2.png",
"name": "ethereum",
"slug": "ethereum",
"symbol": "eth",
"tokenStandard": "ERC20",
"updatedAt": "2024-11-26T13:04:13.936Z"
},
{
"createdAt": "2024-05-14T11:53:33.106Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "b80d3d5e-16f1-4d99-be5e-6dfcd27f89aa",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/bnb-bnb-logo_e4qdyk.png",
"name": "BNB smart chain",
"slug": "bnb-smart-chain",
"symbol": "bnb",
"tokenStandard": "BEP20",
"updatedAt": "2024-11-26T13:04:13.941Z"
},
{
"createdAt": "2024-05-14T11:53:33.108Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "ed5bb330-e0e1-480b-a788-e5dc5b019140",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800081/crypto-assets/polygon-matic-logo_gbnpe8.png",
"name": "polygon",
"slug": "polygon",
"symbol": "matic",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.942Z"
},
{
"createdAt": "2024-05-14T11:53:33.110Z",
"derivationPath": "m/44'/195'/0'/0",
"id": "fa91a922-3838-45f6-8a88-a4c771e1443a",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800083/crypto-assets/tron-trx-logo_a2dgrn.png",
"name": "tron",
"slug": "tron",
"symbol": "trx",
"tokenStandard": "TRC20",
"updatedAt": "2024-11-26T13:04:13.943Z"
},
{
"createdAt": "2024-05-27T08:31:14.966Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "74733889-4ecd-403e-9840-94e87c043f24",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1716800080/crypto-assets/Base_Network_Logo_vqyh7r.png",
"name": "base",
"slug": "base",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.945Z"
},
{
"createdAt": "2024-10-07T16:09:49.760Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "dbd35ce3-8526-45d0-9e35-d80d7141f959",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1728312943/crypto-assets/arbitrum-arb-logo_x7uvan.png",
"name": "arbitrum",
"slug": "arbitrum",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.946Z"
},
{
"createdAt": "2024-10-07T16:09:49.784Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "1c9ca9df-325f-4b60-a7ec-b28d2235e0b7",
"isActive": true,
"isEvmCompatible": true,
"isL2": true,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1728312943/crypto-assets/optimism-ethereum-op-logo_h62d1i.png",
"name": "optimism",
"slug": "optimism",
"symbol": "eth",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.947Z"
},
{
"createdAt": "2024-10-22T10:57:33.465Z",
"derivationPath": "m/44'/501'/0'",
"id": "196badf5-380f-4480-ab4a-d0e4304e91f0",
"isActive": true,
"isEvmCompatible": false,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1729585548/crypto-assets/solana-sol-logo_mgc9p2.png",
"name": "solana",
"slug": "solana",
"symbol": "sol",
"tokenStandard": null,
"updatedAt": "2024-11-26T13:04:13.951Z"
},
{
"createdAt": "2024-12-01T10:49:23.684Z",
"derivationPath": "m/44'/60'/0'/0",
"id": "180ca354-5a13-41d7-bf01-9fb5281ab541",
"isActive": true,
"isEvmCompatible": true,
"isL2": false,
"logoUrl": "https://res.cloudinary.com/blockradar/image/upload/v1733046288/crypto-assets/asset-chain_hf5zxe.png",
"name": "asset chain",
"slug": "asset-chain",
"symbol": "rwa",
"tokenStandard": null,
"updatedAt": "2024-12-01T10:49:23.684Z"
}
]
示例:
"Blockchains retrieved successfully"
示例:
200
⌘I

