导航
English

浏览器介绍

OKLink 浏览器 API 为 Web3 开发人员提供高可用、高拓展性的 API。支持 40+ 主流 Layer 1 及 Layer 2 公链网络的区块数据,并提供 200+ 区块链网络的代币价格数据,涵盖超过 700 万代币和 NFT。 API 符合 RESTful API 规范,并提供 Webbook 服务。作为链上数据基础设施层,能够帮助开发者降低开发成本、节约开发时间,让您专注于产品应用的设计。

提供了多维度的链上数据,具体分类参考以下说明:

快速入门

入门指南

OKLink 浏览器 API 入门指南,快速了解如何创建账户、生成 API 密钥、进行身份验证等步骤,助力您利用 API 构建个性化应用。

  1. 进入 OKLink 官网,使用邮箱或手机号即可快速注册
    注册

  2. 注册成功后使用邮箱或手机号登录
    登录

  3. 进入 API 管理页面,创建您的 API 密钥。
    创建API

  4. 使用 API 密钥,调用 OKLink 浏览器 API,开始您的数据探索之旅!

API 鉴权

API 密钥是访问 API 接口的唯一身份标识,所有 OpenAPI 接口都需要 API 密钥鉴权才可访问。
您可根据自己的需求创建最多 5 个 API 密钥。为了您的数据安全,请不要和任何人共享您的 API 密钥。

API 请求地址 URL:

API 密钥使用方法:

API 接口调用示例:

cURL

curl -X GET 'https://www.oklink.com/api/v5/explorer/blockchain/summary' \
  --header 'Ok-Access-Key:你的APIkey' \
  --header 'Content-type: application/json'

Python

import requests

url = "https://www.oklink.com/api/v5/explorer/blockchain/summary?chainShortName=ETH"

payload = ""
headers = {
  # apiKey
  'Ok-Access-Key': 'apiKey'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

JavaScript - jQuery

var settings = {
  "url": "https://www.oklink.com/api/v5/explorer/blockchain/summary?chainShortName=ETH",
  "method": "GET",
  "timeout": 0,
  "headers": {
    "Accept": "*/*",
    "Ok-Access-Key": "apiKey",
  },
};

$.ajax(settings).done(function (response) {
  console.log(response);
});

Go

package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://www.oklink.com/api/v5/explorer/blockchain/summary?chainShortName=ETH"
  method := "GET"
  apiKey := "apiKey"


  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, nil)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Ok-Access-Key", apiKey)

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}

Java - OkHttp

package com.oklink.demo;

import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;

import java.io.IOException;

public class JavaDemo {
    public static void main(String[] args) {
        try {
            String url = "https://www.oklink.com/api/v5/explorer/blockchain/summary?chainShortName=ETH";
            String apiKey = "apiKey";
            OkHttpClient client = new OkHttpClient.Builder().build();
            Request request = new Request.Builder()
                    .url(url)
                    .addHeader("Ok-Access-Key", apiKey)
                    .build();
            Response response = client.newCall(request).execute();
            System.out.println(response.body().string());
        }catch (IOException e){
            e.printStackTrace();
        }
    }
}

PHP

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://www.oklink.com/api/v5/explorer/blockchain/summary?chainShortName=ETH');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');


$headers = array();
$headers[] = 'Ok-Access-Key: apiKey';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
}
curl_close($ch);

Rust

extern crate reqwest;
use reqwest::header;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let mut headers = header::HeaderMap::new();
    headers.insert("Ok-Access-Key", "apiKey".parse().unwrap());

    let res = reqwest::Client::new()
        .get("https://www.oklink.com/api/v5/explorer/blockchain/summary?chainShortName=ETH")
        .headers(headers)
        .send()?
        .text()?;
    println!("{}", res);

    Ok(())
}

支持的公链列表

OKLink 浏览器 API 目前支持包括主流 L1 及 L2 公链在内的 52 条公链,可以通过账户权益查询服务模块查询每个公链支持的API接口URL和每个API接口URL支持的公链列表。

公链全称 公链缩写符号 公链 ID
Bitcoin BTC 0
Bitcoin Cash BCH 145
Litecoin LTC 2
DASH DASH 5
Dogecoin DOGE 3
Ethereum ETH 1
OKT Chain OKTC 66
BNB Chain BSC 56
Ethereum Classic ETC 61
Polygon POLYGON 137
Avalanche-C AVAXC 43114
EthereumPoW ETHW 10001
Dis Chain (EthereumFair) DIS (ETHF) 513100
Fantom FTM 250
Canto CANTO 70000014
OP Mainnet OP 10
Arbitrum One ARBITRUM 42161
Kaia KAIA 8217
zkSync Era ZKSYNC 324
Gnosis GNOSIS 100
Ronin RONIN 2020
LINEA LINEA 59144
Beacon BEACON 70000040
StarkNet STARKNET 9004
Polygon zkEVM POLYGON_ZKEVM 1101
Base BASE 8453
Scroll SCROLL 534352
Omega OMEGA 408
Manta Pacific MANTA 169
opBNB Mainnet OPBNB 204
X Layer Testnet XLAYER_TESTNET 19500
X Layer XLAYER 196
Sepolia Testnet SEPOLIA_TESTNET 11155111
Goerli Testnet GOERLI_TESTNET 70000030
Mumbai Testnet MUMBAI_TESTNET 80001
Amoy Testnet AMOY_TESTNET 80002
Polygon zkEVM Testnet POLYGON_ZKEVM_TESTNET 1442
Aptos APT 637
Sui SUI 784
TRON TRON 195
Cosmos Hub COSMOS 118
Kava KAVA 459
Blast BLAST 81457
Gravity Alpha Mainnet GRAVITY 1625
Bsquared Mainnet B2 223
Bitlayer Mainnet BITLAYER 200901
BOB Mainnet BOB 60808
Fractal Bitcoin Mainnet FRACTAL 70000061
BEVM Mainnet BEVM 11501
Duckchain mainnet DUCKCHAIN 5545
ApeChain APE 33139
Solana SOLANA 501
Soneium SONEIUM 1868

此外,支持查询 200+ 条公链的币价数据

OKLink 浏览器 API 将逐步支持更多公链。如果您需要接入的公链不在列表中,请通过发送邮件至 [email protected] 与我们取得联系,我们将进行后续的评估和跟进。

访问限制

为防止 API 过载,我们对 API 调用实行访问限制,以确保最佳的处理速度和响应时间,并保证 OKLink 浏览器 API 使用和获取数据的安全性。对于免费用户和付费用户,我们采取不同的访问限制:

档位 定价($/年) 调用量 千次调用价格 API限速/s
免费版 0 1,000,000 免费 3 次/秒
基础版 599 12,000,000 0.050 10 次/秒
标准版 2,399 60,000,000 0.040 20 次/秒
高级版 4,499 200,000,000 0.022 50 次/秒
专业版 9,999 600,000,000 0.017 80 次/秒

关于付费订阅方案,可登录后进入“API 管理页面 > 我的订阅 > 查看更多 API 方案”(弹窗中可查看具体方案)。

支持与帮助

常见问题

1. 浏览器 API 支持多少条公链数据?

2. 目前是否提供 SDK?

3. 浏览器 API 是如何定价的?

4. 如何查询不同 API 接口支持哪些公链?

5. 如何查看我的 API 调用量?

错误码

向服务器发出请求时,服务器会通过发出HTTP 代码和错误代码来响应用户的请求。请参考下表进一步了解 API 调用失败时返回的不同错误码和错误提示。

返回示例

{
    "code": "50038",
    "msg": "This chain does not currently support.",
    "data": []
}

以下是我们使用的错误代码及其含义:

通用类

错误提示 HTTP 状态码 错误码
操作成功 200 0
body不能为空 400 50000
服务暂时不可用,请稍后重试 503 50001
非法的json数据 400 50002
接口请求超时(不代表请求成功或者失败,请检查请求结果) 400 50004
接口已下线或无法使用 410 50005
无效的Content_Type,请使用"application/json"格式 400 50006
账户被封禁 200 50007
账户不存在 200 50008
账户因清算被暂停使用 200 50009
用户ID为空 200 50010
用户请求频率过快,超过该接口允许的限额 429 50011
账户状态无效 429 50012
当前系统繁忙,请稍后重试 200 50013
必填参数{0}不能为空 400 50014
参数{0}和{1}不能同时为空 400 50015
参数{0}和{1}不匹配 400 50016
参数{0}和{1}不能同时存在 200 50024
参数{0}传值个数超过最大限制{1} 200 50025
系统错误 500 50026
您没有该API接口的访问权限,需要升级您的账户付费等级 403 50030
参数{%}错误 400 50036
代币不存在 200 50037
该公链不支持 200 50038
该警报ID没有历史处理记录 200 50039
此区块高度无数据 200 50040
当前不支持该代币的历史余额查询 200 50041
该代币不支持风险扫描 200 50042
您的账户行为触发了风险控制,API功能已冻结。可以通过[email protected]与我们联系。 200 50043
数据不存在 400 50044
客户端操作错误 400 50045
根据法律法规,您所在的国家或地区无法使用 OKLink API 服务 400 50047

鉴权类

错误提示 HTTP 状态码 错误码
Api 已被冻结,请联系客服处理 400 50100
请求时间戳过期 401 50102
请求头"OK_ACCESS_KEY"不能为空 401 50103
请求头"OK_ACCESS_PASSPHRASE"不能为空 401 50104
请求头"OK_ACCESS_PASSPHRASE"错误 401 50105
请求头"OK_ACCESS_SIGN"不能为空 401 50106
请求头"OK_ACCESS_TIMESTAMP"不能为空 401 50107
无效的IP 401 50110
无效的OK_ACCESS_KEY 401 50111
无效的OK_ACCESS_TIMESTAMP 401 50112
无效的签名 401 50113
无效的授权 401 50114
无效的请求类型 405 50115
超过了历史数据查询的范围 400 50117

业务类

错误提示 HTTP 状态码 错误码
{0}参数错误 404 51000
您填写的outputAddress地址在该交易中没有找到。 200 51001
这个索引所指定的outputAddress在这个交易中不存在。 200 51002
该笔交易Hash在区块链上未解析到交易信息,无法确定该笔交易风险详情。 200 51003

联系我们

若您想要咨询与 OKLink 浏览器 API 相关问题,可以通过以下方式联系我们:

区块链基础数据

获取 40+ 条公链的基础数据、区块数据、地址数据、矿工数据、交易数据、代币数据、交易日志和链级统计数据。某些 API 还支持地址链上数据的批量查询。

基础数据

基础数据功能模块的接口,可获取所有支持的公链列表,公链的基础信息数据。

查询支持公链列表

获取OKLink目前所支持的所有公链列表,和每个链的基本信息。

每次调用消耗 0 点

HTTP请求

GET /api/v5/explorer/blockchain/summary

请求示例

GET /api/v5/explorer/blockchain/summary

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "symbol": "BTC",
            "lastHeight": "812740",
            "lastBlockTime": "1697622753000",
            "circulatingSupply": "19517050",
            "circulatingSupplyProportion": "0.9294",
            "transactions": "913669129"
        },
        {
            "chainFullName": "Bitcoin Cash",
            "chainShortName": "BCH",
            "symbol": "BCH",
            "lastHeight": "815586",
            "lastBlockTime": "1697622060000",
            "circulatingSupply": "19534862.5",
            "circulatingSupplyProportion": "0.9302",
            "transactions": "376125240"
        },
        {
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "symbol": "ETH",
            "lastHeight": "18376498",
            "lastBlockTime": "1697623103000",
            "circulatingSupply": "120262264.05",
            "circulatingSupplyProportion": "1",
            "transactions": "2127824775"
        },
        {
            "chainFullName": "OKT Chain",
            "chainShortName": "OKTC",
            "symbol": "OKT",
            "lastHeight": "22989718",
            "lastBlockTime": "1697623102000",
            "circulatingSupply": "20077976.25",
            "circulatingSupplyProportion": "0.9560941071428571",
            "transactions": "167592112"
        },
        {
            "chainFullName": "X Layer Testnet",
            "chainShortName": "XLAYER_TESTNET",
            "symbol": "OKB",
            "lastHeight": "26938",
            "lastBlockTime": "1700031881000",
            "circulatingSupply": "",
            "circulatingSupplyProportion": "",
            "transactions": "26801.0"
        },
        {
            "chainFullName": "BNB Chain",
            "chainShortName": "BSC",
            "symbol": "BNB",
            "lastHeight": "32707931",
            "lastBlockTime": "1697623106000",
            "circulatingSupply": "151705624.6",
            "circulatingSupplyProportion": "1",
            "transactions": "3584346166"
        },
        {
            "chainFullName": "Ethereum Classic",
            "chainShortName": "ETC",
            "symbol": "ETC",
            "lastHeight": "18541162",
            "lastBlockTime": "1697623087000",
            "circulatingSupply": "143564715.29",
            "circulatingSupplyProportion": "1",
            "transactions": "115483536"
        },
        {
            "chainFullName": "Litecoin",
            "chainShortName": "LTC",
            "symbol": "LTC",
            "lastHeight": "2564279",
            "lastBlockTime": "1697622845000",
            "circulatingSupply": "73774507.97",
            "circulatingSupplyProportion": "0.8783",
            "transactions": "181126166"
        },
        {
            "chainFullName": "DASH",
            "chainShortName": "DASH",
            "symbol": "DASH",
            "lastHeight": "1956330",
            "lastBlockTime": "1697623059000",
            "circulatingSupply": "11499070.93",
            "circulatingSupplyProportion": "0.6087",
            "transactions": "49535771"
        },
        {
            "chainFullName": "TRON",
            "chainShortName": "TRON",
            "symbol": "TRX",
            "lastHeight": "55663883",
            "lastBlockTime": "1697623107000",
            "circulatingSupply": "90580932915.58",
            "circulatingSupplyProportion": "1",
            "transactions": "6.56881736E+9"
        },
        {
            "chainFullName": "Polygon",
            "chainShortName": "POLYGON",
            "symbol": "MATIC",
            "lastHeight": "48859754",
            "lastBlockTime": "1697623104000",
            "circulatingSupply": "9299803030.72",
            "circulatingSupplyProportion": "",
            "transactions": "3071306297"
        },
        {
            "chainFullName": "Avalanche-C",
            "chainShortName": "AVAXC",
            "symbol": "AVAX",
            "lastHeight": "36601091",
            "lastBlockTime": "1697623102000",
            "circulatingSupply": "354811879.38",
            "circulatingSupplyProportion": "",
            "transactions": "257890662"
        },
        {
            "chainFullName": "Aptos",
            "chainShortName": "APT",
            "symbol": "APT",
            "lastHeight": "104439850",
            "lastBlockTime": "1697623100438",
            "circulatingSupply": "245335823.53",
            "circulatingSupplyProportion": "0",
            "transactions": "289582063"
        },
        {
            "chainFullName": "EthereumPoW",
            "chainShortName": "ETHW",
            "symbol": "ETHW",
            "lastHeight": "18110977",
            "lastBlockTime": "1697623090000",
            "circulatingSupply": "107818999.05",
            "circulatingSupplyProportion": "1",
            "transactions": "1688548041"
        },
        {
            "chainFullName": "DIS CHAIN",
            "chainShortName": "DIS",
            "symbol": "DIS",
            "lastHeight": "18144023",
            "lastBlockTime": "1697623083000",
            "circulatingSupply": "",
            "circulatingSupplyProportion": "",
            "transactions": "1660726868"
        },
        {
            "chainFullName": "Fantom",
            "chainShortName": "FTM",
            "symbol": "FTM",
            "lastHeight": "69463847",
            "lastBlockTime": "1697623104000",
            "circulatingSupply": "2803634835.53",
            "circulatingSupplyProportion": "0.883035",
            "transactions": "446638938"
        },
        {
            "chainFullName": "OP Mainnet",
            "chainShortName": "OP",
            "symbol": "ETH",
            "lastHeight": "111012162",
            "lastBlockTime": "1697623101000",
            "circulatingSupply": "120262264.05",
            "circulatingSupplyProportion": "1",
            "transactions": "168183124"
        },
        {
            "chainFullName": "Arbitrum One",
            "chainShortName": "ARBITRUM",
            "symbol": "ETH",
            "lastHeight": "141661625",
            "lastBlockTime": "1697623108000",
            "circulatingSupply": "120262264.05",
            "circulatingSupplyProportion": "1",
            "transactions": "373814666"
        },
        {
            "chainFullName": "Dogecoin",
            "chainShortName": "DOGE",
            "symbol": "DOGE",
            "lastHeight": "4928818",
            "lastBlockTime": "1697622845000",
            "circulatingSupply": "141459666383.71",
            "circulatingSupplyProportion": "",
            "transactions": ""
        },
        {
            "chainFullName": "Sui",
            "chainShortName": "SUI",
            "symbol": "SUI",
            "lastHeight": "15891997",
            "lastBlockTime": "1697623099245",
            "circulatingSupply": "860392959.69",
            "circulatingSupplyProportion": "0.08603929596900001",
            "transactions": "821855364"
        },
        {
            "chainFullName": "KLAYTN",
            "chainShortName": "KLAYTN",
            "symbol": "KLAY",
            "lastHeight": "135657958",
            "lastBlockTime": "1697623108000",
            "circulatingSupply": "3234951226.08",
            "circulatingSupplyProportion": "",
            "transactions": ""
        },
        {
            "chainFullName": "zkSync Era",
            "chainShortName": "ZKSYNC",
            "symbol": "ETH",
            "lastHeight": "16684962",
            "lastBlockTime": "1697623105000",
            "circulatingSupply": "120262264.05",
            "circulatingSupplyProportion": "1",
            "transactions": "140220679"
        },
        {
            "chainFullName": "Gnosis",
            "chainShortName": "GNOSIS",
            "symbol": "ETH",
            "lastHeight": "30516833",
            "lastBlockTime": "1697623100000",
            "circulatingSupply": "",
            "circulatingSupplyProportion": "",
            "transactions": ""
        },
        {
            "chainFullName": "Ronin",
            "chainShortName": "RONIN",
            "symbol": "RONIN",
            "lastHeight": "28598542",
            "lastBlockTime": "1697623106000",
            "circulatingSupply": "251442247.22",
            "circulatingSupplyProportion": "",
            "transactions": ""
        },
        {
            "chainFullName": "LINEA",
            "chainShortName": "LINEA",
            "symbol": "LINEA",
            "lastHeight": "659835",
            "lastBlockTime": "1697623102000",
            "circulatingSupply": "",
            "circulatingSupplyProportion": "",
            "transactions": "2127828200"
        },
        {
            "chainFullName": "POLYGON_ZKEVM",
            "chainShortName": "POLYGON_ZKEVM",
            "symbol": "ETH",
            "lastHeight": "6371025",
            "lastBlockTime": "1697623096000",
            "circulatingSupply": "",
            "circulatingSupplyProportion": "",
            "transactions": "5236188.0"
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
symbol String 公链原生代币,例如:btc
lastHeight String 最新区块高度
lastBlockTime String 最新区块时间;Unix时间戳的毫秒数格式,如 1597026383085
circulatingSupply String 当前公链本币流通数量
circulatingSupplyProportion String 当前公链本币流通数量所占总供应量的比例,以小数展示.
举例:0.85等于所占比例为85%
transactions String 交易总数

查询公链详情

获取公链详情信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blockchain/info

请求示例

GET /api/v5/explorer/blockchain/info?chainShortName=btc

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "symbol": "BTC",
            "rank": "1",
            "mineable": true,
            "algorithm": "SHA-256",
            "consensus": "PoW",
            "diffEstimation": "65.70T",
            "currentDiff": "61.03T",
            "diffAdjustTime": "1698582329000",
            "circulatingSupply": "19517050",
            "totalSupply": "21000000",
            "tps": "3.16",
            "lastHeight": "812742",
            "lastBlockTime": "1697623175000",
            "issueDate": "1231006505000"
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
symbol String 公链原生代币,例如:btc
rank String 公链市值排名
mineable Bol 是否支持挖矿,例如:true / false
algorithm String 核心算法,例如:SHA-256
consensus String 共识算法,例如:PoW
diffEstimation String 下次挖矿难度预测,BTC的单位:T, 如果该某个链没有该参数,返回""
currentDiff String 当前全网挖矿难度
diffAdjustTime String 下次挖矿难度调整时间(该字段已不再维护)
circulatingSupply String 流通量
totalSupply String 最大供应量
tps String 链上每秒交易处理数量,近一周平均值
lastHeight String 最新区块高度
lastBlockTime String 最新区块时间;Unix时间戳的毫秒数格式,如 1597026383085
issueDate String 发行日期;Unix时间戳的毫秒数格式,如 1597026383085

查询区块统计数据

获取公链详区块的基础信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blockchain/block

请求示例

GET /api/v5/explorer/blockchain/block?chainShortName=btc

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "symbol": "BTC",
            "lastHeight": "812742",
            "firstExchangeHistoricalTime": "1231006505000",
            "firstBlockTime": "1231006505000",
            "firstBlockHeight": "0",
            "avgBlockInterval": "573.2926587301587",
            "avgBlockSize24h": "1565974.456375839",
            "avgBlockSize24hPercent": "-0.10001506153712443",
            "mediaBlockSize": "1575044.942857143",
            "halveTime": "1712805881000"
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
symbol String 公链原生代币,例如:btc
lastHeight String 最新区块高度
firstExchangeHistoricalTime String 第一次交易时间 ;Unix时间戳的毫秒数格式,如 1597026383085
firstBlockTime String 第一次出块时间;Unix时间戳的毫秒数格式,如 1597026383085
firstBlockHeight String 第一个区块高度
avgBlockInterval String 平均出块时间(近一周),单位是S
avgBlockSize24h String 平均区块大小(24小时)
avgBlockSize24hPercent String 平均区块大小涨跌幅(24小时)
mediaBlockSize String 区块大小中位数(近一周)
halveTime String 减半时间;Unix时间戳的毫秒数格式,如 1597026383085

查询链维度地址统计数据

获取公链的持币地址统计信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blockchain/address

请求示例

GET /api/v5/explorer/blockchain/address?chainShortName=eth

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "symbol": "ETH",
            "validAddressCount": "107721078",
            "newAddressCount24h": "47093",
            "totalAddresses": "305937721",
            "newTotalAddresses24h": "109599",
            "contractAddresses": "64007840",
            "newContractAddresses24h": "19582",
            "externalAddresses": "241929881",
            "newExternalAddresses24h": "90017",
            "activeAddresses": "714816",
            "newActiveAddresses": "19728"
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
symbol String 公链原生代币,例如:btc
validAddressCount String 持公链本币地址数量
newAddressCount24h String 持币地址数近24小时新增/减少量
totalAddresses String 该链所有的地址数
newTotalAddresses24h String 总地址数近24小时新增/减少量
contractAddresses String 该链所有的合约地址数
newContractAddresses24h String 合约地址数近24小时新增/减少量
externalAddresses String 该链所有的普通地址数
newExternalAddresses24h String 普通地址数24小时新增/减少量
activeAddresses String 该链所有的活跃地址数
newActiveAddresses String 活跃地址数24小时新增/减少量

查询交易手续费或 Gas 费

获取公链Gas费的基础信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blockchain/fee

请求示例

GET /api/v5/explorer/blockchain/fee?chainShortName=eth

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "symbol": "ETH",
            "bestTransactionFee": "",
            "bestTransactionFeeSat": "",
            "recommendedGasPrice": "34.843994267",
            "rapidGasPrice": "35.043994267",
            "standardGasPrice": "34.793994267",
            "slowGasPrice": "34.743994267",
            "baseFee": "34.057663431",
            "gasUsedRatio": "0.4781578,0.420984233333333333,0.5279502,0.485460466666666667,0.434564833333333333"
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
symbol String 公链原生代币,例如:btc
bestTransactionFee String 最佳交易手续费(币本位)
bestTransactionFeeSat String 最佳交易手续费 (聪本位)
recommendedGasPrice String 建议 Gas 费,ETH单位:Gwei
rapidGasPrice String 极速 Gas 费,预估 15 s 内完成交易确认
standardGasPrice String 一般 Gas 费,预估 3 分钟内完成交易确认
slowGasPrice String 缓慢 Gas 费,预估大于 15 分钟完成交易确认
baseFee String 每 Gas 基础费用
gasUsedRatio String 最近 5 个区块的 Gas 消耗比例(即 Gas 消耗 / Gas 限额),以逗号分隔

查询链维度交易详情

获取公链链上交易统计信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blockchain/transaction

请求示例

GET /api/v5/explorer/blockchain/transaction?chainShortName=btc

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "symbol": "BTC",
            "pendingTransactionCount": "22597",
            "transactionValue24h": "34410716804875",
            "totalTransactionCount": "913670420",
            "tranRate": "3.16",
            "avgTransactionCount24h": "1936.8523489932886",
            "avgTransactionCount24hPercent": "0.0211",
            "pendingTransactionSize": "164205183"
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
symbol String 公链原生代币,例如:btc
pendingTransactionCount String 未确认交易数
transactionValue24h String 24 小时的链上交易量
totalTransactionCount String 链上交易总数
tranRate String 50个块的平均TPS
avgTransactionCount24h String 24 小时平均交易数量
avgTransactionCount24hPercent String 24 小时平均交易数量涨跌幅
pendingTransactionSize String 未确认交易的大小

查询算力统计

获取公链算力的基础信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blockchain/hashes

请求示例

GET /api/v5/explorer/blockchain/hashes?chainShortName=btc

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "symbol": "BTC",
            "hashRate": "437.58EH",
            "hashRateChange24h": "-0.0074"
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
symbol String 公链原生代币,例如:btc
hashrate String 近一周全网算力
hashrateChange24h String 全网算力 24 小时涨跌幅,小数展示.
例如:正数为上涨;0.02,表示上涨2%
例如:负数为下跌:-0.02,表示下跌2%

查询挖矿数据统计

获取公链的挖矿基础信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blockchain/mine

请求示例

GET /api/v5/explorer/blockchain/mine?chainShortName=btc

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "symbol": "BTC",
            "avgMineReward24h": "6.37771195",
            "minerIncomePerUnit": "0.000002082802405598016",
            "minerIncomePerUnitCoin": "0.000002060056106572138"
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
symbol String 公链原生代币,例如:btc
avgMineReward24h String 24 小时平均区块奖励
minerIncomePerUnit String 每单位算力收益
minerIncomePerUnitCoin String 每单位算力收益币数

区块数据

区块数据的接口,可获取各个公链区块列表,区块交易明细,区块详情等信息

查询区块详情

获取公链的区块详情。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/block/block-fills

请求示例

GET /api/v5/explorer/block/block-fills?chainShortName=eth&height=735732

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
height String 区块高度
netWork String USDT该字段必填写,需要指定所属网络

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "hash": "0x545f02750b8fffe8354140b8ec2414fd72fa34a5ca93c58fe25f94c07ebb44ff",
            "height": "735732",
            "validator": "NanoPool",
            "blockTime": "1450873643000",
            "txnCount": "4",
            "amount": "12.950329114",
            "blockSize": "1509",
            "mineReward": "5.012841864",
            "totalFee": "0.012841864",
            "feeSymbol": "ETH",
            "ommerBlock": "0",
            "merkleRootHash": "0xcfb7cc8bc5f11bb9c3e05a9fec1a17b63b0899a75624038a762ce800bda588b3",
            "gasUsed": "249382",
            "gasLimit": "3141592",
            "gasAvgPrice": "0.000000051494751025",
            "state": "",
            "burnt": "",
            "netWork": "",
            "txnInternal": "0",
            "miner": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5",
            "difficuity": "8518354788907",
            "nonce": "e246c1795e5cc38f",
            "tips": "",
            "confirm": "17640838",
            "baseFeePerGas": ""
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
hash String 块哈希
height String 区块高度
validator String 出块者/超级节点/验证人
blockTime String 出块时间;Unix时间戳的毫秒数格式,如 1597026383085
txnCount String 该区块包含的普通交易个数
amount String 交易金额
blockSize String 区块大小,单位是:bytes
mineReward String 区块奖励,块收益等于mineReward+totalFee,以手续费币种为单位
totalFee String 该区块所有手续费总和,以手续费币种为单位
feeSymbol String 手续费币种
ommerBlock String 叔块数量
merkleRootHash String 梅克尔根哈希
gasUsed String gas消耗
gasLimit String gas限额
gasAvgPrice String gas均价,单位为ETH
state String 块状态,确认中:pending、确认完成:done
burnt String 销毁手续费数量
netWork String 所在网络,展示对应公链的chainFullName 例如:TRON
txnInternal String 该区块包含的内部交易个数
miner String 打包该区块的矿工地址Hash
difficulty String 打包该区块时的难度
nonce String 在PoW区块链中,nonce用于描述挖矿难度
tips String 块内最高小费,交易发起方为了优先打包自己的交易,愿意付给出块者的最大Gas单价
confirm String 已确认区块数
baseFeePerGas String 每Gas基础费,单位为ETH

查询区块列表

获取公链的区块列表信息,仅返回近1万条区块列表数据。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/block/block-list

请求示例

GET /api/v5/explorer/block/block-list?chainShortName=eth&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
height String 区块高度
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "blockList": [
                {
                    "hash": "0x68888279454c3a5e20b7f1b814d9b09c42ba13b6ee6e773a8d78dcc0a4bbcaf0",
                    "height": "18376580",
                    "validator": "unknown",
                    "blockTime": "1697624087000",
                    "txnCount": "134",
                    "blockSize": "159565",
                    "mineReward": "0.022295016661867617",
                    "totalFee": "0.09549692314174378",
                    "feeSymbol": "ETH",
                    "avgFee": "0.0007",
                    "ommerBlock": "0",
                    "gasUsed": "11074005",
                    "gasLimit": "30000000",
                    "gasAvgPrice": "0.000000008623521765",
                    "state": "",
                    "burnt": "0.07320190647987616",
                    "netWork": ""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
blockList Array 交易列表
> hash String 块hash
> height String 区块高度
> validator String 出块者/超级节点/验证人
> blockTime String 出块时间;Unix时间戳的毫秒数格式,如 1597026383085
> txnCount String 该区块包含的交易条数
> blockSize String 区块大小,单位是:bytes
> mineReward String 区块奖励,块收益等于mineReward+totalFee
> totalFee String 该区块所有手续费总和
> feeSymbol String 手续费币种
> avgFee String 每笔交易平均手续费
> ommerBlock String 叔块数量
> gasUsed String gas消耗
> gasLimit String gas限额
> gasAvgPrice String gas均价
> state String 块状态
确认中:pending
确认完成:done
> burnt String 销毁手续费数量
> netWork String 所在网络,展示对应公链的chainFullName 例如:TRON

查询区块交易列表

获取公链下的某一区块里的交易列表。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/block/transaction-list

请求示例

GET /api/v5/explorer/block/transaction-list?chainShortName=eth&height=18126560&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
height String 区块高度
protocolType String 不同类型的交易
普通交易:transaction
内部交易:internal
20代币:token_20
721代币:token_721
1155代币:token_1155
10代币:token_10
默认是transaction
limit String 返回条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "635",
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "blockList": [
                {
                    "txid": "0x5a597e627d67a4e9daa9b710bf217c6690a2ac09521b45ffbb0b82b0f6d84245",
                    "methodId": "0x771d503f",
                    "blockHash": "0xadaed44b8d75332a8627a490cdd49e8aab227c901859f7918aea2b7f6d54e297",
                    "height": "18126560",
                    "transactionTime": "1694598095000",
                    "from": "0x104da4efb22a7e560e6df9c813e5eb54ca038737",
                    "isFromContract": false,
                    "isToContract": true,
                    "to": "0x51c72848c68a965f66fa7a88855f9f7784502a7f",
                    "amount": "0",
                    "transactionSymbol": "ETH",
                    "txfee": "0.004454715411444375",
                    "state": "success",
                    "tokenId": "",
                    "tokenContractAddress": ""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
blockList Array 交易列表
> txid String 交易哈希
> methodId String 方法
> blockHash String 区块哈希
> height String 交易发生的区块
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方地址
> isFromContract Bol From地址是否是合约地址
> isToContract Bol To地址是否是合约地址
> to String 接收方地址
> amount String 交易数量
> transactionSymbol String 交易数量对应的币种
> txfee String 手续费
> state String 交易状态
success:成功
fail:失败
pending:等待确认
> tokenId String NFT的ID
> tokenContractAddress String 代币合约地址

批量查询区块交易列表

批量获取公链下的某些区块的交易列表,最多返回最近10000笔交易。

每次调用消耗 3 点

HTTP请求

GET /api/v5/explorer/block/transaction-list-multi

请求示例

GET /api/v5/explorer/block/transaction-list-multi?chainShortName=eth&startBlockHeight=18809970&endBlockHeight=18809972&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
startBlockHeight String 开始查询的区块高度
endBlockHeight String 结束查询的区块高度
protocolType String 不同类型的交易
普通交易:transaction
内部交易:internal
20代币:token_20
721代币:token_721
1155代币:token_1155
默认是transaction
limit String 返回条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "724",
            "transactionList": [
                {
                    "height": "18809972",
                    "txId": "0xb86c039478b97be1e4de569ffa227dd57c0aeb793955328d7d17674f9ec0cee1",
                    "blockHash": "0x5248621464bded6029e20a0b2da1e103bb31bc4048d8623619b82eb6c2da25ce",
                    "transactionTime": "1702867319000",
                    "from": "0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5",
                    "isFromContract": false,
                    "isToContract": false,
                    "to": "0x5c8d0eed35a9e632bb8c0abe4662b6ab3326850b",
                    "amount": "0.150851832900380503",
                    "transactionSymbol": "ETH",
                    "txFee": "0.000926296864164",
                    "state": "success",
                    "tokenId": "",
                    "tokenContractAddress": ""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
transactionList Array 交易列表
> txId String 交易哈希
> methodId String 方法
> blockHash String 区块哈希
> height String 交易发生的区块
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方地址
> isFromContract Bol From地址是否是合约地址
> isToContract Bol To地址是否是合约地址
> to String 接收方地址
> amount String 交易数量
> transactionSymbol String 交易数量对应的币种
> txFee String 手续费
> state String 交易状态
success:成功
fail:失败
pending:等待确认
> tokenId String NFT的ID
> tokenContractAddress String 代币合约地址

根据时间戳查询区块高度

查询特定时间出块的区块高度。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/block/block-height-by-time

请求示例

GET /api/v5/explorer/block/block-height-by-time?chainShortName=eth&time=1702366480000

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
time String 查询的时间戳;Unix时间戳的毫秒数格式,如 1597026383085
closest String before:在该时间戳之前(包括该时间戳)出块的最近的区块
after:在该时间戳之后(包括该时间戳)出块的最近的区块
默认为before

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "height": "18768649",
            "blockTime": "1702366475000"
        }
    ]
}

返回参数

参数名 类型 描述
height String 区块高度
blockTime String 该区块实际出块时间,Unix时间戳的毫秒数格式,如 1597026383085

查询区块倒计时时间

查询某个区块验证完成的剩余预估时间,单位为秒。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/block/block-count-down

请求示例

GET /api/v5/explorer/block/block-count-down?chainShortName=eth&countDownBlockHeight=18812000

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
countDownBlockHeight String 要查询倒计时的区块高度

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "currentBlockHeight": "18810144",
            "countDownBlockHeight": "18812000",
            "remainingBlock": "1856",
            "estimateTime": "22405.632"
        }
    ]
}

返回参数

参数名 类型 描述
currentBlockHeight String 当前最新的区块高度
countDownBlockHeight String 要查询倒计时的区块高度
remainingBlock String 剩余区块数量
estimateTime String 区块验证完成预估剩余时间,单位为秒

查询地址验证的区块列表

查询特定地址验证的区块列表,最多返回最近10000条数据。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/block/mined-block-list

请求示例

GET /api/v5/explorer/block/mined-block-list?chainShortName=eth&address=0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 验证者地址
limit String 返回条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "blockList": [
                {
                    "height": "18811110",
                    "blockTime": "1702881083000",
                    "mineReward": "0.028655772120729006"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
blockList Array 该地址验证的区块列表
> height String 区块高度
> blockTime String 出块时间;Unix时间戳的毫秒数格式,如 1597026383085
> blockReward String 区块奖励,单位为本链币

地址数据

地址数据功能模块的接口,可以获取富豪地址排行榜、地址余额、地址基本信息、地址交易列表等相关数据

查询地址原生代币余额

获取某个地址余额信息,可以获取公链地址余额及所支持公链智能合约代币的余额等信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/address-summary

请求示例

GET /api/v5/explorer/address/address-summary?chainShortName=eth&address=0x85c6627c4ed773cb7c32644b041f58a058b00d30

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "address": "0x85c6627c4ed773cb7c32644b041f58a058b00d30",
            "contractAddress": "",
            "balance": "0",
            "balanceSymbol": "ETH",
            "transactionCount": "3",
            "verifying": "0",
            "sendAmount": "0.00144563982877912",
            "receiveAmount": "0.00144563982877912",
            "tokenAmount": "0",
            "totalTokenValue": "",
            "createContractAddress": "",
            "createContractTransactionHash": "",
            "firstTransactionTime": "1649936533000",
            "lastTransactionTime": "1673174795000",
            "token": "",
            "bandwidth": "",
            "energy": "",
            "votingRights": "",
            "unclaimedVotingRewards": "",
            "isAaAddress": false
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
address String 普通地址
contractAddress String 智能合约地址
balance String 本链币余额
balanceSymbol String 本链币余额币种
transactionCount String 该地址交易次数
verifying String 确认中金额
sendAmount String 发送金额
receiveAmount String 接收金额
tokenAmount String 代币种类数量
totalTokenValue String 代币总价值折算成公链原生币的数量
createContractAddress String 创建该智能合约的地址
createContractTransactionHash String 创建该智能合约的交易hash
firstTransactionTime String 该地址发生第一笔交易时间
lastTransactionTime String 该地址最近一次发生交易时间
token String 该地址对应的代币
bandwidth String 带宽和消耗的带宽(仅适用于TRON)
energy String 能量和消耗的能量(仅适用于TRON),其他链返回“”
votingRights String 投票全和已用投票权(仅适用于TRON)
unclaimedVotingRewards String 待领取投票收益(仅适用于TRON)
isAaAddress Bol 是否为AA地址
true:是
false:不是

查询EVM地址详情

获取某个地址详细信息,可获取地址余额、代币余额、合约调用次数、合约对应代币等信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/information-evm

请求示例

GET /api/v5/explorer/address/information-evm?chainShortName=eth&address=0xdac17f958d2ee523a2206206994597c13d831ec7

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
            "balance": "0.000000000000000001",
            "balanceSymbol": "ETH",
            "transactionCount": "183337245",
            "firstTransactionTime": "1511831234000",
            "lastTransactionTime": "1697624363000",
            "contractAddress": true,
            "createContractAddress": "0x36928500bc1dcd7af6a2b4008875cc336b927d57",
            "createContractTransactionHash": "0x2f1c5c2b44f771e942a8506148e256f94f1a464babc938ae0690c6e34cd79190",
            "contractCorrespondingToken": "USDT",
            "contractCalls": "5132287",
            "contractCallingAddresses": "897673"
        }
    ]
}

返回参数

参数名 类型 描述
address String 普通地址
balance String 本链币余额
balanceSymbol String 本链币余额币种
transactionCount String 该地址交易次数
firstTransactionTime String 该地址发生第一笔交易时间
lastTransactionTime String 该地址最近一次发生交易时间
contractAddress Bol 是否为智能合约地址
createContractAddress String 创建该智能合约的地址
createContractTransactionHash String 创建该智能合约的交易hash
contractCorrespondingToken String 该地址对应的代币,即通过该合约地址发行的代币
contractCalls String 30天内合约被调用的次数
contractCallingAddresses String 30天内调用合约的地址总数

查询地址活跃链

查询EVM系地址活跃的公链(即有交易)。

每次调用消耗 0 点

HTTP请求

GET /api/v5/explorer/address/address-active-chain

请求示例

GET /api/v5/explorer/address/address-active-chain?address=0xC098B2a3Aa256D2140208C3de6543aAEf5cd3A94

请求参数

参数名 类型 是否必须 描述
address String 地址

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Avalanche-C",
            "chainShortName": "AVAXC",
            "isContractAddress": true
        },
        {
            "chainFullName": "BNB Chain",
            "chainShortName": "BSC",
            "isContractAddress": false
        },
        {
            "chainFullName": "Polygon",
            "chainShortName": "POLYGON",
            "isContractAddress": false
        },
        {
            "chainFullName": "EthereumPoW",
            "chainShortName": "ETHW",
            "isContractAddress": false
        },
        {
            "chainFullName": "Fantom",
            "chainShortName": "FTM",
            "isContractAddress": false
        },
        {
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "isContractAddress": false
        },
        {
            "chainFullName": "Gnosis",
            "chainShortName": "GNOSIS",
            "isContractAddress": false
        },
        {
            "chainFullName": "DIS CHAIN",
            "chainShortName": "DIS",
            "isContractAddress": false
        },
        {
            "chainFullName": "OP Mainnet",
            "chainShortName": "OP",
            "isContractAddress": false
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
isContractAddress Bol 是否为智能合约地址

查询地址代币余额详情

获取某个地址代币余额明细,可以获取该地址上的所有代币余额信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/token-balance

请求示例

GET /api/v5/explorer/address/token-balance?chainShortName=eth&address=0xdac17f958d2ee523a2206206994597c13d831ec7&protocolType=token_20&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
protocolType String 合约协议类型
20代币:token_20
721代币:token_721
1155代币:token_1155
tokenContractAddress String 代币合约地址
page String 页码
limit String 返回条数,默认返回最近的20条,最多50条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "limit": "1",
            "page": "1",
            "totalPage": "308",
            "tokenList": [
                {
                    "symbol": "FNK",
                    "tokenContractAddress": "0xb5fe099475d3030dde498c3bb6f3854f762a48ad",
                    "holdingAmount": "115.71687581",
                    "priceUsd": "",
                    "valueUsd": "34.25416242664877",
                    "tokenId": ""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
tokenList Array 代币列表
> symbol String 该地址对应的代币
> tokenContractAddress String 该地址对应的代币合约地址
> holdingAmount String 代币持仓数量
> priceUsd String 代币美元价格
> valueUsd String 代币总的美元价值
> tokenId String NFT 的ID

获取某个地址余额明细,可以获取该地址上的代币余额信息。 该接口为老接口,建议使用该模块下 查询地址代币余额详情

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/address-balance-fills

请求示例

GET /api/v5/explorer/address/address-balance-fills?chainShortName=eth&address=0xdac17f958d2ee523a2206206994597c13d831ec7&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
protocolType String 不同的代币类型,20代币:token_20,721代币:token_721,1155代币:token_1155,默认为token_20
tokenContractAddress String 代币合约地址
page String 页码
limit String 返回条数,默认返回最近的20条,最多50条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "308",
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "tokenList": [
                {
                    "token": "USDT",
                    "tokenId": "",
                    "holdingAmount": "406275.909624",
                    "totalTokenValue": "257.29075982",
                    "change24h": "0.00010996",
                    "priceUsd": "1.00046",
                    "valueUsd": "406462.79654242704",
                    "tokenContractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
tokenList Array 代币列表
> token String 该地址对应的代币
> tokenContractAddress String 该地址对应的代币合约地址
> holdingAmount String 代币持仓数量
> totalTokenValue String 代币总价值折算成公链原生币的数量
> change24h String 代币价格24小时涨跌幅
> priceUsd String 代币美元价格
> valueUsd String 代币总的美元价值
> tokenId String NFT 的ID

查询指定区块高度的地址余额

通过该接口获取某条链指定区块高度下本链币或者代币的历史余额,该接口每小时更新可查询的区块高度,接口限速为5次/s。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/block/address-balance-history

请求示例

GET /api/v5/explorer/block/address-balance-history?chainShortName=eth&height=18376634&address=0xd275e5cb559d6dc236a5f8002a5f0b4c8e610701

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
height String 区块高度
address String 查询余额的地址
tokenContractAddress String 代币合约地址,如果不填写,查本链代币的余额;如果填写,查询指定代币的历史余额

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "address": "0xd275e5cb559d6dc236a5f8002a5f0b4c8e610701",
            "height": "18376634",
            "balance": "5.895934930980364414",
            "balanceSymbol": "ETH",
            "tokenContractAddress": "",
            "blockTime": "1697624735000"
        }
    ]
}

返回参数

参数名 类型 描述
address String 查询余额的地址
height String 区块高度
balance String 余额
blockTime String 出块时间;Unix时间戳的毫秒数格式,如 1597026383085
tokenContractAddress String 代币合约地址,如果是本链币的查询,该字段返回""
balanceSymbol String 余额币种,如果是本链币的,为本链代币名称,如果是指定代币的,为代币的缩写名称

查询地址交易列表

获取OKLink目前所支持的公链的交易列表,仅返回近1万条交易数据。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/transaction-list

请求示例

GET /api/v5/explorer/address/transaction-list?chainShortName=eth&address=0x85c6627c4ed773cb7c32644b041f58a058b00d30&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
protocolType String 不同类型的交易 交易:transaction 内部交易:internal 20代币:token_20 721代币:token_721 1155代币:token_1155 10代币:token_10 trx转账:trx 默认是transaction
tokenContractAddress String 代币合约地址
startBlockHeight String 开始搜索的区块号,不支持 SUI、APT 链
endBlockHeight String 结束搜索的区块号,不支持 SUI、APT 链
isFromOrTo String from,筛选from地址为查询地址的交易;to,筛选to地址为查询地址的交易;仅支持 Tron 链和 EVM 系公链
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "3",
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "transactionLists": [
                {
                    "txId": "0x18714d659c9022eecd29bff3cd05cb78adc6c0b9522b04d713bfb2cc7a2f62f0",
                    "methodId": "",
                    "blockHash": "0xea0ee963034d87aeaccd6a0513725bec2a604b6a890e85d96289bfcd547154db",
                    "height": "16361564",
                    "transactionTime": "1673174795000",
                    "from": "0x85c6627c4ed773cb7c32644b041f58a058b00d30",
                    "to": "0xcffad3200574698b78f32232aa9d63eabd290703",
                    "isFromContract": false,
                    "isToContract": false,
                    "amount": "0.000567475798167289",
                    "transactionSymbol": "ETH",
                    "txFee": "0.000430211335176",
                    "state": "success",
                    "tokenId": "",
                    "tokenContractAddress": "",
                    "challengeStatus": "",
                    "l1OriginHash": ""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
transactionLists Array 交易列表
> txId String 交易哈希
> methodId String 方法
> blockHash String 区块哈希
> height String 交易发生的区块
> transactionTime String 交易时间,pending交易返回广播时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方地址
> to String 接收方地址
> isFromContract Bol From地址是否是合约地址
> isToContract Bol To地址是否是合约地址
> amount String 交易数量,对于UTXO系列的区块链,返回的是这个地址下这笔交易所导致的余额变动。
> transactionSymbol String 交易数量对应的币种
> txFee String 手续费
> state String 交易状态 success 成功 fail 失败 pending 等待确认
> tokenId String NFT的ID
> tokenContractAddress String 交易数量对应的币种的合约地址
> challengeStatus String 挑战期状态
> l1OriginHash String L1执行交易哈希

查询地址普通交易列表

获取地址相关的普通交易列表。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/normal-transaction-list

请求示例

GET /api/v5/explorer/address/normal-transaction-list?chainShortName=eth&address=0xdac17f958d2ee523a2206206994597c13d831ec7&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
startBlockHeight String 开始区块高度
endBlockHeight String 最终区块高度
isFromOrTo String from,筛选from地址为查询地址的交易;to,筛选to地址为查询地址的交易;仅支持 Tron 链和 EVM 系公链
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "limit": "1",
            "page": "1",
            "totalPage": "10000",
            "transactionList": [
                {
                    "txId": "0xac39ce204486c83fa1aef285456a7e0d76f4a76976ab5ab65bcea98d97ee8508",
                    "methodId": "0xa9059cbb",
                    "nonce": "0",
                    "gasPrice": "8438956495",
                    "gasLimit": "94813",
                    "gasUsed": "63209",
                    "blockHash": "0x62a73bc006e481f6f6da53c3d71ea7a8f20c78de4b12a8eaa89d59d68501eefc",
                    "height": "18383240",
                    "transactionTime": "1697704715000",
                    "from": "0xf284512f225b350bf6e71d5a327891fcd26f640c",
                    "to": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                    "isFromContract": false,
                    "isToContract": true,
                    "amount": "0",
                    "symbol": "ETH",
                    "txFee": "0.000533418001092455",
                    "state": "success",
                    "transactionType": "2"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 交易列表
> txId String 交易哈希
> methodId String 方法
> nonce String 发起者地址发起的第几笔交易
> gasPrice String gas价格
> gasLimit String gas限额
> gasUsed String gas消耗
> blockHash String 区块哈希
> height String 交易发生的区块
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方地址
> to String 接收方地址
> isFromContract Bol From地址是否是合约地址
> isToContract Bol To地址是否是合约地址
> amount String 交易数量,对于UTXO系列的区块链,返回的是这个地址下这笔交易所导致的余额变动
> symbol String 交易数量对应的币种
> txFee String 手续费
> state String 交易状态
success 成功
fail 失败
pending 等待确认
> transactionType String 交易类型
0:原始交易类型
1:EIP2930
2:EIP1559
同时支持查询Tron交易类型

查询地址内部交易列表

获取地址相关的内部交易列表。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/internal-transaction-list

请求示例

GET /api/v5/explorer/address/internal-transaction-list?chainShortName=eth&address=0xdac17f958d2ee523a2206206994597c13d831ec7&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
startBlockHeight String 开始区块高度
endBlockHeight String 最终区块高度
isFromOrTo String from,筛选from地址为查询地址的交易;to,筛选to地址为查询地址的交易;仅支持 Tron 链和 EVM 系公链
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "limit": "1",
            "page": "1",
            "totalPage": "10000",
            "transactionList": [
                {
                    "txId": "0x34d5bd0c44da0864cfb8b9d7f3311d5eb598a4093b26dd5df5d25ec0e9df4942",
                    "operation": "call",
                    "blockHash": "0xee4e80ebc8a4b8071b07abd63906a4201bcf76d66100369a39148a0f529d098c",
                    "height": "18376673",
                    "transactionTime": "1697625227000",
                    "from": "0x3a5cc8689d1b0cef2c317bc5c0ad6ce88b27d597",
                    "to": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                    "isFromContract": true,
                    "isToContract": true,
                    "amount": "0",
                    "state": "success",
                    "symbol": "ETH"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 交易列表
> txId String 交易哈希
> operation String 操作类型
> blockHash String 区块哈希
> height String 交易发生的区块
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方地址
> to String 接收方地址
> isFromContract Bol From地址是否是合约地址
> isToContract Bol To地址是否是合约地址
> amount String 交易数量,对于UTXO系列的区块链,返回的是这个地址下这笔交易所导致的余额变动
> state String 交易状态
success 成功
fail 失败
> symbol String 交易数量对应的币种

查询地址代币交易列表

获取地址相关的代币交易交易列表。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/token-transaction-list

请求示例

GET /api/v5/explorer/address/token-transaction-list?chainShortName=eth&address=0xdac17f958d2ee523a2206206994597c13d831ec7&protocolType=token_20&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
protocolType String 代币类型,20代币:token_20,721代币:token_721,1155代币:token_1155,10代币:token_10,默认为token_20
tokenContractAddress String 代币合约地址
startBlockHeight String 开始区块高度
endBlockHeight String 最终区块高度
isFromOrTo String from,筛选from地址为查询地址的交易;to,筛选to地址为查询地址的交易;仅支持 Tron 链和 EVM 系公链
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "limit": "1",
            "page": "1",
            "totalPage": "10000",
            "transactionList": [
                {
                    "txId": "0x66e4b648d6b82c5e2cfdd2121af896a11618c69a356c307e2403a885a8503c88",
                    "blockHash": "0x6199c61f711a797e7bc88b213a5ae71374898a413e5e20f9f8ad420189088e82",
                    "height": "18376245",
                    "transactionTime": "1697620043000",
                    "from": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                    "to": "0xce7a837e1717301cb30d668ec6fcc9f4d312f30f",
                    "tokenContractAddress": "0xd8daa146dc3d7f2e5a7df7074164b6ad99bed260",
                    "tokenId": "",
                    "amount": "1450000000",
                    "symbol": "",
                    "isFromContract": true,
                    "isToContract": false
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 交易列表
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方地址
> to String 接收方地址
> isFromContract Bol From地址是否是合约地址
> isToContract Bol To地址是否是合约地址
> tokenContractAddress String 代币的合约地址
> amount String 交易数量,对于UTXO系列的区块链,返回的是这个地址下这笔交易所导致的余额变动
> symbol String 交易数量对应的币种
> tokenId String NFT 的ID

批量查询地址实体标签

批量查询某条公链上最多20个地址的实体标签,仅返回有交易所大地址标签和项目标签的地址。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/address/entity-label

请求示例

GET /api/v5/explorer/address/entity-label?chainShortName=eth&address=0x539C92186f7C6CC4CbF443F26eF84C595baBBcA1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号,例如:btc、eth
address String 地址,最多可以输入20个地址,以,分隔

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "label": "OKX.Cold Wallet",
            "address": "0x539c92186f7c6cc4cbf443f26ef84c595babbca1"
        }
    ]
}

返回参数

参数名 类型 描述
label String 该地址实体标签,如Binance.Deposit;若地址有多个实体标签,以,分隔
address String 地址

批量查询原生代币余额

可以批量查询最多50个地址的原生代币的余额。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/address/balance-multi

请求示例

GET /api/v5/explorer/address/balance-multi?chainShortName=eth&address=0x85c6627c4ed773cb7c32644b041f58a058b00d30,0xb13a8883d5116b418066c379bc3b3f40d087b8d8

请求参数

参数名 类型 必须 描述
chainShortName String 公链缩写符号
address String 地址,最多可以输入50个地址,以,分隔

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "symbol": "ETH",
            "balanceList": [
                {
                    "address": "0x85c6627c4ed773cb7c32644b041f58a058b00d30",
                    "balance": "0"
                },
                {
                    "address": "0xb13a8883d5116b418066c379bc3b3f40d087b8d8",
                    "balance": "0.00019330554147975"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
symbol String 公链原生代币
balanceList Array 原生代币持仓列表
> address String 地址
> balance String 原生代币持仓余额

批量查询代币余额

可以批量查询最多50个地址的代币的余额,一个地址如果持有多个代币,则会有多条数据,每页最多返回2000条数据。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/address/token-balance-multi

请求示例

GET /api/v5/explorer/address/token-balance-multi?chainShortName=eth&address=0x85c6627c4ed773cb7c32644b041f58a058b00d30,0xb13a8883d5116b418066c379bc3b3f40d087b8d8

请求参数

参数名 类型 必须 描述
chainShortName String 公链缩写符号
address String 地址,最多可以输入50个地址,以,分隔
protocolType String 不同的代币类型,20代币:token_20,721代币:token_721,1155代币:token_1155,默认为token_20
page String 页码
limit String 返回条数,默认返回20个数据,最多2000个数据

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "2",
            "totalPage": "686",
            "balanceList": [
                {
                    "address": "0xf977814e90da44bfa03b6295a0616a897441acec",
                    "holdingAmount": "400",
                    "tokenContractAddress": "0x7379cbce70bba5a9871f97d33b391afba377e885"
                },
                {
                    "address": "0xf977814e90da44bfa03b6295a0616a897441acec",
                    "holdingAmount": "123101078.45198849",
                    "tokenContractAddress": "0x5c885be435a9b5b55bcfc992d8c085e4e549661e"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 页码
limit String 每页返回的数据条数,默认返回20个数据,最多2000个数据
totalPage String 总共的页数
balanceList Array 余额列表
> address String 地址
> holdingAmount String 代币的余额
> tokenContractAddress String 代币的合约地址

查询指定区块普通交易列表

可以批量查询最多20个地址的普通交易,需要限制查询的开始区块高度以及结束的区块高度,两者差距不能超过10000个区块。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/address/normal-transaction-list-multi

请求示例

GET /api/v5/explorer/address/normal-transaction-list-multi?chainShortName=eth&address=00x533a7ae90fee4cafbc00e6a551cfb39a954cbf48,0xc0a3465b50a47848b7d04e145df61565d3e10566&endBlockHeight=18374343&startBlockHeight=18374341

请求参数

参数名 类型 必须 描述
chainShortName String 公链缩写符号
address String 地址,最多可以输入20个地址,以,分隔
startBlockHeight String 开始搜索的区块号
endBlockHeight String 结束搜索的区块号
isFromOrTo String from,筛选from地址为查询地址的交易;to,筛选to地址为查询地址的交易;仅支持 Tron 链和 EVM 系公链
page String 页码
limit String 每页返回的数据条数,默认最小20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "20",
            "totalPage": "1",
            "transactionList": [
                {
                    "txId": "0x76e650150abadac6c781c9c90a0fcda69fce6e69f0fbbfb08d8cadc26076802a",
                    "methodId": "",
                    "blockHash": "0x58c6a91b0b5ff04bb7ea9b9f264c547472a96dafbdb069acc1e2e8d63792db16",
                    "height": "18374343",
                    "transactionTime": "1697597087000",
                    "from": "0x533a7ae90fee4cafbc00e6a551cfb39a954cbf48",
                    "to": "0xc0a3465b50a47848b7d04e145df61565d3e10566",
                    "isFromContract": false,
                    "isToContract": false,
                    "amount": "15296",
                    "symbol": "ETH",
                    "txFee": "0.000139810264818",
                    "gasLimit": "21000",
                    "gasUsed": "21000",
                    "gasPrice": "6657631658",
                    "nonce": "",
                    "transactionType": "2"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 页码
limit String 每页返回的数据条数,默认最小20条,最多100条
totalPage String 总共的页数
transactionList Array 交易列表
> txId String 交易哈希
> methodId String 标识智能合约函数的短哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易发生的时间;Unix时间戳的毫秒数格式,如1597026383085
> from String 交易发送方的地址,多个地址,以,分隔
> to String 交易接受方的地址,多个地址,以,分隔
> isFromContract Bol from地址是否是合约地址
> isToContract Bol to地址是否是合约地址
> amount String 代币数量
> symbol String 交易代币的符号
> txFee String 交易的手续费(单位ETH)
> gasLimit String gas最大使用量
> gasUsed String 实际的gas使用量(单位Wei)
> gasPrice String gas价格(单位Wei)
> nonce String 发起者地址发起的第几笔交易
> transactionType String 交易类型
0:原始交易类型
1:EIP2930
2:EIP1559
同时支持查询Tron交易类型

查询指定区块内部交易列表

可以批量查询最多20个地址的内部交易,需要限制查询的开始区块高度以及结束的区块高度,两者差距不能超过10000个区块。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/address/internal-transaction-list-multi

请求示例

GET /api/v5/explorer/address/internal-transaction-list-multi?chainShortName=eth&address=0xd501520326d41aead2a70d4b5bf0c4646c0c9bd8,0xd275e5cb559d6dc236a5f8002a5f0b4c8e610701&endBlockHeight=18374470&startBlockHeight=18370000&limit=1

请求参数

参数名 类型 必须 描述
chainShortName String 公链缩写符号
address String 地址,最多可以输入20个地址,以,分隔
startBlockHeight String 开始搜索的区块号
endBlockHeight String 结束搜索的区块号
page String 页码
limit String 每页返回的数据条数,默认最小20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "7",
            "transactionList": [
                {
                    "txId": "0xfcc0b4d18791f5932ba7e3563012a176ef0d9f959e0beefc34f6956a0d0043b6",
                    "blockHash": "0x6eab9220138600d0cd66b73737aec77c016c18c91e13e93a938b7477e1e18865",
                    "height": "18373050",
                    "transactionTime": "1697581427000",
                    "operation": "call",
                    "from": "0x09fa0d3154363036ea406f254808c53f5f975518",
                    "to": "0xd275e5cb559d6dc236a5f8002a5f0b4c8e610701",
                    "isFromContract": true,
                    "isToContract": false,
                    "amount": "2450"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 页码
limit String 每页返回的数据条数,默认最小20条,最多100条
totalPage String 总共的页数
transactionList Array 交易列表
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易发生的时间;Unix时间戳的毫秒数格式,如1597026383085
> operation String 操作类型
> from String 交易发送方的地址,多个地址,以,分隔
> to String 交易接受方的地址,多个地址,以,分隔
> isFromContract Bol from地址是否是合约地址
> isToContract Bol to地址是否是合约地址
> amount String 代币数量

批量查询代币交易

可以批量查询最多20个地址的代币交易,需要限制查询的开始区块高度以及结束的区块高度,两者差距不能超过10000个区块。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/address/token-transaction-list-multi

请求示例

GET /api/v5/explorer/address/token-transaction-list-multi?chainShortName=eth&address=0xd501520326d41aead2a70d4b5bf0c4646c0c9bd8,0xd275e5cb559d6dc236a5f8002a5f0b4c8e610701&endBlockHeight=18374470&startBlockHeight=18370000&limit=1

请求参数

参数名 类型 必须 描述
chainShortName String 公链缩写符号
address String 地址,最多可以输入20个地址,以,分隔
startBlockHeight String 开始搜索的区块号
endBlockHeight String 结束搜索的区块号
protocolType String 代币类型,20代币:token_20,721代币:token_721,1155代币:token_1155,10代币:token_10,默认为token_20
tokenContractAddress String 代币的合约地址,最多可以输入20个地址,以,分隔
isFromOrTo String from,筛选from地址为查询地址的交易;to,筛选to地址为查询地址的交易;仅支持 Tron 链和 EVM 系公链
page String 页码
limit String 每页返回的数据条数,默认最小20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "88",
            "transactionList": [
                {
                    "txId": "0x644fe2fbc53316c3146760ecdb1405fc2dcb4893ac19552ad0898ea669176300",
                    "blockHash": "0xd027f203664d2911cb2bf2f73134539e6f7b5ac20be6ca998b7ea3691acfcd3d",
                    "height": "18373112",
                    "transactionTime": "1697582183000",
                    "from": "0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae",
                    "to": "0xd275e5cb559d6dc236a5f8002a5f0b4c8e610701",
                    "isFromContract": true,
                    "isToContract": false,
                    "amount": "1",
                    "tokenId": "1",
                    "symbol": "Airdrop",
                    "tokenContractAddress": "0xf7b24c63fe941f2caadaee49f10e565d850be067"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 页码
limit String 每页返回的数据条数,默认最小20条,最多100条
totalPage String 总共的页数
transactionList Array 交易列表
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易发生的时间;Unix时间戳的毫秒数格式,如1597026383085
> from String 交易发送方的地址,多个地址,以,分隔
> to String 交易接受方的地址,多个地址,以,分隔
> isFromContract Bol from地址是否是合约地址
> isToContract Bol to地址是否是合约地址
> amount String 代币数量
> tokenId String NFT代币ID,适用于721和1155代币
> symbol String 交易代币的符号
> tokenContractAddress String 交易代币的合约地址

查询富豪地址 Top 100

获取某个公链或合约的地址余额排行前100名地址详情。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/rich-list

请求示例

GET /api/v5/explorer/address/rich-list?chainShortName=btc

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 代币合约地址

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "symbol": "BTC",
            "rank": "1",
            "address": "34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo",
            "amount": "248597.39163733",
            "transactionCount": "842",
            "holdRatio": "0.0118",
            "netWork": ""
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
symbol String 持仓币种
rank String 地址余额排名
address String 持仓地址
amount String 持仓数量
transactionCount String 该地址交易次数
holdRatio String 该地址余额与总流通量的占比
netWork String 所在网络,仅适用于USDT

查询主链币持仓地址列表

获取某个公链的主链币持仓地址列表,仅返回余额Top 10000的地址信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/native-token-position-list

请求示例

GET /api/v5/explorer/address/native-token-position-list?chainShortName=ETH

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
page String 页码
limit String 每页返回的数据条数,默认最小20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "3",
            "totalPage": "3334",
            "positionList": [
                {
                    "rank": "1",
                    "symbol": "ETH",
                    "holderAddress": "0x00000000219ab540356cbb839cbe05303d7705fa",
                    "amount": "35312968.32606823"
                },
                {
                    "rank": "2",
                    "symbol": "ETH",
                    "holderAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                    "amount": "3234638.2256898033"
                },
                {
                    "rank": "3",
                    "symbol": "ETH",
                    "holderAddress": "0xbe0eb53f46cd790cd13851d5eff43d12404d33e8",
                    "amount": "1996008.379796362"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 页码
limit String 每页返回的数据条数,默认最小20条,最多100条
totalPage String 总共的页数
positionList Array 持仓列表
> rank String 地址余额排名
> symbol String 持仓币种
> address String 持仓地址
> amount String 持仓数量

矿工数据

矿工数据功能模块的接口,可获取公链矿池的算力排名、超级节点、验证人列表、矿池份额

查询矿池算力份额

获取各个矿池所占的预估份额。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/pool/estimated-pool-share

请求示例

GET /api/v5/explorer/pool/estimated-pool-share?chainShortName=btc

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
period String 筛选日期
1D3D1W1M3M1YAll
默认为1D

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "rank": "1",
            "poolName": "AntPool",
            "hashrate": "0",
            "ratio": "0.2933",
            "blockCount": "44",
            "emptyBlockCount": "0",
            "ommerBlockCount": "0",
            "avgBlockSize": "",
            "avgFee": "0.12343160636363637",
            "minerFeeRatio": "0.0197"
        },
        {
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "rank": "2",
            "poolName": "Foundry USA",
            "hashrate": "0",
            "ratio": "0.28",
            "blockCount": "42",
            "emptyBlockCount": "0",
            "ommerBlockCount": "0",
            "avgBlockSize": "",
            "avgFee": "0.14027478785714284",
            "minerFeeRatio": "0.0224"
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
rank String 爆块数量排名
poolName String 矿池名称
hashrate String 算力
ratio String 爆块份额占比,以小数展示,精确到小数点后4位
blockCount String 区块数量
emptyBlockCount String 空块数量
ommerBlockCount String 叔块数量
avgBlockSize String 平均区块大小,单位为:Bytes
avgFee String 平均交易手续费
minerFeeRatio String 矿工费占比,以小数展示,精确到小数点后4位

查询矿池算力排名

获取某个公链矿池算力排名。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/pool/pool-hashrate-rank

请求示例

GET /api/v5/explorer/pool/pool-hashrate-rank?chainShortName=btc

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
category String 数据类别
real:实时数据
estimated:预估数据
默认为 real

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "rank": "1",
            "poolName": "Foundry USA",
            "hashrate": "127637910960000010000",
            "change24h": "0.0174",
            "luckyRatio": "1.0347"
        },
        {
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "rank": "2",
            "poolName": "AntPool",
            "hashrate": "115000000000000000000",
            "change24h": "0.0000",
            "luckyRatio": "1.0785"
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Ethereum
chainShortName String 公链缩写符号,例如:ETH
rank String 算力排名
poolName String 矿池名称
hashrate String 算力
change24h String 算力24小时涨跌幅,以小数展示,精确到小数点后4位
luckyRatio String 幸运比值,以小数展示,精确到小数点后4位

查询超级节点/验证人列表

获取OKLink目前所支持的公链的超级节点或者验证人列表。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/pool/validator-list

请求示例

GET /api/v5/explorer/pool/validator-list?chainShortName=bsc&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
period period 筛选日期:
1D1W3M1YAll
默认为1D
validatorName String 验证者名称
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": {
        "page": "1",
        "limit": "1",
        "totalPage": "33",
        "validatorList": [
            {
                "rank": "1",
                "validatorName": "Fuji",
                "validatorAddress": "0x7ae2f5b9e386cd1b50a4550696d957cb4900f03a",
                "weightRatio": "0.05",
                "weight": "",
                "blocks": "1323",
                "staked": "1118400.13217862",
                "stakedSymbol": "BNB",
                "reward": "-0.07670620656615305",
                "rewardSymbol": "BNB",
                "state": "-1",
                "firstHeight": "48",
                "latestHeight": "32710953",
                "type": ""
            }
        ]
    }
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
validatorList Array 验证者列表
> rank String 排名
> validatorName String 验证者名称
> validatorAddress String 验证者地址
> weightRatio String 权重占比
> weight String 权重
> blocks String 出块的个数
> staked String 质押数量(预估值)
> stakedSymbol String 质押的代币名称
> reward String 奖励
> rewardSymbol String 奖励的代币名称
> state String 验证者状态
> firstHeight String 第一个块高
> latestHeight String 最后一个块高
> type String Tron节点类型
SUPER,超级代表
SUPERPARTNER,超级代表合伙人
SUPERCANDIDATE,超级代表候选人

交易数据

交易数据功能模块的接口,可获取某个链的交易信息,交易列表。

查询公链交易列表

获取公链的交易列表,仅返回近1万条交易数据。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/transaction/transaction-list

请求示例

GET /api/v5/explorer/transaction/transaction-list?chainShortName=btc&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
blockHash String 区块哈希
height String 区块高度
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "transactionList": [
                {
                    "txid": "8b09dcbc5604284aa88e171e75d717557d9668d4f5499a0db2a7522e478ac3dc",
                    "blockHash": "000000000000000000021a5bdbd89b086bf6932db2751cf7a01ca873317b3231",
                    "height": "812753",
                    "transactionTime": "1697632271000",
                    "input": "bc1qr2kugnsttnjkcawhpltw4nsh3z6vuxxguk0z3d,bc1qr2kugnsttnjkcawhpltw4nsh3z6vuxxguk0z3d,bc1qr2kugnsttnjkcawhpltw4nsh3z6vuxxguk0z3d,bc1qr2kugnsttnjkcawhpltw4nsh3z6vuxxguk0z3d,bc1qr2kugnsttnjkcawhpltw4nsh3z6vuxxguk0z3d,bc1qr2kugnsttnjkcawhpltw4nsh3z6vuxxguk0z3d",
                    "output": "bc1qlavjjmxghslxj6qrcjy2rs5mv7pugy3mzawt80,bc1qr2kugnsttnjkcawhpltw4nsh3z6vuxxguk0z3d",
                    "isInputContract": false,
                    "isOutputContract": false,
                    "amount": "0.00499015",
                    "transactionSymbol": "BTC",
                    "txfee": "0.0007215",
                    "methodId": "",
                    "transactionType": "",
                    "state": ""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
transactionList Array 交易列表
> txid String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> input String 输入地址,如果存在多个地址,以英文逗号分隔
> output String 输出地址 ,如果存在多个地址,以英文逗号分隔
> isFromContract Bol input地址是否是合约地址
> isToContract Bol output地址是否是合约地址
> amount String 交易数量
> transactionSymbol String 交易数量对应的币种
> txfee String 手续费
> methodId String 方法
> transactionType String 交易类型
0:原始交易类型
1:EIP2930
2:EIP1559
> state String 交易状态
success 成功
fail 失败
pending 等待确认

查询公链大额交易列表

获取公链上的大额交易列表。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/transaction/large-transaction-list

请求示例

GET /api/v5/explorer/transaction/large-transaction-list?chainShortName=btc&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
type String 查询交易数量大于该数量的交易,最低限额为100;若未填写,默认为100
blockHash String 区块哈希
height String 区块高度
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "transactionList": [
                {
                    "txid": "bca066292115784d9e83263df6b520794d43b8a8ac8622b03fc7ef6803331710",
                    "blockHash": "000000000000000000003549b3b7fcdff3a6328021eeabdae70c57e0fd3776c5",
                    "height": "812747",
                    "transactionTime": "1697627155000",
                    "input": "3D68UNbZVkaxZHGeXZ553xudqGfGjcF5y2",
                    "output": "3MNZCAW6C8rGQKzS39tARXnKVUcRyFF379,3JFudoNxai4Mg9TTB97PZ1i5kZHZ1EzJPT",
                    "isInputContract": false,
                    "isOutputContract": false,
                    "amount": "5119.9088941",
                    "transactionSymbol": "BTC",
                    "txfee": "0.0000498",
                    "methodId": "",
                    "transactionType": "",
                    "state": ""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
transactionList Array 交易列表
> txid String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> input String 输入,如果存在多个地址,以,分隔
> output String 输出,如果存在多个地址,以,分隔
> isInputContract Bol input地址是否是合约地址
> isOutputContract Bol output地址是否是合约地址
> amount String 数量
> transactionSymbol String 交易数量对应的币种
> txfee String 手续费
> methodId String 方法
> transactionType String 交易类型
0:原始交易类型
1:EIP2930
2:EIP1559
> state String 交易状态
success 成功
fail 失败
pending 等待确认

查询公链未确认交易列表

获取公链上的未确认交易列表信息,仅返回近1万条交易数据。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/transaction/unconfirmed-transaction-list

请求示例

GET /api/v5/explorer/transaction/unconfirmed-transaction-list?chainShortName=btc&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "transactionList": [
                {
                    "txid": "e41a58a47d2f9220c367780acd8fc9ee8461b964f1b6ffb3dd610302681b7656",
                    "height": "",
                    "transactionTime": "",
                    "input": "bc1qxx76udl8kjahmlvd8xktaflxgyg0gn664ucw00",
                    "output": "3GzPyo2eJJgjRB3C3e6w2SfX1heuiPnixo",
                    "isInputContract": false,
                    "isOutputContract": false,
                    "amount": "0.002321",
                    "transactionSymbol": "BTC",
                    "txfee": "2220",
                    "methodId": "",
                    "transactionType": "",
                    "randomNumber": "",
                    "status": "pending"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
transactionList Array 交易列表
> txid String 交易哈希
> height String 交易发生的区块
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> isInputContract Bol input地址是否是合约地址
> isOutputContract Bol output地址是否是合约地址
> input String 输入,如果存在多个地址,以,分隔
> output String 输出,如果存在多个地址,以,分隔
> amount String 交易数量
> transactionSymbol String 交易数量对应的币种
> txfee String 手续费
> methodId String 方法
> transactionType String 交易类型
0:原始交易类型
1:EIP2930
2:EIP1559
> randomNumber String 随机数
> state String 交易状态
success 成功
fail 失败
pending 等待确认

查询指定交易哈希内部交易

通过交易哈希获取内部交易。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/transaction/internal-transaction-detail

请求示例

GET /api/v5/explorer/transaction/internal-transaction-detail?chainShortName=eth&txId=0x06d35ea1b5ec75fa9f66bb0d481102aad6236a8e70427cd91a1b1c3e754244dc&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
txId String 交易Hash
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10",
            "internalTransactionDetails": [
                {
                    "txId": "0x06d35ea1b5ec75fa9f66bb0d481102aad6236a8e70427cd91a1b1c3e754244dc",
                    "from": "0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad",
                    "to": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                    "height": "18076803",
                    "transactionTime": "1693995971000",
                    "isFromContract": true,
                    "isToContract": true,
                    "operation": "call",
                    "amount": "0.002",
                    "state": "success"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
internalTransactionDetails Array 内部交易详情
> txId String 交易哈希
> height String 交易发生的区块高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式
> from String 交易发送方的地址
> to String 交易接受方的地址
> isFromContract Bol from地址是否是合约地址
> isToContract Bol to地址是否是合约地址
> operation String 操作类型
> amount String 交易数量
> state String 交易状态

查询指定交易哈希代币交易

通过交易哈希获取代币交易。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/transaction/token-transaction-detail

请求示例

GET /api/v5/explorer/transaction/token-transaction-detail?chainShortName=eth&txId=0x06d35ea1b5ec75fa9f66bb0d481102aad6236a8e70427cd91a1b1c3e754244dc&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
txId String 交易哈希
protocolType String 不同类型的交易
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "20",
            "totalPage": "1",
            "tokenTransferDetails": [
                {
                    "txId": "0x06d35ea1b5ec75fa9f66bb0d481102aad6236a8e70427cd91a1b1c3e754244dc",
                    "from": "0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad",
                    "to": "0xf66369997ae562bc9eec2ab9541581252f9ca383",
                    "height": "18076803",
                    "transactionTime": "1693995971000",
                    "isFromContract": true,
                    "isToContract": true,
                    "tokenContractAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                    "symbol": "WETH",
                    "amount": "0.002"
                },
                {
                    "txId": "0x06d35ea1b5ec75fa9f66bb0d481102aad6236a8e70427cd91a1b1c3e754244dc",
                    "from": "0xf66369997ae562bc9eec2ab9541581252f9ca383",
                    "to": "0xb59ac29fadba6818628a6cb0060a4b57fc4a7126",
                    "height": "18076803",
                    "transactionTime": "1693995971000",
                    "isFromContract": true,
                    "isToContract": false,
                    "tokenContractAddress": "0xbc396689893d065f41bc2c6ecbee5e0085233447",
                    "symbol": "PERP",
                    "amount": "4.23951772020582"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
tokenTransferDetails Array 代币交易详情
> txId String 交易哈希
> height String 交易发生的区块高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式
> from String 交易发送方的地址
> to String 交易接受方的地址
> isFromContract Bol from地址是否是合约地址
> isToContract Bol to地址是否是合约地址
> tokenContractAddress String 代币合约地址
> symbol String 交易代币的符号
> amount String 交易数量

查询指定交易哈希交易明细

获取公链链上交易基础信息。

该接口为老接口,建议使用该模块下其他接口查询交易详细信息

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/transaction/transaction-fills

请求示例

GET /api/v5/explorer/transaction/transaction-fills?chainShortName=eth&txid=0x3ae59abf714df29a15bb8ecadfbe3068aff20693bb91c7e7c9d34ce245d56def

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
txid String 交易哈希,最多可批量查询20笔交易,以英文逗号分隔

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "txid": "0x3ae59abf714df29a15bb8ecadfbe3068aff20693bb91c7e7c9d34ce245d56def",
            "height": "18126676",
            "transactionTime": "1694599499000",
            "amount": "0.1",
            "transactionSymbol": "ETH",
            "txfee": "0.000491371954353",
            "index": "576",
            "confirm": "250634",
            "inputDetails": [
                {
                    "inputHash": "0xe61771cd810d82e6ef302f69c76fbaf0538818c7",
                    "isContract": false,
                    "amount": ""
                }
            ],
            "outputDetails": [
                {
                    "outputHash": "0x095624a01088cca5aae036c128cc9ac8032b9a3c",
                    "isContract": false,
                    "amount": ""
                }
            ],
            "state": "success",
            "gasLimit": "21000",
            "gasUsed": "21000",
            "gasPrice": "0.000000023398664493",
            "totalTransactionSize": "",
            "virtualSize": "0",
            "weight": "",
            "nonce": "1365",
            "transactionType": "2",
            "methodId": "",
            "errorLog": "",
            "inputData": "0x",
            "isAaTransaction": false,
            "tokenTransferDetails": [],
            "contractDetails": []
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
txid String 交易哈希
height String 交易发生的区块
transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
transactionType String 交易类型
0:原始交易类型
1:EIP2930
2:EIP1559
amount String 交易数量
transactionSymbol String 交易数量对应的币种
methodId String 方法
errorLog String 交易失败日志
inputData String 输入数据
txfee String 手续费
index String 交易在区块里的位置索引
confirm String 已确认区块数
inputDetails Array 输入地址列表
> inputHash String 发起交易的hash地址
> isContract Bol 发起交易的地址是否是合约地址
true:是 ;false:否
> amount String 该地址的交易数量
outputDetails Array 输出地址列表
> outputHash String 接收交易的hash地址
> isContract Bol 接收交易的地址是否是合约地址
true:是 ;false:否
> amount String 该地址的交易数量
state String 交易状态
success:成功
fail:失败
pending:等待确认
gasLimit String gas限额
gasUsed String gas消耗
gasPrice String gas价格
totalTransactionSize String 总交易大小
virtualSize String 虚拟交易大小
weight String 交易重量
nonce String 发起者地址发起的第几笔交易
isAaTransaction Bol 是否为AA交易
tokenTransferDetails Array 代币转账明细,最多返回20条,可通过新接口GET /api/v5/explorer/transaction/internal-transaction-detailGET /api/v5/explorer/transaction/token-transaction-detail查询更多数据
> index String 该交易在区块里的位置索引
> token String 代币名称
> tokenContractAddress String 代币合约地址
> symbol String 代币符号
> from String 转出代币地址
> to String 接收代币地址
> isFromContract Bol 转出代币地址是否是合约地址
> isToContract Bol 接收代币地址是否是合约地址
> tokenId String NFT的ID
> amount String 转账数量
contractDetails Array 合约调用转账明细
> index String 该交易在区块里的位置索引
> from String 转出代币地址
> to String 接收代币地址
> isFromContract Bol 转出代币地址是否是合约地址
> isToContract Bol 接收代币地址是否是合约地址
> amount String 转账数量
> gasLimit String gas限额

批量查询交易明细

通过交易哈希获取交易明细信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/transaction/transaction-multi

请求示例

GET /api/v5/explorer/transaction/transaction-multi?chainShortName=eth&txId=0x9a6eca1a9f4cc9b8d338bba2ad50d71be42ceb6aac50059cb8b1fac7e8a37d74

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
txId String 交易哈希,多笔交易以,分隔
最多20个txId

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "txId": "0x9a6eca1a9f4cc9b8d338bba2ad50d71be42ceb6aac50059cb8b1fac7e8a37d74",
            "methodId": "",
            "blockHash": "0x7b9f40bb135a93a9638d30aa6e4ad97deba89542a975468eede129fad9f5e8df",
            "height": "18362555",
            "transactionTime": "1697454719000",
            "from": "0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97",
            "to": "0xd87cba5b88ca8c937792a564a60afc0d0683e731",
            "isFromContract": false,
            "isToContract": false,
            "amount": "0.030891615623385848",
            "symbol": "ETH",
            "nonce": "97806",
            "txFee": "0.000194151615588",
            "gasPrice": "9245315028",
            "gasLimit": "21000",
            "gasUsed": "21000",
            "state": "success",
            "transactionType": ""
        }
    ]
}

返回参数

参数名 类型 描述
txId String 交易哈希
methodId String 方法
blockHash String 区块哈希
height String 交易发生的区块
transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
from String 发送方地址
to String 接收方地址
isFromContract Bol From地址是否是合约地址
isToContract Bol To地址是否是合约地址
amount String 交易数量
symbol String 交易数量对应的币种
nonce String 发起者地址发起的第几笔交易
gasLimit String gas限额
gasUsed String gas消耗
gasPrice String gas价格
txFee String 手续费
state String 交易状态: success 成功 fail 失败 pending 等待确认
transactionType String 交易类型
0:原始交易类型
1:EIP2930
2:EIP1559

批量查询内部交易

通过交易哈希批量获取内部交易。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/transaction/internal-transaction-multi

请求示例

GET /api/v5/explorer/transaction/internal-transaction-multi?chainShortName=eth&txId=0x633989939634e27ca69e784476a6e06766357ededc42b81b1e112a0180f3b03b

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
txId String 交易哈希,多笔交易以,分隔
最多20个txId
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "20",
            "totalPage": "1",
            "transactionList": [
                {
                    "txId": "0x633989939634e27ca69e784476a6e06766357ededc42b81b1e112a0180f3b03b",
                    "blockHash": "0x469ae737291639f3137d3d4e9649c56489e5d19e272248781f8869220900f809",
                    "height": "18368538",
                    "transactionTime": "1697526923000",
                    "operation": "delegatecall",
                    "from": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
                    "to": "0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf",
                    "isFromContract": true,
                    "isToContract": true,
                    "amount": "0"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
internalTransactionDetails Array 内部交易详情
> txId String 交易哈希
> height String 交易发生的区块高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式
> operation String 操作类型
> from String 交易发送方的地址
> to String 交易接受方的地址
> isFromContract Bol from地址是否是合约地址
> isToContract Bol to地址是否是合约地址
> amount String 交易数量

批量查询代币交易

通过交易哈希批量获取代币交易。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/transaction/token-transfer-multi

请求示例

GET /api/v5/explorer/transaction/token-transfer-multi?chainShortName=eth&txId=0x633989939634e27ca69e784476a6e06766357ededc42b81b1e112a0180f3b03b

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
txId String 交易哈希,多笔交易以,分隔
最多20个txId
protocolType String 不同类型的交易
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "20",
            "totalPage": "1",
            "transactionList": [
                {
                    "txId": "0x633989939634e27ca69e784476a6e06766357ededc42b81b1e112a0180f3b03b",
                    "blockHash": "0x469ae737291639f3137d3d4e9649c56489e5d19e272248781f8869220900f809",
                    "height": "18368538",
                    "transactionTime": "1697526923000",
                    "from": "0xc94ebb328ac25b95db0e0aa968371885fa516215",
                    "to": "0x3275311fde369a68ef90bc25de9d462e1d5c8bb7",
                    "isFromContract": false,
                    "isToContract": false,
                    "amount": "554",
                    "tokenId": "",
                    "symbol": "USDC",
                    "tokenContractAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
tokenTransferDetails Array 代币交易详情
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式
> from String 交易发送方的地址
> to String 交易接受方的地址
> isFromContract Bol from地址是否是合约地址
> isToContract Bol to地址是否是合约地址
> tokenContractAddress String 代币合约地址
> amount String 交易数量
> symbol String 交易代币的符号
> tokenId String NFT的ID

代币数据

代币数据功能模块接口,可以获取一条链上所有的代币列表和代表详情;此外,可以通过币价服务模块的接口查询 200+ 条公链的代币价格数据

查询代币列表

获取某条公链上某个代币的基本信息,支持筛选代币的发行时间,可查询最新发行的代币,代币发行时间的筛选跨度最长为1年。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/token/token-list

请求示例

GET /api/v5/explorer/token/token-list?chainShortName=eth&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
protocolType String 合约协议类型
20代币:token_20
721代币:token_721
1155代币:token_1155
10代币:token_10
默认是token_20
tokenContractAddress String 代币合约地址
startTime String 查询发行时间晚于该时间的代币,Unix时间戳的毫秒数格式,如 1597026383085;startTime与endTime之差最长不超过1年
endTime String 查询发行时间早于该时间的代币,Unix时间戳的毫秒数格式,如 1597026383085;startTime与endTime之差最长不超过1年
orderBy String 按照不同指标降序返回,仅针对20代币
totalMarketCap:按代币总市值从高到低返回
transactionAmount24h :按代币24h交易金额从高到低返回
默认按市值从高到低返回
page String 页码
limit String 返回条数,默认返回最近的20条,最多50条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "tokenList": [
                {
                    "tokenFullName": "Tether USD",
                    "token": "USDT",
                    "precision": "6",
                    "tokenContractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                    "protocolType": "ERC20",
                    "addressCount": "5630800",
                    "totalSupply": "50999156520.37353",
                    "circulatingSupply": "109840251114.81",
                    "price": "1.00054",
                    "website": "https://tether.to/",
                    "totalMarketCap": "109907253667.99",
                    "issueDate": "1511883490000",
                    "transactionAmount24h": "6074260853.604071",
                    "tvl": "298613818.3666634",
                    "logoUrl": "https://static.coinall.ltd/cdn/wallet/logo/USDT-991ffed9-e495-4d1b-80c2-a4c5f96ce22d.png"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
tokenList Array 代币列表
> tokenFullName String 代币名字全称:USDCoin
> token String 代币名字简称:USDC
> precision String 精度
> tokenContractAddress String 代币合约地址
> protocolType String 代币合约协议类型
> addressCount String 持币地址数
> totalSupply String 最大供应量
> circulatingSupply String 该代币在所有链上的总流通量
> price String 价格,USD为单位
> website String 官方网站
> totalMarketCap String 该代币在所有链上的总市值
> issueDate String 代币发行日期
> transactionAmount24h String 代币24h交易金额,单位为美元,仅支持20代币
> tvl String 代币的总锁仓市值
> logoUrl String 代币logo的url

查询代币持仓列表

获取某条公链上某个代币的持仓列表,仅返回余额为top10000的地址。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/token/position-list

请求示例

GET /api/v5/explorer/token/position-list?chainShortName=eth&tokenContractAddress=0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
tokenContractAddress String 代币合约地址
holderAddress String 持仓地址
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "circulatingSupply": "977631.04",
            "positionList": [
                {
                    "holderAddress": "0x0a3f6849f78076aefadf113f5bed87720274ddc0",
                    "amount": "165544.6846010534",
                    "valueUsd": "231029494.33741083165440853217918",
                    "positionChange24h": "-0.000030241911044021",
                    "rank": "1"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
circulatingSupply String 总流通量
positionList Array 持仓列表
> holderAddress String 持仓地址
> amount String 持仓数量
> valueUsd String 持仓价值,以美金为单位
> positionChange24h String 24小时持仓量变化
> rank String 持仓量排名

查询代币持仓地址统计

获取某条公链上某个代币的持仓地址,对于该代币在DEX上的总购买金额、购买数量、持仓成本和未实现盈亏,该接口仅统计在DEX上购买过某个代币、且当前仍然持有该代币的地址,数据每小时更新。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/token/position-stats

请求示例

GET /api/v5/explorer/token/position-stats?chainShortName=eth&tokenContractAddress=0xdac17f958d2ee523a2206206994597c13d831ec7&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
tokenContractAddress String 代币合约地址
holderAddress String 持仓地址
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "20",
            "totalPage": "500",
            "positionList": [
                {
                    "holderAddress": "0xcee284f754e854890e311e3280b767f80797180d",
                    "amount": "1432683907.127544",
                    "totalTxnAmount": "949071.1488562819",
                    "totalTxnQuantity": "948975.819459",
                    "holdingCost": "1.000100455033023",
                    "unrealizedProfit": "-244208.182700946177592885512"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
positionList Array 持仓列表
> amount String 持仓数量
> holderAddress String 持仓地址
> totalTxnAmount String 地址在DEX上购买该代币的总交易金额,单位为USD
> totalTxnQuantity String 地址在DEX上购买该代币的总数量
> holdingCost String 地址对于该代币的持仓成本,地址购买该代币的总交易金额 / 地址购买该代币的数量;单位为USD
> unrealizedProfit String 地址当前持有该代币的未实现盈亏,计算方法为(代币当前价格 - 持仓成本)* 持仓数量

查询代币转帐详情

获取某条公链上指定代币的转账详情。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/token/transaction-list

请求示例

GET /api/v5/explorer/token/transaction-list?chainShortName=eth&tokenContractAddress=0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
tokenContractAddress String 代币合约地址
maxAmount String 筛选交易数量区间,最大数量
minAmount String 筛选交易数量区间,最小数量
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "chainFullName": "Ethereum",
            "chainShortName": "ETH",
            "totalTransfer": "2005176",
            "transactionList": [
                {
                    "txid": "0x784c42f0dee87a0e83ed29d69df6ab2af0a13792f2c266a4fe3f6f2b1f4c59ae",
                    "blockHash": "0x907077f5157ee31a5665f37f5589170fad2450857fea8d5d99a91ed02f908f1d",
                    "height": "18377320",
                    "transactionTime": "1697633099000",
                    "from": "0xaafb85ad4a412dd8adc49611496a7695a22f4aeb",
                    "to": "0x7913005b548839da13765020ddb9bf74a151b327",
                    "isToContract": false,
                    "isFromContract": true,
                    "amount": "0",
                    "transactionSymbol": "MKR",
                    "methodId": "0x8a179be4",
                    "tokenContractAddress": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
                    "protocolType": "ERC20",
                    "state": "success",
                    "tokenId": ""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
totalTransfer String 代币总转账次数
transactionList Array 交易列表
> txid String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> to String 接收方,多个地址,逗号分隔
> from String 发送方,多个地址,逗号分隔
> isFromContract Bol input地址是否是合约地址
> isToContract Bol output地址是否是合约地址
> amount String 交易数量
> transactionSymbol String 交易数量对应的币种
> methodId String 方法
> tokenContractAddress String 代币合约地址
> protocolType String 代币协议类型
> state String 交易状态
成功:success
失败:fail
等待确认:pending
> tokenId String NFT代币ID,适用于721和1155代币

查询指定区块代币交易列表

批量查询最多20合约的代币交易,最多查询10000个区块。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/token/token-transaction-list-multi

请求示例

GET /api/v5/explorer/token/token-transaction-list-multi?chainShortName=eth&tokenContractAddress=0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2&endBlockHeight=17925814&startBlockHeight=17916100&limit=1

请求参数

参数名 类型 必须 描述
chainShortName String 公链缩写符号
tokenContractAddress String 代币的合约地址,最多可以输入20个地址,以,分隔
startBlockHeight String 开始搜索的区块号
endBlockHeight String 结束搜索的区块号
page String 页码
limit String 每页返回的数据条数,默认最小20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "712",
            "transactionList": [
                {
                    "txId": "0x3512b39be2705de69c45b94d08068dd9ff8d932b8cf163650e97154136dca9b3",
                    "blockHash": "0x7a6dc63e2f04cc40013f4359771038fbaebe9895568c93df122eb0c1aa2f0b32",
                    "height": "17925812",
                    "transactionTime": "1692169811000",
                    "from": "0x2e52f794dec462be6a05c7291b5d80326f953668",
                    "to": "0x5bea21c54bbb549c1c5fc3e451955878ed152dac",
                    "isFromContract": false,
                    "isToContract": false,
                    "amount": "0.9971",
                    "tokenId": "",
                    "symbol": "MKR",
                    "tokenContractAddress": "0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 页码
limit String 每页返回的数据条数,默认最小20条,最多100条
totalPage String 总共的页数
transactionList Array 交易列表
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易发生的时间;Unix时间戳的毫秒数格式,如1597026383085
> from String 交易发送方的地址,多个地址,以,分隔
> to String 交易接受方的地址,多个地址,以,分隔
> isFromContract Bol from地址是否是合约地址
> isToContract Bol to地址是否是合约地址
> amount String 代币数量
> tokenId String 代币ID,适用于721和1155代币
> symbol String 交易代币的符号
> tokenContractAddress String 交易代币的合约地址

查询指定区块代币供应量

查询代币在指定区块高度的历史供应量。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/token/supply-history

请求示例

GET /api/v5/explorer/token/supply-history?chainShortName=polygon_zkevm&tokenContractAddress=0x1e4a5963abfd975d8c9021ce480b42188849d41d&height=946117

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
tokenContractAddress String 代币合约地址
height String 区块高度

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "supply": "2495333.838249"
        }
    ]
}

返回参数

参数名 类型 描述
supply String 代币在该区块的供应量

查询代币交易统计

获取某代币最近 24 小时交易金额最多的地址,及这些地址对于该代币的交易笔数、交易数量和交易金额,最多返回 10,000 个地址数据。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/token/transaction-stats

请求示例

GET /api/v5/explorer/token/transaction-stats?chainShortName=eth&tokenContractAddress=0xae7ab96520de3a18e5e111b5eaab095312d7fe84

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
tokenContractAddress String 代币合约地址
orderBy String 按照不同指标降序返回,支持 buyCount、buyAmount、buyValueUsd、sellCount、sellAmount、sellValueUsd、txnCount、txnAmount、txnValueUsd
默认按 24h交易金额 txnValueUsd 从高到低返回
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "252",
            "transactionAddressList": [
                {
                    "address": "0xce96ae6de784181d8eb2639f1e347fd40b4fd403",
                    "buyCount": "1",
                    "buyAmount": "6358.000330039933",
                    "sellCount": "0",
                    "sellAmount": "0",
                    "txnCount": "1",
                    "txnAmount": "6358.000330039933",
                    "buyValueUsd": "20927505.05462761",
                    "sellValueUsd": "0",
                    "txnValueUsd": "20927505.05462761"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionAddressList Array 近 24 小时对于该代币有交易的地址列表
> address String 交易该代币的地址
> buyCount String 该地址最近 24 小时在 DEX 上对于该代币的买入笔数
> buyAmount String 该地址最近 24 小时在 DEX 上对于该代币的买入数量
> buyValueUsd String 该地址最近 24 小时在 DEX 上对于该代币的买入金额,单位为USD
> sellCount String 该地址最近 24 小时在 DEX 上对于该代币的卖出笔数
> sellAmount String 该地址最近 24 小时在 DEX 上对于该代币的卖出数量
> sellValueUsd String 该地址最近 24 小时在 DEX 上对于该代币的卖出金额,单位为USD
> txnCount String 该地址最近 24 小时在 DEX 上对于该代币的交易笔数
> txnAmount String 该地址最近 24 小时在 DEX 上对于该代币的交易数量
> txnValueUsd String 该地址最近 24 小时在 DEX 上对于该代币的交易金额,单位为USD

日志数据

日志数据功能模块的接口,可根据区块和地址、地址和 topic、地址、交易不同维度查询事件日志数据。

查询指定区块和地址事件日志

根据区块高度和地址查询交易事件日志,仅返回近 1000 个结果。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/log/by-block-and-address

请求示例

GET /api/v5/explorer/log/by-block-and-address?chainShortName=ETH&startBlockHeight=18827085&endBlockHeight=18827085&address=0xa2e3356610840701bdf5611a53974510ae27e2e1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
startBlockHeight String 开始查询的区块高度
endBlockHeight String 结束查询的区块高度
address String 触发事件日志的智能合约的地址

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "height": "18827085",
            "address": "0xa2e3356610840701bdf5611a53974510ae27e2e1",
            "topics": [
                "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                "0x00000000000000000000000000000000003b3cc22af3ae1eac0440bcee416b40",
                "0x000000000000000000000000402b2bceb1415f48b413752cc0e27d76ff34ddeb"
            ],
            "data": "0x00000000000000000000000000000000000000000000000a8f4e545c96c74dfd",
            "methodId": "0x04b7962c",
            "blockHash": "0xdbeab8d3ffb13f4dd738940388349c7cbf062d98da40f90066d9d59d794a9bff",
            "transactionTime": "1703074871000",
            "logIndex": "10",
            "txId": "0xda476a00e3a22360ef8fdd1be6cfe9da1b97dc0af086ce9229ffefa24fae31d9"
        }
    ]
}

返回参数

参数名 类型 描述
height String 区块高度
address String 触发事件日志的智能合约的地址
topics Array 事件日志的topic
data String 事件的非索引参数
blockHash String 区块哈希
methodId String 调用方法
transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
logIndex String 事件日志在区块中的位置索引
txId String 交易哈希

查询指定地址和 topic 事件日志

根据地址和 topic0 查询交易事件日志,仅返回近 1000 个结果。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/log/by-address-and-topic

请求示例

GET /api/v5/explorer/log/by-address-and-topic?chainShortName=ETH&address=0xa2e3356610840701bdf5611a53974510ae27e2e1&topic0=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 触发事件日志的智能合约的地址
topic0 String 事件日志的topic0

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "height": "18833017",
            "address": "0xa2e3356610840701bdf5611a53974510ae27e2e1",
            "topics": [
                "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                "0x00000000000000000000000028c6c06298d514db089934071355e5743bf21d60",
                "0x000000000000000000000000dfd5293d8e347dfe59e90efd55b2956a1343963d"
            ],
            "data": "0x0000000000000000000000000000000000000000000000bd2ef60c424bcf1800",
            "methodId": "0xa9059cbb",
            "blockHash": "0x0eb5945712b307f1c10634f05c4cb729ce9d1e8e7a7038d9344189fe809e7ba3",
            "transactionTime": "1703146835000",
            "logIndex": "47",
            "txId": "0x3cb42772c569c05ed3b1a60d8a9a1ea8627f0f2d21705b98f4126c599b9249a2"
        }
    ]
}

返回参数

参数名 类型 描述
height String 区块高度
address String 触发事件日志的智能合约的地址
topics Array 事件日志的topic
data String 事件的非索引参数
blockHash String 区块哈希
methodId String 调用方法
transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
logIndex String 事件日志在区块中的位置索引
txId String 交易哈希

查询指定地址事件日志

根据地址查询交易事件日志,仅返回近 1000 个结果。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/log/by-address

请求示例

GET /api/v5/explorer/log/by-address?chainShortName=ETH&address=0xa2e3356610840701bdf5611a53974510ae27e2e1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 触发事件日志的智能合约的地址

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "height": "18827085",
            "address": "0xa2e3356610840701bdf5611a53974510ae27e2e1",
            "topics": [
                "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                "0x00000000000000000000000000000000003b3cc22af3ae1eac0440bcee416b40",
                "0x000000000000000000000000402b2bceb1415f48b413752cc0e27d76ff34ddeb"
            ],
            "data": "0x00000000000000000000000000000000000000000000000a8f4e545c96c74dfd",
            "methodId": "0x04b7962c",
            "blockHash": "0xdbeab8d3ffb13f4dd738940388349c7cbf062d98da40f90066d9d59d794a9bff",
            "transactionTime": "1703074871000",
            "logIndex": "10",
            "txId": "0xda476a00e3a22360ef8fdd1be6cfe9da1b97dc0af086ce9229ffefa24fae31d9"
        }
    ]
}

返回参数

参数名 类型 描述
height String 区块高度
address String 触发事件日志的智能合约的地址
topics Array 事件日志的topic
data String 事件的非索引参数
blockHash String 区块哈希
methodId String 调用方法
transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
logIndex String 事件日志在区块中的位置索引
txId String 交易哈希

查询指定哈希事件日志

根据交易哈希查询交易事件日志,仅返回近 1000 个结果。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/log/by-transaction

请求示例

GET /api/v5/explorer/log/by-transaction?chainShortName=ETH&txId=0x74e2d0404b073d043d5c9aac574fe6b354ca92c43bebfdb169e5136f4ff4393e

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
txId String 交易哈希

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "height": "18827085",
            "address": "0xa2e3356610840701bdf5611a53974510ae27e2e1",
            "topics": [
                "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                "0x00000000000000000000000000000000003b3cc22af3ae1eac0440bcee416b40",
                "0x000000000000000000000000402b2bceb1415f48b413752cc0e27d76ff34ddeb"
            ],
            "data": "0x00000000000000000000000000000000000000000000000a8f4e545c96c74dfd",
            "methodId": "0x04b7962c",
            "blockHash": "0xdbeab8d3ffb13f4dd738940388349c7cbf062d98da40f90066d9d59d794a9bff",
            "transactionTime": "1703074871000",
            "logIndex": "10",
            "txId": "0xda476a00e3a22360ef8fdd1be6cfe9da1b97dc0af086ce9229ffefa24fae31d9"
        }
    ]
}

返回参数

参数名 类型 描述
height String 区块高度
address String 触发事件日志的智能合约的地址
topics Array 事件日志的topic
data String 事件的非索引参数
blockHash String 区块哈希
methodId String 调用方法
transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
logIndex String 事件日志在区块中的位置索引
txId String 交易哈希

统计数据

支持查询不同公链的历史每日链上统计数据、区块统计数据、gas 统计数据

查询指定链统计数据

可查询某条公链的每日新增地址数、总交易笔数、合约调用总数、交易手续费和网络利用率。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/blockchain/stats

请求示例

GET /api/v5/explorer/blockchain/stats?chainShortName=eth

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
startTime String 查询晚于该日期的数据,Unix时间戳的毫秒数格式,如 1597026383085
endTime String 查询早于该日期的数据,Unix时间戳的毫秒数格式,如 1597026383085
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "3110",
            "statsHistoryList": [
                {
                    "time": "1706832000000",
                    "newAddressCount": "104106",
                    "totalTransactionCount": "1108185",
                    "totalContractCalls": "5065734",
                    "transactionFee": "2657.1239669484817",
                    "networkUtilization": "0.5048832665557917"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 每一页返回的最大条数
totalPage String 总共多少页
statsHistoryList Array 历史统计数据列表
> time String 日期,以天为维度;Unix时间戳的毫秒数格式,如 1597026383085
> newAddressCount String 每日新增地址数
> totalTransactionCount String 每日总交易笔数
> totalContractCalls String 每日链上所有智能合约被调用的次数总和
> transactionFee String 每日支付给验证者的交易手续费总和,单位为本链币
> networkUtilization String 每日网络利用率,为每日总gas消耗/每日总gas 限额

查询指定链区块统计数据

可查询某条公链的每日出块数量、平均区块大小、出块奖励、平均出块时间。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/block/block-stats

请求示例

GET /api/v5/explorer/block/block-stats?chainShortName=eth

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
startTime String 查询晚于该日期的数据,Unix时间戳的毫秒数格式,如 1597026383085
endTime String 查询早于该日期的数据,Unix时间戳的毫秒数格式,如 1597026383085
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "3110",
            "blockHistoryList": [
                {
                    "time": "1706832000000",
                    "blockCount": "7132",
                    "blockSize": "149949.05300056085",
                    "mineReward": "489.8858503788926",
                    "rewardSymbol": "ETH",
                    "avgBlockInterval": "12.114413909141895"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 每一页返回的最大条数
totalPage String 总共多少页
blockHistoryList Array 区块历史统计数据
> time String 日期,以天为维度;Unix时间戳的毫秒数格式,如 1597026383085
> blockCount String 每日总出块数量
> blockSize String 每日平均区块大小,单位为bytes
> mineReward String 每日总区块奖励
> rewardSymbol String 每日总区块奖励的单位
> avgBlockInterval String 每日平均出块时间,单位为s

查询指定链 Gas 统计数据

可查询某条公链的每日平均gas限额、消耗的gas总额、平均gas价格、最大gas价格、最小gas价格。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/gas/stats

请求示例

GET /api/v5/explorer/gas/stats?chainShortName=eth

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
startTime String 查询晚于该日期的数据,Unix时间戳的毫秒数格式,如 1597026383085
endTime String 查询早于该日期的数据,Unix时间戳的毫秒数格式,如 1597026383085
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "3110",
            "gasHistoryList": [
                {
                    "time": "1721606400000",
                    "avgGasLimit": "1125899906842624",
                    "totalGasUsed": "4047005807",
                    "avgGasPrice": "5949180624",
                    "maxGasPrice": "25680000000",
                    "minGasPrice": "0",
                    "price": "41.18"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 每一页返回的最大条数
totalPage String 总共多少页
gasHistoryList Array gas历史统计数据
> time String 日期,以天为维度;Unix时间戳的毫秒数格式,如 1597026383085
> avgGasLimit String 每日平均gas限额,为当日所有区块的gas limit平均值
> totalGasUsed String 每日gas消耗总量
> avgGasPrice String 每日平均gas价格,单位为wei
> maxGasPrice String 每日最大gas价格,单位为wei
> minGasPrice String 每日最小gas价格,单位为wei
> price String 本链的Gas代币的价格

UTXO 特有数据

获取 BTC、BCH、LTC、DASH、DOGE 链地址的未花费交易。

查询地址剩余UTXO

获取地址剩余的每笔UTXO明细,支持UTXO模型的链。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/utxo

请求示例

GET /api/v5/explorer/address/utxo?chainShortName=btc&address=bc1ql49ydapnjafl5t2cp9zqpjwe6pdgmxy98859v2&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的50条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "172",
            "utxoList": [
                {
                    "txid": "d11638ea2cf68c4b49c1d97ef681a9e7e4658ba6cb7290dd73d476db371b9037",
                    "height": "796599",
                    "blockTime": "1688150365",
                    "address": "bc1ql49ydapnjafl5t2cp9zqpjwe6pdgmxy98859v2",
                    "unspentAmount": "0.0003",
                    "index": "0"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
utxoList Array 剩余的UTXO列表
> txid String 交易哈希
> height String 交易发生的区块
> blockTime String 出块时间,Unix时间戳的毫秒数格式
> address String 地址
> unspentAmount String 该笔交易未花费的交易输出(找零)
> index String 该笔交易交易在区块里的位置索引

BRC-20 数据

BRC20数据支持BRC20代币余额查询,转账列表查询、代币详情信息、持币地址列表等查询服务,数据实时更新,为用户提供最全面,最实时的BRC20链上数据查询服务。

查询 Inscriptions 列表

获取BTC链的 inscriptions 列表

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/btc/inscriptions-list

请求示例

GET /api/v5/explorer/btc/inscriptions-list

请求参数

参数名 类型 是否必须 描述
token String 代币名称,等于 tick
inscriptionId String inscription ID
inscriptionNumber String 铭文编号
state String 铭文状态:success、fail,默认返回success
page String 页码
limit String 返回条数,默认返回最近的20条,最多50条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "totalInscription": "31126135",
            "inscriptionsList": [
                {
                    "inscriptionId": "92780ef845a5190a1027724c24b5adbe6713abdaa43c5f273ff8a87d41f6cc8ci0",
                    "inscriptionNumber": "9999999",
                    "location": "92780ef845a5190a1027724c24b5adbe6713abdaa43c5f273ff8a87d41f6cc8c:0:0",
                    "token": "10MM",
                    "state": "success",
                    "msg": "",
                    "tokenType": "BRC20",
                    "actionType": "mint",
                    "logoUrl": "",
                    "ownerAddress": "bc1p53rrfs7l3fdyd60wzsk9gphnjm6y9hr4vhfrp207tsltyxjatfqqj9ly8k",
                    "txId": "92780ef845a5190a1027724c24b5adbe6713abdaa43c5f273ff8a87d41f6cc8c",
                    "blockHeight": "792013",
                    "contentSize": "",
                    "time": "1685401405000"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
totalInscription String inscription 总量
inscriptionsList Array inscription 列表
> inscriptionId String 铭文的ID
> inscriptionNumber String 铭文编号
> location String Location,格式为:txid:vout:offset
> token String 代币名称,tick
> state String 铭文状态:success、fail
> msg String 交易提示,失败的时候为错误原因,其他为提示信息
> tokenType String 铭文的类型,BRC20
> actionType String 交易类型:deploy、mint、inscribeTransfer、transfer
> logoUrl String 铭文的logo URL
> ownerAddress String 铭文的所有者地址
> txId String 与铭文相关的最新交易hash
> blockHeight String 与铭文相关的最新交易区块高度
> contentSize String 储存信息所占的大小,单位:Bytes
> time String 铭文创建时间

查询 BRC-20 代币列表

获取BTC链的BRC20代币列表

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/btc/token-list

请求示例

GET /api/v5/explorer/btc/token-list

请求参数

参数名 类型 是否必须 描述
token String 代币名称,等于 tick
orderBy String deployTimeAsc:按部署时间从远到近返回
deployTimeDesc:按部署时间从近到远返回
默认为deployTimeAsc
page String 页码
limit String 返回条数,默认返回最近的20条,最多50条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "tokenList": [
                {
                    "token": "ordi",
                    "deployTime": "1678248991000",
                    "inscriptionId": "b61b0172d95e266c18aea0c624db987e971a5d6d4ebc2aaed85da4642d635735i0",
                    "inscriptionNumber": "348020",
                    "totalSupply": "21000000",
                    "mintAmount": "21000000",
                    "transactionCount": "484169",
                    "holder": "13080",
                    "mintRate": "1"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
tokenList Array 代币列表
> token String 代币名称,等于tick
> deployTime String 部署时间
> inscriptionId String 铭文的ID
> inscriptionNumber String 铭文编号
> totalSupply String 总供应量
> mintAmount String 已经铸造数量
> transactionCount String 总交易次数
> holder String 持有代币地址数
> mintRate String mint 比例,以小数展示,例如:0.9543 ;保留小数点后四位

查询 BRC-20 代币详情

获取代币详细信息,包括持有人地址数、已铸造数量等。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/btc/token-details

请求示例

GET /api/v5/explorer/btc/token-details?token=sats

请求参数

参数名 类型 是否必须 描述
token String 代币名称,等于tick

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "token": "sats",
            "precision": "18",
            "totalSupply": "2100000000000000",
            "mintAmount": "2100000000000000",
            "limitPerMint": "100000000",
            "holder": "35825",
            "deployAddress": "bc1prtawdt82wfgrujx6d0heu0smxt4yykq440t447wan88csf3mc7csm3ulcn",
            "logoUrl": "https://static.oklink.com/cdn/web3/currency/token/btc-sats-9b664bdd6f5ed80d8d88957b63364c41f3ad4efb8eee11366aa16435974d9333i0.png/type=png_350_0",
            "txId": "9b664bdd6f5ed80d8d88957b63364c41f3ad4efb8eee11366aa16435974d9333",
            "inscriptionId": "9b664bdd6f5ed80d8d88957b63364c41f3ad4efb8eee11366aa16435974d9333i0",
            "deployHeight": "779971",
            "deployTime": "1678339934000",
            "inscriptionNumber": "357097",
            "state": "success",
            "tokenType": "BRC20",
            "msg": ""
        }
    ]
}

返回参数

参数名 类型 描述
token String 代币名称,等于tick
precision String 数量的精度位
totalSupply String 总铸造数量
mintAmount String 已经铸造数量
limitPerMint String 每次最大铸造数量
holder String 持有代币地址数
deployAddress String 铸造者地址
logoUrl String 代币的logo
txId String 铸造的交易哈希
inscriptionId String 铭文的ID
deployHeight String 部署区块高度
deployTime String 部署时间
inscriptionNumber String 铭文编号
state String 铭文状态:success、fail
tokenType String 铭文的类型,BRC20
msg String 原因

查询 BRC-20 代币持仓地址列表

获取代币持仓地址列表,查看代币分布详情。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/btc/position-list

请求示例

GET /api/v5/explorer/btc/position-list?token=sats&limit=2

请求参数

参数名 类型 是否必须 描述
token String 代币名称,tick
page String 页码
limit String 返回条数,默认返回最近的20条,最多50条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "2",
            "totalPage": "5000",
            "positionList": [
                {
                    "holderAddress": "bc1plff0sqm6ym55eak9vjljghd55h7hkheg22c84w55w646l857elqsfzmfdv",
                    "amount": "31740686608926",
                    "rank": "1"
                },
                {
                    "holderAddress": "bc1pun3whtlzac75f2vcznxmpfc09dnzyp0luw8tpfwc7wrruwav30pqsu6l9u",
                    "amount": "22651199774504",
                    "rank": "2"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
positionList Array 代币持仓的地址列表
> holderAddress String 持仓地址
> amount String 持仓数量
> rank String 持仓量排名

查询 BRC-20 代币转账列表

根据地址、交易hash、区块高度 查询转账列表。不提供pending交易的数据 。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/btc/transaction-list

请求示例

GET /api/v5/explorer/btc/transaction-list

请求参数

参数名 类型 是否必须 描述
address String BTC 的地址
token String 代币名称,等于tick
inscriptionNumber String 铭文编号
actionType String 交易类型:deploy、mint、inscribeTransfer、transfer
toAddress String 接收方地址
fromAddress String 发送方地址
txId String 交易Hash
blockHeight String 区块高度
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "totalTransaction": "31124061",
            "inscriptionsList": [
                {
                    "txId": "af6bb18c64c57296ae07b8f4b1857c655160402a8d332fdb523915d7887476e2",
                    "blockHeight": "812873",
                    "state": "fail",
                    "tokenType": "BRC20",
                    "actionType": "mint",
                    "fromAddress": "",
                    "toAddress": "bc1qx2l6pzt7aknazsgdnvf5vnhp8ezx38ykg2wvfz",
                    "amount": "",
                    "token": "$ORC",
                    "inscriptionId": "af6bb18c64c57296ae07b8f4b1857c655160402a8d332fdb523915d7887476e2i0",
                    "inscriptionNumber": "35346117",
                    "index": "0",
                    "location": "af6bb18c64c57296ae07b8f4b1857c655160402a8d332fdb523915d7887476e2:0:0",
                    "msg": "tick: $ORC has been minted",
                    "time": "1697695573000"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
totalTransaction String 总转账次数
transactionList Array 交易列表
> txid String 交易哈希
> blockHeight String 区块高度
> state String 铭文状态:success、fail
> tokenType String 铭文的类型,BRC20
> actionType String 交易类型:deploy、mint、inscribeTransfer、transfer
> fromAddress String 发送方地址
> toAddress String 接收方地址
> amount String 转账数量
> index String vout的index;类型为coinbase时,该字段没有数值
> location String location,格式为txid:vout:offset ;类型为coinbase时,该字段没有数值
> token String 代币名称,等于tick
> inscriptionId String 铭文的ID
> inscriptionNumber String 铭文编号
> msg String 交易提示,失败的时候为错误原因,其他为提示信息
> time String 交易时间

查询地址 BRC-20 代币余额列表

查询指定地址持有的BRC20代币余额、可转余额、可用余额。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/btc/address-balance-list

请求示例

GET /api/v5/explorer/btc/address-balance-list?address=bc1ph0057nc25ka94z8ydg43j8tnnp38u3hxpadutnt4n3jyfrmjzmcqw99mk2

请求参数

参数名 类型 是否必须 描述
address String BTC链地址
token String 代币名称,等于 tick
page String 页码
limit String 返回条数,默认返回最近的20条,最多50条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "12",
            "balanceList": [
                {
                    "token": "sats",
                    "tokenType": "BRC20",
                    "balance": "1350000000000",
                    "availableBalance": "1350000000000",
                    "transferBalance": "0"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
balanceList Array 地址持有的代币余额列表
> token String 代币名称,等于tick
> tokenType String 铭文的类型。BRC20
> balance String 余额
> availableBalance String 可用余额;可用余额 = 钱包中的总额 - 可转让余额
> transferBalance String 可转让余额

查询地址 BRC-20 代币余额详情

查询某地址的某个代币可转余额明细列表

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/btc/address-balance-details

请求示例

GET /api/v5/explorer/btc/address-balance-details?address=bc1ph0057nc25ka94z8ydg43j8tnnp38u3hxpadutnt4n3jyfrmjzmcqw99mk2&token=meme

请求参数

参数名 类型 是否必须 描述
address String BTC链地址
token String 代币名称,等于 tick
page String 页码
limit String 返回条数,默认返回最近的20条,最多50条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "6",
            "token": "meme",
            "tokenType": "BRC20",
            "balance": "18",
            "availableBalance": "0",
            "transferBalance": "18",
            "transferBalanceList": [
                {
                    "inscriptionId": "a1002519472f9a1d45db5a3df30ea521ecd5425e546a63a79f3a4a9ff4e6e582i0",
                    "inscriptionNumber": "4615101",
                    "amount": "3"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
token String 代币名称,等于tick
tokenType String 铭文的类型,BRC20
balance String 余额
availableBalance String 可用余额;可用余额 = 钱包中的总额 - 可转让余额
transferBalance String 可转让余额
transferBalanceList Array 可转让余额列表
> inscriptionId String inscription Id
> inscriptionNumber String inscription 编号
> amount String 数量

查询 BTC 链交易统计

获取公链每日交易笔数,以及不同类型交易的笔数。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/utxo/transaction-stats

请求示例

GET /api/v5/explorer/utxo/transaction-stats?limit=2&chainShortName=btc

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
startTime String 查询晚于该日期的数据,Unix时间戳的毫秒数格式,如 1597026383085
endTime String 查询早于该日期的数据,Unix时间戳的毫秒数格式,如 1597026383085
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "2",
            "totalPage": "2805",
            "transactionHistoryList": [
                {
                    "time": "1715616000000",
                    "totalTransactionCount": "480918",
                    "normalTransactionCount": "454299",
                    "atomicalsTransactionCount": "1888",
                    "stampTransactionCount": "859",
                    "ordinalsTransactionCount": "23884"
                },
                {
                    "time": "1715529600000",
                    "totalTransactionCount": "596134",
                    "normalTransactionCount": "573757",
                    "atomicalsTransactionCount": "2478",
                    "stampTransactionCount": "739",
                    "ordinalsTransactionCount": "63338"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 每一页返回的最大条数
totalPage String 总共多少页
transactionHistoryList Array 交易历史统计数据
> time String 日期,以天为维度;Unix时间戳的毫秒数格式,如 1597026383085
> totalTransactionCount String 每日总交易笔数
> normalTransactionCount String 每日普通交易笔数
> atomicalsTransactionCount String 每日 Atomicals 协议交易笔数
> stampTransactionCount String 每日 Stamp 协议交易笔数
> ordinalsTransactionCount String 每日 Ordinals 协议交易笔数

查询矿工收入统计数据

获取公链每日区块奖励和手续费数据。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/utxo/revenue-stats

请求示例

GET /api/v5/explorer/utxo/revenue-stats?limit=2&chainShortName=btc

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
startTime String 查询晚于该日期的数据,Unix时间戳的毫秒数格式,如 1597026383085
endTime String 查询早于该日期的数据,Unix时间戳的毫秒数格式,如 1597026383085
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "2",
            "totalPage": "2806",
            "revenueHistoryList": [
                {
                    "time": "1715702400000",
                    "blockReward": "181.25",
                    "transactionFee": "9.6476646"
                },
                {
                    "time": "1715616000000",
                    "blockReward": "440.625",
                    "transactionFee": "24.94226618"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 每一页返回的最大条数
totalPage String 总共多少页
revenueHistoryList Array 矿工收入历史统计数据
> time String 日期,以天为维度;Unix时间戳的毫秒数格式,如 1597026383085
> blockReward String 每日区块奖励总和,单位为本链币
> transactionFee String 每日交易手续费总和,单位为本链币

基于BTC内存池计算出的建议手续费。

每次调用消耗 1点

HTTP请求

GET /api/v5/explorer/utxo/recommended-fee

请求示例

GET /api/v5/explorer/utxo/recommended-fee?chainShortName=btc

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "rapidFeeSats": "30.88",
            "rapidFeeUsd": "1.94",
            "rapidConfirmationTime": "1728713370000",
            "standardFeeSats": "19.1",
            "standardFeeUsd": "1.2",
            "standardConfirmationTime": "1728714450000",
            "slowFeeSats": "2",
            "slowFeeUsd": "0.13",
            "slowConfirmationTime": "1728718134000",
            "fastFeeSats": "26.84",
            "fastFeeUsd": "1.68",
            "fastConfirmationTime": "1728713919000"
        }
    ]
}

返回参数

参数名 类型 描述
rapidFeeSats String 极速交易手续费 ,单位:聪/vB
rapidFeeUsd String 极速交易手续费 折算为美元的价值,单位为USD
rapidConfirmTime String 极速交易手续费,预计交易区块确认时间
standardFeeSats String 一般交易手续费 ,单位:聪/vB
standardFeeUsd String 一般交易手续费 折算为美元的价值,单位为USD
standardConfirmTime String 一般交易手续费,预计交易区块确认时间
slowFeeSats String 缓慢交易手续费 ,单位:聪/vB
slowFeeUsd String 缓慢交易手续费 折算为美元的价值,单位为USD
slowConfirmTime String 缓慢交易手续费,预计交易区块确认时间
fastFeeSats String 快速交易手续费 ,单位:聪/vB
fastFeeUsd String 快速极速交易手续费 折算为美元的价值,单位为USD
fastConfirmTime String fast交易手续费,预计交易区块确认时间

BTC 铭文数据

获取 BTC 和 Fractal Bitcoin 链的 Runes、BRC-20、SRC-20、ARC-20、Ordinals NFT、CAT-20 铭文代币数据、地址持仓数据、铭文交易明细。

查询铭文代币列表

获取 BTC 和 Fractal Bitcoin 链的 Runes、BRC-20、SRC-20、ARC-20、Ordinals NFT、CAT-20 铭文代币数据、地址持仓数据、铭文交易明细。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/inscription/token-list

请求示例

GET api/v5/explorer/inscription/token-list?chainShortName=btc&protocolType=runes&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
protocolType String 铭文代币协议类型
Runes符文:runes
BRC-20代币:brc20
SRC-20代币:src20
ARC-20代币:arc20
Ordinals NFT:ordinals_nft
CAT-20代币: cat20
tokenInscriptionId String 铭文代币的铭文ID
对于Runes符文,填写Rune ID
对于BRC-20代币,填写代币的Inscription ID
对于ARC-20代币,填写代币的Atomical ID
对于CAT-20代币,填写tokenid
symbol String 对于SRC-20代币,填写代币名称
对于Ordinals NFT
对于CAT-20代币,填写代币名称,填写项目名称,注意需区分大小写
projectId String 对于Ordinals NFT,不同项目名称可能重复,可通过OKLink BTC浏览器中的url查看项目唯一ID,如1452128(https://www.oklink.com/cn/btc/token/nft/1452128);若不填写该字段,则默认返回总交易次数更多的项目数据
该字段仅适用于Ordinals NFT
startTime String 查询发行时间晚于该时间的代币,Unix时间戳的毫秒数格式,如 1597026383085;startTime与endTime之差最长不超过1年
该字段不适用于Ordinals NFT
endTime String 查询发行时间早于该时间的代币,Unix时间戳的毫秒数格式,如 1597026383085;startTime与endTime之差最长不超过1年
该字段不适用于Ordinals NFT
orderBy String deployTimeAsc:按部署时间从远到近返回
deployTimeDesc :按部署时间从近到远返回
transactionCountAsc:按总交易笔数从少到多返回
transactionCountDesc:按总交易笔数从多到少返回
默认为deployTimeAsc
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "tokenList": [
                {
                    "symbol": "UNCOMMON•GOODS",
                    "tokenInscriptionId": "1:0",
                    "protocolType": "RUNES",
                    "totalSupply": "3362172",
                    "mintAmount": "3362172",
                    "deployTime": "0",
                    "holder": "40851",
                    "transactionCount": "3374587",
                    "circulatingSupply": "3362067",
                    "mintBitwork": "",
                    "limitPerMint": "1",
                    "runesSymbol": "⧉",
                    "divisibility": "0",
                    "mintStatus": "mintable",
                    "premint": "0",
                    "burn": "135",
                    "mintStartBlock": "840000",
                    "mintEndBlock": "1050000",
                    "mintCap": "340282366920938463463374607431768211455"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
tokenList Array 代币列表
> symbol String 代币名称
> tokenInscriptionId String 铭文代币的铭文ID
对于Runes符文,返回Rune ID
对于BRC-20代币,返回代币的Inscription ID
对于ARC-20代币,返回代币的Atomical ID
对于CAT-20代币,填写tokenid
其他铭文代币该字段返回空
> protocolType String 铭文代币协议类型
> totalSupply String 最大供应量
> mintAmount String 已经铸造数量
> deployTime String 代币部署日期
该字段不适用于Ordinals NFT
> holder String 持有代币地址数
> transactionCount String 总交易次数
> circulatingSupply String 流通量,仅适用于ARC-20代币和Runes代币
> mintBitwork String Bitwork挖矿难度,仅适用于部分ARC-20代币
> limitPerMint String 单次mint上限,仅适用于Runes代币
> runesSymbol String Runes符文的symbol,仅适用于Runes代币
> divisibility String 可分割性,即代币精度,仅适用于Runes代币
> mintStatus String 铸造状态,包括no mintable 不可铸造,mintable 可铸造
> premint String 预挖数量,仅适用于Runes代币
> burn String 销毁量,仅适用于Runes代币
> mintStartBlock String 开始铸造的区块高度,仅适用于Runes代币
> mintEndBlock String 结束铸造的区块高度,仅适用于Runes代币
> mintCap String 最大可铸造总次数,仅适用于Runes代币

查询铭文代币持仓地址列表

查询铭文代币的持仓地址列表,默认按照持仓数量由多到少返回,最多返回10000条数据,支持BTC 和 Fractal Bitcoin链的 Runes、BRC-20、SRC-20、ARC-20、Ordinals NFT 、CAT-20。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/inscription/token-position-list

请求示例

GET api/v5/explorer/inscription/token-position-list?chainShortName=btc&protocolType=brc20&tokenInscriptionId=b61b0172d95e266c18aea0c624db987e971a5d6d4ebc2aaed85da4642d635735i0&limit=3

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
protocolType String 铭文代币协议类型
Runes符文:runes
BRC-20代币:brc20
SRC-20代币:src20
ARC-20代币:arc20
Ordinals NFT:ordinals_nft
CAT-20代币: cat20
tokenInscriptionId String 铭文代币的铭文ID
对于Runes符文,填写Rune ID
对于BRC-20代币,填写代币的Inscription ID
对于ARC-20代币,填写代币的Atomical ID
对于CAT-20代币,填写tokenid
symbol String protocolType为SRC20、Ordinals NFT时必填 对于SRC-20代币,填写代币名称
对于Ordinals NFT,填写项目名称,注意需区分大小写
projectId String 对于Ordinals NFT,不同项目名称可能重复,可通过OKLink BTC浏览器中的url查看项目唯一ID,如1452128(https://www.oklink.com/cn/btc/token/nft/1452128);若不填写该字段,则默认返回总交易次数更多的项目数据
该字段仅适用于Ordinals NFT
holderAddress String 持仓地址
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "3",
            "totalPage": "3334",
            "positionList": [
                {
                    "holderAddress": "bc1qhuv3dhpnm0wktasd3v0kt6e4aqfqsd0uhfdu7d",
                    "amount": "8704276.68038247",
                    "rank": "1"
                },
                {
                    "holderAddress": "bc1qggf48ykykz996uv5vsp5p9m9zwetzq9run6s64hm6uqfn33nhq0ql9t85q",
                    "amount": "1675781.3938851",
                    "rank": "2"
                },
                {
                    "holderAddress": "bc1qm64dsdz853ntzwleqsrdt5p53w75zfrtnmyzcx",
                    "amount": "1121981.97971559",
                    "rank": "3"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
positionList Array 持仓列表
> holderAddress String 持仓地址
> amount String 持仓数量
> rank String 持仓量排名

查询铭文代币转账列表

查询铭文代币转账列表,按照交易时间由近到远返回,最多返回10000条数据,支持BTC链的 Runes、BRC-20、SRC-20、ARC-20、Ordinals NFT

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/inscription/token-transaction-list

请求示例

GET api/v5/explorer/inscription/token-transaction-list?chainShortName=btc&protocolType=brc20&tokenInscriptionId=b61b0172d95e266c18aea0c624db987e971a5d6d4ebc2aaed85da4642d635735i0&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
protocolType String 铭文代币协议类型
Runes符文:runes
BRC-20代币:brc20
SRC-20代币:src20
ARC-20代币:arc20
Ordinals NFT:ordinals_nft
tokenInscriptionId String protocolType为BRC20、ARC20、Runes时必填 铭文代币的铭文ID
对于Runes符文,填写Rune ID
对于BRC-20代币,填写代币的Inscription ID
对于ARC-20代币,填写代币的Atomical ID
其他铭文代币无需填写该字段
symbol String protocolType为SRC20、Ordinals NFT时必填 对于SRC-20代币,填写代币名称
对于Ordinals NFT,填写项目名称,注意需区分大小写
projectId String 对于Ordinals NFT,不同项目名称可能重复,可通过OKLink BTC浏览器中的url查看项目唯一ID,如1452128(https://www.oklink.com/cn/btc/token/nft/1452128);若不填写该字段,则默认返回总交易次数更多的项目数据
该字段仅适用于Ordinals NFT
startTime String 查询交易时间晚于该时间的代币交易,Unix时间戳的毫秒数格式,如 1597026383085;startTime与endTime之差最长不超过1年
endTime String 查询交易时早于该时间的代币交易,Unix时间戳的毫秒数格式,如 1597026383085;startTime与endTime之差最长不超过1年
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "totalTransfer": "269839",
            "transactionList": [
                {
                    "txId": "0cf990907ef51eb0607f7fc6bb81809137d5750f4b64de9a8fc7917770bd1ad5",
                    "blockHash": "00000000000000000000256813d252f532a57f5473f2e723d8c7483a7df4d42f",
                    "height": "832486",
                    "transactionTime": "1709177741000",
                    "from": "",
                    "to": "bc1pqjwg8673seyk0t8jtz9j9g78uddps3cppd6nmnvjpp42sn22fqkqy8h700",
                    "amount": "141",
                    "symbol": "ordi",
                    "action": "inscribeTransfer",
                    "tokenInscriptionId": "b61b0172d95e266c18aea0c624db987e971a5d6d4ebc2aaed85da4642d635735i0",
                    "protocolType": "BRC20",
                    "state": "success",
                    "inscriptionId": "0cf990907ef51eb0607f7fc6bb81809137d5750f4b64de9a8fc7917770bd1ad5i0",
                    "inscriptionNumber": "62753536",
                    "outputIndex":""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
totalTransfer String 代币总转账次数
transactionList Array 交易列表
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方,多个地址,逗号分隔
> to String 接收方,多个地址,逗号分隔
> amount String 交易数量
> symbol String 对于SRC-20代币,返回代币名称
> action String 交易类型:deploy、mint、inscribeTransfer、transfer
> tokenInscriptionId String 铭文代币的铭文ID
对于Runes符文,返回Rune ID
对于BRC-20代币,返回代币的Inscription ID
对于ARC-20代币,返回代币的Atomical ID
其他铭文代币该字段返回空
> protocolType String 铭文代币协议类型
> state String 交易状态
成功:success
失败:fail
> inscriptionId String 交易中涉及到的铭文的ID
> inscriptionNumber String 交易中涉及到的铭文编号
> outputIndex String Runes代币转账对应的UTXO索引,仅适用于Runes代币

查询铭文列表

查询铭文列表,按照InscriptionNumber倒序排列,最多返回10000条数据,支持BTC链的BRC-20、Ordinals NFT

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/inscription/inscription-list

请求示例

GET api/v5/explorer/inscription/inscription-list?chainShortName=btc&protocolType=brc20&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
protocolType String 铭文代币协议类型
BRC-20代币:brc20
Ordinals NFT:ordinals_nft
tokenInscriptionId String 铭文代币的铭文ID
对于BRC-20代币,填写代币的Inscription ID
其他铭文代币无需填写该字段
symbol String 对于Ordinals NFT,填写项目名称,注意需区分大小写
projectId String 对于Ordinals NFT,不同项目名称可能重复,可通过OKLink BTC浏览器中的url查看项目唯一ID,如1452128(https://www.oklink.com/cn/btc/token/nft/1452128);若不填写该字段,则默认返回总交易次数更多的项目数据
该字段仅适用于Ordinals NFT
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "inscriptionList": [
                {
                    "inscriptionId": "03fbeb834260fed03f87f0a09e06339379efc5fd3d6d08cc0a87451e509c32f1i0",
                    "inscriptionNumber": "62752328",
                    "tokenInscriptionId": "b61b0172d95e266c18aea0c624db987e971a5d6d4ebc2aaed85da4642d635735i0",
                    "symbol": "ordi",
                    "state": "success",
                    "protocolType": "BRC20",
                    "action": "inscribeTransfer",
                    "ownerAddress": "bc1q6fh6ll49efsjrgcdwh7hp3cswt8faw85agghkk"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
inscriptionList Array inscription 列表
> inscriptionId String 铭文的ID
> inscriptionNumber String 铭文编号
> symbol String 代币名称
> tokenInscriptionId String 铭文代币的铭文ID
对于BRC-20代币,返回代币的Inscription ID
其他铭文代币该字段返回空
> state String 铭文状态:success、fail
> protocolType String 铭文代币协议类型
> action String 交易类型:deploy、mint、inscribeTransfer、transfer
> ownerAddress String 铭文的所有者地址

查询地址持仓铭文代币列表

查询某个地址持有的铭文代币列表,最多返回10000条数据,支持BTC和 Fractal Bitcoin链的 Runes、BRC-20、SRC-20、ARC-20、Ordinals NFT、CAT-20

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/inscription/address-token-list

请求示例

GET api/v5/explorer/inscription/address-token-list?chainShortName=btc&protocolType=brc20&address=bc1qhuv3dhpnm0wktasd3v0kt6e4aqfqsd0uhfdu7d&limit=2

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
protocolType String 铭文代币协议类型
Runes符文:runes
BRC-20代币:brc20
SRC-20代币:src20
ARC-20代币:arc20
Ordinals NFT:ordinals_nft
CAT-20代币: cat20
tokenInscriptionId String 铭文代币的铭文ID
对于Runes符文,填写Rune ID
对于BRC-20代币,填写代币的Inscription ID
对于ARC-20代币,填写代币的Atomical ID
对于CAT-20代币,填写tokenid
symbol String 对于SRC-20代币,填写代币名称
对于Ordinals NFT,填写项目名称,注意需区分大小写
对于CAT-20代币,填写代币名称
projectId String 对于Ordinals NFT,不同项目名称可能重复,可通过OKLink BTC浏览器中的url查看项目唯一ID,如1452128(https://www.oklink.com/cn/btc/token/nft/1452128);若不填写该字段,则默认返回总交易次数更多的项目数据
该字段仅适用于Ordinals NFT
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "2",
            "totalPage": "48",
            "tokenList": [
                {
                    "symbol": "GPTu",
                    "tokenInscriptionId": "b7456b7e688edea8fb814df146a83a062260b596616bfceff3ae2b9ceb8dbab2i0",
                    "holdingAmount": "8188888888888889300",
                    "inscriptionAmount": "2",
                    "availableAmount": "8188888888888889300",
                    "transferableAmount": "0",
                    "inscriptionNumber": ""
                },
                {
                    "symbol": "arkg",
                    "tokenInscriptionId": "25e7f4ca11734aa1d1d8c9d9be262b8ea8b09a660a93a826084f7b21b3b41518i0",
                    "holdingAmount": "8000000000000000000",
                    "inscriptionAmount": "2",
                    "availableAmount": "8000000000000000000",
                    "transferableAmount": "0",
                    "inscriptionNumber": ""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
tokenList Array 代币列表
> symbol String 代币名称
> tokenInscriptionId String 铭文代币的铭文ID
对于Runes符文,返回Rune ID
对于BRC-20代币,返回代币的Inscription ID
对于ARC-20代币,返回代币的Atomical ID
CAT-20代币: cat20
其他铭文代币该字段返回空
> holdingAmount String 代币持仓数量=可转余额+可用余额
> availableAmount String 可用余额;Mint 类型代币的余额为可用余额,无法直接用于转账。可通过 inscribeTransfer 将可用余额变为可转余额;仅适用于BRC-20
> transferableAmount String 可转余额;Transfer 类型代币的余额可直接用于转账;仅适用于BRC-20
> inscriptionAmount String 代币inscription数量
> inscriptionNumber String 铭文编号,仅适用于Ordinals NFT

查询地址持仓铭文列表

查询某地址持有的铭文列表,按照inscriptionNumber倒序返回,最多返回10000条数据,支持BTC链的BRC-20、Ordinals NFT

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/inscription/address-inscription-list

请求示例

GET api/v5/explorer/inscription/address-inscription-list?chainShortName=btc&protocolType=brc20&address=bc1qhuv3dhpnm0wktasd3v0kt6e4aqfqsd0uhfdu7d&limit=2

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
protocolType String 铭文代币协议类型
BRC-20代币:brc20
Ordinals NFT:ordinals_nft
tokenInscriptionId String 铭文代币的铭文ID
对于BRC-20代币,填写代币的Inscription ID
其他铭文代币无需填写该字段
symbol String 对于Ordinals NFT,填写项目名称,注意需区分大小写
projectId String 对于Ordinals NFT,不同项目名称可能重复,可通过OKLink BTC浏览器中的url查看项目唯一ID,如1452128(https://www.oklink.com/cn/btc/token/nft/1452128);若不填写该字段,则默认返回总交易次数更多的项目数据
该字段仅适用于Ordinals NFT
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "2",
            "totalPage": "2205",
            "totalInscription": "4409",
            "inscriptionList": [
                {
                    "inscriptionId": "bca21f193e5f16a3fa1207df8021a5923539175e7bab92235c8a7e6ef9cf8db7i0",
                    "tokenInscriptionId": "b61b0172d95e266c18aea0c624db987e971a5d6d4ebc2aaed85da4642d635735i0",
                    "inscriptionNumber": "62748365",
                    "symbol": "ordi",
                    "state": "success",
                    "protocolType": "BRC20",
                    "action": "inscribeTransfer"
                },
                {
                    "inscriptionId": "e5bc024b23d6e3a2cb499300b34234a625ff2c1d70fa43a28d50250efba5c7d1i0",
                    "tokenInscriptionId": "9b664bdd6f5ed80d8d88957b63364c41f3ad4efb8eee11366aa16435974d9333i0",
                    "inscriptionNumber": "62748359",
                    "symbol": "sats",
                    "state": "success",
                    "protocolType": "BRC20",
                    "action": "inscribeTransfer"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
totalInscription String inscription 总量
inscriptionList Array inscription 列表
> inscriptionId String 铭文的ID
> inscriptionNumber String 铭文编号
> symbol String 代币名称
> tokenInscriptionId String 铭文代币的铭文ID
对于BRC-20代币,返回代币的Inscription ID
其他铭文代币该字段返回空
> state String 铭文状态:success、fail
> protocolType String 铭文代币协议类型
> action String 交易类型:deploy、mint、inscribeTransfer、transfer

查询地址铭文代币转账

查询地址的铭文代币转账,按照交易时间倒序返回,最多返回10000条数据,支持BTC 和 Fractal Bitcoin 链的 Runes、BRC-20、SRC-20、ARC-20、Ordinals NFT、CAT-20

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/inscription/address-token-transaction-list

请求示例

GET api/v5/explorer/inscription/address-token-transaction-list?chainShortName=btc&protocolType=brc20&address=bc1qvwqt8vtn2k7vrjqrsct63pkfw9ufqjldmjm439&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
protocolType String 铭文代币协议类型
Runes符文:runes
BRC-20代币:brc20
SRC-20代币:src20
ARC-20代币:arc20
Ordinals NFT:ordinals_nft
CAT-20代币: cat20
tokenInscriptionId String 铭文代币的铭文ID
对于Runes符文,填写Rune ID
对于BRC-20代币,填写代币的Inscription ID
对于ARC-20代币,填写代币的Atomical ID
对于CAT-20代币,填写tokenid
symbol String 对于SRC-20代币,填写代币名称
对于Ordinals NFT,填写项目名称
对于CAT-20代币,填写代币名称 ,注意需区分大小写
projectId String 对于Ordinals NFT,不同项目名称可能重复,可通过OKLink BTC浏览器中的url查看项目唯一ID,如1452128(https://www.oklink.com/cn/btc/token/nft/1452128);若不填写该字段,则默认返回总交易次数更多的项目数据
该字段仅适用于Ordinals NFT
startTime String 查询交易时间晚于该时间的代币交易,Unix时间戳的毫秒数格式,如 1597026383085;startTime与endTime之差最长不超过1年
endTime String 查询交易时间早于该时间的代币交易,Unix时间戳的毫秒数格式,如 1597026383085;startTime与endTime之差最长不超过1年
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果


{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "71",
            "chainFullName": "Bitcoin",
            "chainShortName": "BTC",
            "totalTransfer": "71",
            "transactionList": [
                {
                    "txId": "4cf9aefbc9febf80b68376fa773849aabfdd8e3f7a5254ad11fd7ec6c32d3e89",
                    "blockHash": "000000000000000000001765a54bc80e84b856d70a77884544839256b42e9a4e",
                    "height": "832015",
                    "transactionTime": "1708885500000",
                    "from": "",
                    "to": "bc1qvwqt8vtn2k7vrjqrsct63pkfw9ufqjldmjm439",
                    "amount": "5000",
                    "symbol": "SHNT",
                    "action": "inscribeTransfer",
                    "tokenInscriptionId": "4f54d82160bf08bab83bbe89276b2fd9bed514ce843c91a796daa07bafb85239i0",
                    "protocolType": "BRC20",
                    "state": "success",
                    "inscriptionId": "4cf9aefbc9febf80b68376fa773849aabfdd8e3f7a5254ad11fd7ec6c32d3e89i0",
                    "inscriptionNumber": "62377691",
                    "outputIndex":""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
chainFullName String 公链全称,例如:Bitcoin
chainShortName String 公链缩写符号,例如:BTC
totalTransfer String 该地址对于代币的总转账次数
transactionList Array 交易列表
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方,多个地址,逗号分隔
> to String 接收方,多个地址,逗号分隔
> amount String 交易数量
> symbol String 代币名称
> action String 交易类型:deploy、mint、inscribeTransfer、transfer
> tokenInscriptionId String 铭文代币的铭文ID
对于Runes符文,返回Rune ID
对于BRC-20代币,返回代币的Inscription ID
对于ARC-20代币,返回代币的Atomical ID
CAT-20代币: cat20
其他铭文代币该字段返回空
> protocolType String 铭文代币协议类型
> state String 交易状态
成功:success
失败:fail
> inscriptionId String 交易中涉及到的铭文的ID
> inscriptionNumber String 交易中涉及到的铭文编号
> outputIndex String Runes代币转账对应的UTXO索引,仅适用于Runes代币

查询指定哈希铭文代币交易详情

根据交易哈希查询代币铭文交易明细,支持BTC链的 Runes、BRC-20、SRC-20、ARC-20、Ordinals NFT

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/inscription/transaction-detail

请求示例

GET api/v5/explorer/inscription/transaction-detail?chainShortName=btc&protocolType=brc20&txId=c29fc5f33756c572fc55152435d9314059f8639797708b39471330536b94ed0c

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
txId String 交易哈希
protocolType String 铭文代币协议类型
Runes符文:runes
BRC-20代币:brc20
SRC-20代币:src20
ARC-20代币:arc20
Ordinals NFT:ordinals_nft
CAT-20代币: cat20
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "20",
            "totalPage": "1",
            "transactionList": [
                {
                    "txId": "c29fc5f33756c572fc55152435d9314059f8639797708b39471330536b94ed0c",
                    "blockHash": "0000000000000000000159cea4e78229ccffab8ecfa94354729ee2b0c52b7a3f",
                    "height": "831823",
                    "transactionTime": "1708779611000",
                    "from": "",
                    "to": "bc1qhuv3dhpnm0wktasd3v0kt6e4aqfqsd0uhfdu7d",
                    "amount": "2198220440",
                    "action": "inscribeTransfer",
                    "tokenInscriptionId": "9b664bdd6f5ed80d8d88957b63364c41f3ad4efb8eee11366aa16435974d9333i0",
                    "protocolType": "BRC20",
                    "state": "success",
                    "inscriptionId": "c29fc5f33756c572fc55152435d9314059f8639797708b39471330536b94ed0ci0",
                    "inscriptionNumber": "62184839",
                    "symbol": "sats",
                    "outputIndex":""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 交易列表
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方,多个地址,逗号分隔
> to String 接收方,多个地址,逗号分隔
> amount String 交易数量
> symbol String 代币名称
> action String 交易类型:deploy、mint、inscribeTransfer、transfer 、burn
> tokenInscriptionId String 铭文代币的铭文ID
对于Runes符文,返回Rune ID
对于BRC-20代币,返回代币的Inscription ID
对于ARC-20代币,返回代币的Atomical ID
对于CAT-20代币,填写tokenid
其他铭文代币该字段返回空
> protocolType String 铭文代币协议类型
> state String 交易状态
成功:success
失败:fail
> inscriptionId String 交易中涉及到的铭文的ID
> inscriptionNumber String 交易中涉及到的铭文编号
> outputIndex String Runes代币转账对应的UTXO索引,仅适用于Runes代币

查询指定区块铭文代币交易详情

根据区块高度查询代币铭文交易明细,最多返回10000条数据,支持BTC和 Fractal Bitcoin链的 Runes、BRC-20、SRC-20、ARC-20、Ordinals NFT、CAT-20

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/inscription/block-token-transaction

请求示例

GET api/v5/explorer/inscription/block-token-transaction?chainShortName=btc&protocolType=brc20&height=831823&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
height String 区块高度
protocolType String 铭文代币协议类型
Runes符文:runes
BRC-20代币:brc20
SRC-20代币:src20
ARC-20代币:arc20
Ordinals NFT:ordinals_nft
CAT-20代币: cat20
txnStartIndex String 开始查询的交易index,取值范围为[0,该区块下Runes代币总转账次数-1],仅适用于Runes代币
txnEndIndex String 结束查询的交易index,取值范围为[txnStartIndex,该区块下Runes代币总转账次数-1],仅适用于Runes代币
page String 页码
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "559",
            "totalTransfer": "559",
            "transactionList": [
                {
                    "txId": "5ac740cad1c29266bf3615fc4f108c082431c7c0be74944e352edd75eed471ff",
                    "blockHash": "0000000000000000000159cea4e78229ccffab8ecfa94354729ee2b0c52b7a3f",
                    "height": "831823",
                    "from": "",
                    "to": "bc1pnad2fk3fw6q3d20mhyacdekl7wf96rpg5yqxhtchzvpwet989lpsmvuc9n",
                    "amount": "1000",
                    "action": "mint",
                    "tokenInscriptionId": "4865f05b9132f12bb09d6215f13da5a304a502a95315d0a49463d6f8c0bb7740i0",
                    "protocolType": "BRC20",
                    "state": "success",
                    "inscriptionId": "5ac740cad1c29266bf3615fc4f108c082431c7c0be74944e352edd75eed471ffi0",
                    "inscriptionNumber": "62196529",
                    "symbol": "LABS",
                    "transactionTime": "1708779611000",
                    "outputIndex":""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
totalTransfer String 代币总转账次数
注意对于Runes协议,若输入了txnStartIndex和txnEndIndex,则返回对应范围内的总转账次数;若不输入这两个参数,则返回该区块下总转账次数
transactionList Array 交易列表
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方,多个地址,逗号分隔
> to String 接收方,多个地址,逗号分隔
> amount String 交易数量
> symbol String 代币名称
> action String 交易类型:deploy、mint、inscribeTransfer、transfer 、burn
> tokenInscriptionId String 铭文代币的铭文ID
对于Runes符文,返回Rune ID
对于BRC-20代币,返回代币的Inscription ID
对于ARC-20代币,返回代币的Atomical ID
对于CAT-20代币,填写tokenid
其他铭文代币该字段返回空
> protocolType String 铭文代币协议类型
> state String 交易状态
成功:success
失败:fail
> inscriptionId String 交易中涉及到的铭文的ID
> inscriptionNumber String 交易中涉及到的铭文编号
> outputIndex String Runes代币转账对应的UTXO索引,仅适用于Runes代币

SOL 链上数据

获取 SOL链的区块维度,地址维度、交易维度的数据。

基本 数据

查询SOL链基本概览信息

查询Solana链详情

查询 Solana 链的基本信息,包括发行日期、epoch、slot、区块、交易统计数据、SOL 币供应和质押统计数据等

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/info

请求示例

GET /api/v5/explorer/solana/info

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "issueDate": "1584892800000",
            "currentEpoch": "703",
            "lastBlockHeight": "282170059",
            "lastSlotHeight": "303722427",
            "lastBlockTime": "1732619246000",
            "tps": "4221",
            "transactions": "341512487177",
            "totalValidator": "1442",
            "circulatingSupply": "474830480.56",
            "totalSupply": "589036896.16",
            "totalStaked": "387172209.7096",
            "activeStaked": "386971463.437916",
            "delinquentStaked": "200746.271684016"
        }
    ]
}

返回参数

参数名 类型 描述
issueDate String 发行日期;Unix时间戳的毫秒数格式,如 1597026383085
currentEpoch String 当前 epoch
lastBlockHeight String 最新区块高度
lastSlotHeight String 最新 slot 高度
lastBlockTime String 最新区块时间;Unix时间戳的毫秒数格式,如 1597026383085
tps String 链上每秒交易处理数量,近 100 个区块的平均值
transactions String 交易总数
totalValidator String 验证者总数
circulatingSupply String SOL 流通量
totalSupply String SOL 最大供应量
totalStaked String 总质押量
activeStaked String 活跃质押量
delinquentStaked String 拖欠质押量

地址 数据

查询SOL链区块模块数据,包括区块详情,区块交易列表,区块奖励,区块列表。

查询区块列表

获取 Solana 链的区块列表。

每次调用消耗 3 点

HTTP请求

GET /api/v5/explorer/solana/block-list

请求示例

GET /api/v5/explorer/solana/block-list?limit=1

请求参数

参数名 类型 是否必须 描述
limit String 返回条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "blockList": [
                {
                    "slotHeight": "303915909",
                    "blockHash": "HE3JsQSzMxe9fNTK7tqWuJBSrmB8FMvgGjSPhoRqvayw",
                    "rewardAmount": "0.021832613",
                    "leader": "CW9C7HBwAMgqNdXkNgFg9Ujr3edR2Ab9ymEuQnVacd1A",
                    "txCount": "1213",
                    "time": "1732703747000"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
blockList Array 区块列表
> slotHeight String slot高度
> blockHash String 区块哈希
> rewardAmount String 奖励数量
> leader String 该slot的验证者
> txCount String 交易笔数据
> time String slot时间;Unix时间戳的毫秒数格式,如 1597026383085

查询区详情

获取 Solana 链的区块明细。

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/block-fills

请求示例

GET /api/v5/explorer/solana/block-fills?slotHeight=302906322

请求参数

参数名 类型 是否必须 描述
slotHeight String 想要查询的slot

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "slotHeight": "302906322",
            "blockHeight": "281373928",
            "blockHash": "BgqvqqDeLzfQFWpnWDH8ipioL7YdkHcD2QwnaNsyfmm9",
            "previousBlockHash": "GHFL3kqV8e5aAXjmKqoau2zzFcMFSbudyXdPHvhAxXms",
            "epoch": "701",
            "time": "1732267660000",
            "totalFee": "0.090620206",
            "leader": "DRpbCBMxVnDK7maPM5tGv6MvB3v1sRMC86PZ8okm21hy",
            "reward": "0.045310103",
            "txCount": "1648"
        }
    ]
}

返回参数

参数名 类型 描述
slotHeight String slot高度
blockHeight String 区块高度
blockHash String 区块哈希
previousBlockHash String 父区块哈希
epoch String 该slot所在epoch
time String slot时间;Unix时间戳的毫秒数格式,如 1597026383085
totalFee String 该slot内所有交易的手续费之和,单位为SOL
leader String 该slot的验证者
reward String 该slot的区块奖励,单位为SOL
txCount String 交易笔数据

查询区块奖励

获取 Solana 链的区块奖励。

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/block-reward

请求示例

GET /api/v5/explorer/solana/block-reward?slotHeight=302906322

请求参数

参数名 类型 是否必须 描述
slotHeight String 想要查询的slot
limit String 返回条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "20",
            "totalPage": "1",
            "rewardList": [
                {
                    "rewardAccount": "DRpbCBMxVnDK7maPM5tGv6MvB3v1sRMC86PZ8okm21hy",
                    "rewardType": "Fee",
                    "rewardAmount": "0.045310103",
                    "postBalance": "7778.414000346"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
rewardList Array 区块奖励列表
> rewardAccount String 奖励的账户
> rewardType String 奖励类型;
Fee
Rent
Voting
Staking
> rewardAmount String 奖励数量
> postBalance String 交易后的余额

查询区块交易列表

获取 Solana 链的区块维度的交易列表。

每次调用消耗 3 点

HTTP请求

GET /api/v5/explorer/solana/block-transaction-list

请求示例

GET /api/v5/explorer/solana/block-transaction-list?slotHeight=302906322

请求参数

参数名 类型 是否必须 描述
slotHeight String 想要查询的slot
limit String 返回条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "1648",
            "transactionList": [
                {
                    "txId": "125h2NHCtrv1XVJjwbyL51SZ876Mg8Q1qL91HWfp3fgHyYqnLfEfTqGydRUwV8qyoBR3AqX1P8gx9JAv4E1oYyxu",
                    "transactionTime": "1732267660000",
                    "instruction": "vote",
                    "address": "GwHH8ciFhR8vejWCqmg8FWZUCNtubPY2esALvy5tBvji",
                    "signer": "GwHH8ciFhR8vejWCqmg8FWZUCNtubPY2esALvy5tBvji",
                    "txFee": "0.000005",
                    "state": "Success"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 区块交易列表
> txId String 交易哈希
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> instruction Array 交易指令
> address String 发生该笔交易的地址
> signer String 交易签名者,多个的话,英文逗号分隔
> txFee String 交易手续费,单位为SOL
> state String 交易状态
success:成功
fail:失败

交易 数据

查询SOL链交易明细数据

查询SOL余额变动

获取指定交易的SOL余额变动详情

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/sol-balance-change

请求示例

GET /api/v5/explorer/solana/sol-balance-change?txId=3HZ4Ked2ccfY2YSHrRzz8Phyae6huR9RBVUcWdEw6PaSSYjD6Z8SRob8SaNdPKypb7hTZUiVrbcuFbrfzU9Ax7Sd&limit=1

请求参数

参数名 类型 是否必须 描述
txId String 交易哈希
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "39",
            "solBalanceList": [
                {
                    "address": "DuvP3Uez8pScqXiR8JsWUmkfS4o3Laoib2bQ3tcwK1BQ",
                    "balanceBefore": "0.147641247",
                    "balanceAfter": "0.157331527",
                    "change": "0.009690279999999996",
                    "note": "signer,writable,fee_payer"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
solBalanceList Array 账户里的SOL币余额列表
> address String 地址
> balanceBefore String 余额变动前的金额
> balanceAfter String 余额变动后的金额
> change String 余额变动数量
> note String 地址的身份,多个以应为逗号分隔

查询代币余额变动详情

获取指定交易的代币余额变动详情

每次调用消耗 3 点

HTTP请求

GET /api/v5/explorer/solana/token-balance-change

请求示例

GET /api/v5/explorer/solana/token-balance-change?txId=3HZ4Ked2ccfY2YSHrRzz8Phyae6huR9RBVUcWdEw6PaSSYjD6Z8SRob8SaNdPKypb7hTZUiVrbcuFbrfzU9Ax7Sd&limit=1

请求参数

参数名 类型 是否必须 描述
txId String 交易哈希
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "6",
            "tokenBalanceList": [
                {
                    "tokenAddress": "HYDR4EPHJcDPcaLYUcNCtrXUdt1PnaN4MvE655pevBYp",
                    "ownerAddress": "B33fhwKoufGaARNf1KFgwAfGj1spDCtBchoKUumhypAH",
                    "balanceBefore": "54086",
                    "balanceAfter": "0",
                    "change": "-54086",
                    "token": "Hydrogen",
                    "tokenContractAddress": "DHVgJXksceQinRwP6SLTzcng9JeHoJBKN39so8RHVpMz"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
tokenBalanceList Array 账户里的代币余额列表
> tokenAddress String 代币账户
> ownerAddress String 代币账户归属的地址
> balanceBefore String 余额变动前的金额
> balanceAfter String 余额变动后的金额
> change String 余额变动数量
> token String 代币简称
> tokenContractAddress String 代币合约地址

查询交易明细

获取指定hash的交易明细数据

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/transaction-fills

请求示例

GET /api/v5/explorer/solana/transaction-fills?txId=5ZR1u5rpt7biXFAGSiesztJHNNBZPknHRor9Chn4cThpAmMWDLr1geY6JERyoSv9oUUJAPvgbHq2pogDonqJL65k

请求参数

参数名 类型 是否必须 描述
txId String 交易哈希

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "txId": "5ZR1u5rpt7biXFAGSiesztJHNNBZPknHRor9Chn4cThpAmMWDLr1geY6JERyoSv9oUUJAPvgbHq2pogDonqJL65k",
            "slotHeight": "302911339",
            "previousBlockHash": "CFZ3vgZopst3kFzauUMtNTuk8oHXYx9yU1iyJJttNWWL",
            "state": "Success",
            "errorMsg": "",
            "confirmationStatus": "Finalized",
            "transactionTime": "1732269808000",
            "signer": "AM6vdxe2PDjNWBWyGFd3p3h2yXxb5UnHvQiyahcijcyC",
            "feePayer": "AM6vdxe2PDjNWBWyGFd3p3h2yXxb5UnHvQiyahcijcyC",
            "txFee": "0.0000275",
            "transactionVersion": "0"
        }
    ]
}

返回参数

参数名 类型 描述
txId String 交易哈希
slotHeight String 交易发生的slot高度
blockHeight String 交易发生的区块高度
previousBlockHash String 最近区块哈希
state String 交易状态
Success:成功
Fail:失败
errorMsg String 如果State为fail,返回失败的msg
confirmationStatus String 确认状态
Finalized
Confirmed
Processed
transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
signer Array 交易签名者
feePayer String 交易中支付手续费的地址
txFee String 交易手续费,单位为SOL
transactionVersion String 交易版本
legacy:旧交易类型
0:新交易类型

查询SOL链交易列表

查询SOL链交易列表

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/transaction-list

请求示例

GET /api/v5/explorer/solana/transaction-list

请求参数

参数名 类型 是否必须 描述
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "transactionList": [
                {
                    "txId": "zqoXz9j9WfUKprDNuDYQNbrqWzdvitRfqDuzksc3gU2gWw6szWrD6JWLaHfbqHpVpswtCZGiqv5gLDqkeZqrews",
                    "transactionTime": "1732764864000",
                    "instruction": "",
                    "feePayer": "GQzMeEMwAR44ugoNCifTb5NdRKos1GduDUPeNh6AgV46",
                    "signer": "zqoXz9j9WfUKprDNuDYQNbrqWzdvitRfqDuzksc3gU2gWw6szWrD6JWLaHfbqHpVpswtCZGiqv5gLDqkeZqrews",
                    "txFee": "0.000005",
                    "state": "Success",
                    "slotHeight": "304055937"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 交易列表
> txId String 交易哈希
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> instruction String 交易指令
> feePayer String 交易中支付手续费的地址
> signer String 交易签名者
> txFee String 交易手续费,单位为SOL
> state String 交易状态
Success:成功 Fail:失败
> slotHeight String slot高度

查询交易行为

获取指定交易的交易行为

每次调用消耗 3 点

HTTP请求

GET /api/v5/explorer/solana/transaction-actions

请求示例

GET /api/v5/explorer/solana/transaction-actions?txId=5ZR1u5rpt7biXFAGSiesztJHNNBZPknHRor9Chn4cThpAmMWDLr1geY6JERyoSv9oUUJAPvgbHq2pogDonqJL65k

请求参数

参数名 类型 是否必须 描述
txId String 交易Hash
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "20",
            "totalPage": "1",
            "txId": "5ZR1u5rpt7biXFAGSiesztJHNNBZPknHRor9Chn4cThpAmMWDLr1geY6JERyoSv9oUUJAPvgbHq2pogDonqJL65k",
            "transactionActionList": [
                {
                    "parentIndex": "1",
                    "index": "1",
                    "action": "approve",
                    "actionOnProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
                    "state": "Success",
                    "fromOwnerAddress": "EBFRkAAfiXuZqgwadqZBvkjMC2EuARKb2U7FLK6LFjGU",
                    "fromTokenAddress": "9HFRt9jT2FGqHbRqzxQtZozRmnEyvVrvMzuNzkTccXnN",
                    "toOwnerAddress": "2U3VSuXKKp1ehjA23MEpmRBS5v3n3rpUNyRpeyGqPJBQ",
                    "toTokenAddress": "",
                    "token": "NITRO",
                    "value": "0",
                    "tokenAddress": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
                    "transactionTime": "1732269808000"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
txId String 交易哈希
transactionActionList Array 交易动作列表
> parentIndex String 此转账的父指令索引
> action String 转账的操作
transferChecked
createAccountWithSeed
initializeAccount
closeAccount
compactUpdateVotestate
transfer
createIdempotent
syncNative
getAccountDataSize
initializeImmutableOwner
initializeAccount3
> actionOnprogram String 转账操作发生在哪个系统账户上
> state String 交易状态
Success:成功 Fail:失败
> fromOwnerAddress String 转账资金来源Owner账户地址
> fromTokenAddress String 转账资金来源的Owner的Token账户地址,SOL转账该字段为“”
> toOwnerAddress String 转账资金到账Owner账户地址
> toTokenAddress String 转账资金到账的Owner的Token账户地址,SOL转账该字段为“”
> token String 代币名字简称
> tokenAddress String 代币地址
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085

账户 数据

获取SOL链的地址资产列表和地址交易列表

查询地址资产余额

获取指定地址的资产列表,包括代币和NFT的余额 列表

每次调用消耗 3 点

HTTP请求

GET /api/v5/explorer/solana/balance-list

请求示例

GET /api/v5/explorer/solana/balance-list?address=8RXYL85eGMyuUcBCMHt5owGvasySS4FYbmKTx4CqFkpe&protocolType=token

请求参数

参数名 类型 是否必须 描述
address String 地址账户
protocolType String 不同的代币类型
spl_token :token
spl_nft:nft
sol
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "22",
            "balanceList": [
                {
                    "token": "AVCT",
                    "tokenFullName": "AvocaTo",
                    "tokenAccount": "KzuXhtBE6K8MwAqz61gJDkdZ7KSGPdSTsfJnHgEaUxU",
                    "tokenAddress": "4CXQJANy5UiZSHLesLMiEHYn1wjAvZBKUk9KgUicbSca",
                    "holdingAmount": "130894",
                    "collection": "",
                    "collectionAddress": "",
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
balanceList Array 余额列表
> token String 代币名称
> tokenFullName String 代币全称
> tokenAccount String 当前地址该代币的账户地址
> tokenAddress String 代币地址
> holdingAmount String 代币持仓数量
> collection String NFT合集名称
> collectionAddress String NFT合集的地址

查询地址账户类型

查询指定地址的账户类型,例如为NORMAL,ACCOUNT。

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/account-type

请求示例

GET /api/v5/explorer/solana/account-type?address=2DiVZLibJCS5KuEnyA85CBfGCrqiAMYLj39A2tADeEK4

请求参数

参数名 类型 是否必须 描述
address String 地址账户,可批批量查询,最多10个地址,英文逗号分隔

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "address": "2DiVZLibJCS5KuEnyA85CBfGCrqiAMYLj39A2tADeEK4",
            "accountType": "account"
        }
    ]
}

返回参数

参数名 类型 描述
address String 地址
amountType String 地址类型
NORMAL("normal")
ACCOUNT("account")
INITIALIZED("initialized")
MINT("mint")
DELEGATED("delegated")
BUFFER("buffer")
PROGRAM("program")
PROGRAMDATA("programData")
VOTE("vote")
VALIDATORINFO("validatorInfo")
MULTISIGN("multisign")

查询系统账户信息

获取 Solana 链的系统账户信息

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/program-account

请求示例

GET /api/v5/explorer/solana/program-account?address=JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4

请求参数

参数名 类型 是否必须 描述
address String 地址账户

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "solBalance": "0.00114144",
            "ownerProgram": "BPFLoaderUpgradeab1e11111111111111111111111",
            "executable": false,
            "executableData": "",
            "upgradeable": true,
            "upgradeAuthority": "CvQZZ23qYDWF2RUpxYJ8y9K4skmuvYEEjH7fK58jtipQ",
            "lastDeployedSlot": "303911745",
            "rentEpoch": "18446744073709551615",
            "securityTxt": false,
            "securityTxtLink": ""
        }
    ]
}

返回参数

参数名 类型 描述
solBalance String SOL余额
ownerProgram String 所属程序
executable Bol 是否是可执行文件
false:不可执行文件
true:可执行文件
executableData String 如果executable是可true,执行数据
upgradeable Bol 是否可升级
false:不可升级
true:可升级
upgradeAuthority String 如果upgradeable是true,升级授权地址
ownerProgram String 所属程序
lastDeployedSlot String 最近一次部署时的Solt
rentEpoch String 下次需要缴纳租金的纪元
securityTxt Bol 安全文件,Security.txt 可帮助安全研究人员在发现安全漏洞时联系开发人员
false :没有链接
true::有提交安全信息链接
securityTxtLink String 如果securityTxt为True,返回跳转链接

查询SOL账户余额

获取 Solana 链的地址账户信息

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/account

请求示例

GET /api/v5/explorer/solana/account?address=8RXYL85eGMyuUcBCMHt5owGvasySS4FYbmKTx4CqFkpe

请求参数

参数名 类型 是否必须 描述
address String 地址账户

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "solBalance": "66.202303754",
            "ownerProgram": "11111111111111111111111111111111",
            "rentEpoch": "18446744073709551615",
            "isOnCurve": "true"
        }
    ]
}

返回参数

参数名 类型 描述
solBalance String SOL余额
ownerProgram String 所属程序
rentEpoch String 下次需要缴纳租金的纪元
isOnCurve Bol 是否在曲面上
false:不是
true:是

查询投票账户信息

获取 Solana 链的投票账户信息

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/vote-account

请求示例

GET /api/v5/explorer/solana/vote-account?address=CvSb7wdQAFpHuSpTYTJnX5SYH4hCfQ9VuGnqrKaKwycB

请求参数

参数名 类型 是否必须 描述
address String 地址账户

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "solBalance": "1",
            "ownerProgram": "Vote111111111111111111111111111111111111111",
            "rentEpoch": "18446744073709551615",
            "executable": false,
            "lastTime": "1732778293",
            "lastSlotHeight": "304087413",
            "commission": "5",
            "credits": "",
            "rootSlot": "304087359",
            "validatorIdentity": "DtdSSG8ZJRZVv5Jx7K1MeWp7Zxcu19GD5wQRGRpQ9uMF",
            "voteAuthority": "DtdSSG8ZJRZVv5Jx7K1MeWp7Zxcu19GD5wQRGRpQ9uMF",
            "withdrawAuthority": "C1HtCqAYkVAxQD48wzZnUwp6v6YXacW3mLatPLBU5pRs"
        }
    ]
}

返回参数

参数名 类型 描述
solBalance String SOL余额
ownerProgram String 所属程序
rentEpoch String 下次需要缴纳租金的纪元
executable Bol 是否是可执行文件
false:不可执行文件
true:可执行文件
lastTime String 最近出现时间
lastSlotHeight String 最近的区块高度
commission String 佣金百分比
credits String 信用分
rootSlot String 根Slot高度
validatorIdentity String 验证者身份
voteAuthority String 投票授权地址
withdrawAuthority String 提现授权地址

查询质押账户信息

获取 Solana 链的质押账户信息

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/stake-account

请求示例

GET /api/v5/explorer/solana/stake-account?address=he1iusunGwqrNtafDtLdhsUQDFvo13z9sUa36PauBtk

请求参数

参数名 类型 是否必须 描述
address String 地址账户

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "solBalance": "1936308.577951851",
            "ownerProgram": "Stake11111111111111111111111111111111111111",
            "rentEpoch": "18446744073709551615",
            "executable": false,
            "type": "delegated",
            "state": "active",
            "delegatedStake": "1926192.688180889",
            "activeStake": "1926192.688180889",
            "totalreward": "24427.864406913",
            "activationEpoch": "598",
            "deactivationEpoch": "18446744073709551615",
            "validator": "CvSb7wdQAFpHuSpTYTJnX5SYH4hCfQ9VuGnqrKaKwycB",
            "stakingAuthority": "2Wk4x9xaxmqvXr7amKA36UaQzPcqri3HCGmg6wWxo7c5",
            "withdrawAuthority": "2Wk4x9xaxmqvXr7amKA36UaQzPcqri3HCGmg6wWxo7c5",
            "lockupAuthority": "Mc5XB47H3DKJHym5RLa9mPzWv5snERsF3KNv5AauXK8"
        }
    ]
}

返回参数

参数名 类型 描述
solBalance String SOL余额
ownerProgram String 所属程序
rentEpoch String 下次需要缴纳租金的纪元
executable Bol 是否是可执行文件
false:不可执行文件
true:可执行文件
type String 类型
delegated
uninitialized
initialized
state String 状态
effective
activating
deactivating
delegatedStake String 委托质押数量
activeStake String 活跃质押数量
totalreward String 总奖励数量
activationEpoch String 激活Epoch
deactivationEpoch String 停用Epoch
validator String 验证者地址
stakingAuthority String 质押授权地址
withdrawAuthority String 提现授权地址
lockupAuthority String 锁仓授权地址

查询SOL账户余额

获取 Solana 链代币账户信息

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/token-account

请求示例

GET /api/v5/explorer/solana/token-account?address=7CcsgVXNAU1CaDExG6zELpKefSoYmew41Mddgf1htQ4b

请求参数

参数名 类型 是否必须 描述
address String 地址账户

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "token": "chillcapy",
            "tokenFullName": "chillcapy",
            "solBalance": "0.00203928",
            "rentEpoch": "18446744073709551615",
            "isOnCurve": false,
            "ownerAddress": "8aHVf4T3t4Z2kjnNojLh87zswhH21EU2iFnVoadN3MXx",
            "tokenAddress": "2pb1ny5NA51GbBFNGfo1XYyUpsAacuSdmFRByx6upump",
            "state": "initialized",
            "immutableOwner": "",
            "decimal": "6"
        }
    ]
}

返回参数

参数名 类型 描述
token String 代币名称
tokenFullName String 代币全称
solBalance String SOL余额
rentEpoch String 下次需要缴纳租金的纪元
isOnCurve Bol 是否在曲面上
false:不是
true:是
ownerAddress String 所有人地址
tokenAddress String 代币地址
state String 状态
initialized
frozen
immutableOwner Bol 是否是永恒的持有者地址
false:不是
true:是
decimal String 精度

查询质押账户列表

获取指定地址关联的 Stake 账户情况,即当前地址被 Stake Account绑定为了质押、提现账户

每次调用消耗 2 点

HTTP请求

GET /api/v5/explorer/solana/stake-account-list

请求示例

GET /api/v5/explorer/solana/stake-account-list?address=BjhPprqBjDj4StKTMWSsdkc4zfFcvg1pYJeNSVagzyZn

请求参数

参数名 类型 是否必须 描述
address String 地址账户
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "20",
            "totalPage": "1",
            "stakeAccountList": [
                {
                    "stakeAccount": "52C9T2T7JRojtxumYnYZhyUmrN7kqzvCLc4Ksvjk7TxD",
                    "state": "active",
                    "activeStakeAmount": "2943561.491049071",
                    "inactiveStake": "0",
                    "validator": "he1iusunGwqrNtafDtLdhsUQDFvo13z9sUa36PauBtk",
                    "accountRole": "withdrawer,staker"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
stakeAccountList Array 质押列表
> stakeAccount String 质押账户
> state String 质押地址状态
活跃:active
非活跃:inactive
> activeStakeAmount String 活跃的质押数量,单位SOL
> inactiveStake String 非活跃的质押数量,单位SOL
> validator String 验证着地址
> accountRole String 账户角色
staker
withdrawer
staker_withdrawer

查询代币交易列表

获取 Solana 链指定地址的SOL和代币和NFT转账

每次调用消耗 3 点

HTTP请求

GET /api/v5/explorer/solana/token-transaction-list

请求示例

GET /api/v5/explorer/solana/token-transaction-list?address=ARRRZPZiJHpJvyiWYVkwtjFL8thVTj2hhUec42XLCUf8&limit=1

请求参数

参数名 类型 是否必须 描述
address String 地址账户
protocolType String 不同的代币类型
spl_token :token
spl_nft:nft
sol
默认为返回所有类型
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "231",
            "transactionList": [
                {
                    "txId": "415Zw5pSiGKMbJRqthFCWH2441FkD6RFsmfFCnxW8tBieAUd6AbZYnKqWdVi31fRLoXmJWfRMCUww23oAcHFzjEb",
                    "slotHeight": "303928756",
                    "transactionTime": "1732709251000",
                    "from": "DtZWL3BPKa5hw7yQYvaFR29PcXThpLHVU2XAAZrcLiSe",
                    "to": "ARRRZPZiJHpJvyiWYVkwtjFL8thVTj2hhUec42XLCUf8",
                    "amount": "1.041985702",
                    "state": "Success",
                    "instruction": "system",
                    "token": "",
                    "tokenAddress": "",
                    "collection": "",
                    "collectionAddress": ""
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 交易列表
> txId String 交易哈希
> slotHeight String 交易发生的slot高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方地址
> to String 接收方地址
> amount String 交易数量
> token String 代币简称
> instruction String 指令,可能存在多个
> collection String NFT合集名称,仅适用于NFT
> collectionAddress String NFT合集的地址,仅适用于NFT
> tokenAddress String 代币地址,仅适用于token
> state String 交易状态
成功:success
失败:fail

查询地址查询交易列表

获取 Solana 链的账户交易列表

每次调用消耗 3 点

HTTP请求

GET /api/v5/explorer/solana/sol-transaction-list

请求示例

GET /api/v5/explorer/solana/sol-transaction-list?address=ARRRZPZiJHpJvyiWYVkwtjFL8thVTj2hhUec42XLCUf8

请求参数

参数名 类型 是否必须 描述
address String 地址账户
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "2",
            "transactionList": [
                {
                    "state": "Success",
                    "txId": "JV8sXyNqdvPNRg3m12i5aLVDnb57wuKpABp8JUVcWK9WcoCnesvBBZxfaw1qikaEnB2USfbJ76xyMJ1MFYimykP",
                    "txFee": "0.000005",
                    "slotHeight": "303704844",
                    "transactionTime": "1732611716000",
                    "program": "4R3gSG8BpU4t19KYj8CfnbtRpnT8gtk4dvTHxVRwc2r7,11111111111111111111111111111111",
                    "instruction": "system",
                    "feePayer": "ARRRZPZiJHpJvyiWYVkwtjFL8thVTj2hhUec42XLCUf8"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 交易列表
> state String 交易状态:
成功:Success
失败:Fail
> txId String 交易哈希
> slotHeight String 交易发生的slot高度
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> program String 程序,可能存在多个.
> instruction String 指令,可能存在多个
> feePayer String 当前交易支付手续费的地址,可能存在多个
> txFee String 交易手续费

EVM 特有数据

获取 ETH 通缩数据统计、Beacon 链、StarkNet 链、Blob 的链上数据。

Blob 数据

在坎昆升级中,EIP-4844 引入新的交易类型 Blob-carrying 交易,但 Blob 数据的存储是临时的,可通过该模块接口获取所有 Blob 数据

查询 Blob列表

获取 Blob 列表数据,仅返回近 10,000 条数据

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blob/blob-list

请求示例

GET /api/v5/explorer/blob/blob-list?limit=2

请求参数

参数名 类型 是否必须 描述
startBlockHeight String 开始查询的区块高度
endBlockHeight String 结束查询的区块高度
page String 页码,不填写,默认返回第一页
limit String 每页返回数据个数,默认为20条数据,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "2",
            "totalPage": "5000",
            "blobList": [
                {
                    "blobVersionedHash": "0x011e4040f1a994dd7bab3ad0554f851ac007408ddb9fc1b160559b2052451fdc",
                    "txId": "0x9e3c2dd3f9db5ebc83efdd14fe8af756e0e5c358762b76758c18e69878a0949f",
                    "transactionTime": "1715155991",
                    "height": "19824076",
                    "blobSender": "0xcf2898225ed05be911d3709d9417e86e0b4cfc8f",
                    "blobSize": "128"
                },
                {
                    "blobVersionedHash": "0x019805d539c6eb9136ef22daeb41a9931001a8f433479a603715fe29fdf9f044",
                    "txId": "0x9be519f5f3185dba409ff54603513282e550ebd6853f98e65fd9218fb8e0efb3",
                    "transactionTime": "1715155991",
                    "height": "19824076",
                    "blobSender": "0xa9268341831efa4937537bc3e9eb36dbece83c7e",
                    "blobSize": "128"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
blobList Array Blob 列表
> blobVersionedHash String Blob 的版本化哈希
> txId String 包含 Blob 的交易哈希
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> height String 交易发生的区块高度
> blobSender String 提交 Blob 数据的地址
> blobSize String Blob 的大小,单位为 KiB

查询 Blob详情

获取特定 Blob 的明细数据

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blob/blob-fills

请求示例

GET /api/v5/explorer/blob/blob-fills?blobVersionedHash=0x01dbbd07a095b1ce305a8cbd4caec70c9c7cdae8cedc5f1503ffdab7ce4a25f8

请求参数

参数名 类型 是否必须 描述
blobVersionedHash String Blob 的版本化哈希

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "blobVersionedHash": "0x01dbbd07a095b1ce305a8cbd4caec70c9c7cdae8cedc5f1503ffdab7ce4a25f8",
            "commitment": "0xa448f0bc3791c97f855af3582197ca4f966a8034499342388c70ff77b5dbfbc59ea88085aed28eb3a22d86ef9e4caa39",
            "proof": "0x96568c422d58ca9cd906fb5be5b81dc4e21b3c426f40eb598f15e014269b2bd7555d95ce04a78374a92ec657e867faf7",
            "blobSize": "128",
            "blobData":
                "0x00000d00001e2000000bc900002caf0000259a0000277f00001b640000152c0000001e420000172300002da000003aab00003eeb0000317e000000000000000000f9025083097c37842613ca7b830fa25c94a658742d33ebd2ce2f0bdff7351500aa797fd161d980b901e4252f7b010000000000000000000000000000000000000000000000000000000000000000650000000000000000000000008013751000979822322193fc997d400d5a6c747bf7000000000000000000000000000000000000000000000000000000000000030d40546bb7bbc820acbb6830e0ad55d300032b477c538baa1fdbf363fb8f2cf71"

返回参数

参数名 类型 描述
blobVersionedHash String Blob 的版本化哈希
commitment String Blob 的加密承诺值,用于验证 blob 数据的完整性和正确性
proof String Blob 的证明,用于证明 blob 数据的存在性和所有权
blobSize String Blob 的大小,单位为 KiB
blobData String Blob 中的数据

查询指定 Blob 交易列表

获取某个 Blob 下的交易列表数据,最多返回最近 10,000 笔包含该 Blob 的交易数据

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blob/blob-transactions

请求示例

GET /api/v5/explorer/blob/blob-transactions?blobVersionedHash=0x016610aed788bb604331a850b8879ede4b51a2a18c4a168a9881e7c5837a5b80

请求参数

参数名 类型 是否必须 描述
blobVersionedHash String Blob 的版本化哈希
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "20",
            "totalPage": "1",
            "transactionList": [
                {
                    "txId": "0x151cb44c8b0336dab229b47b7bddf789f04d7a896f891b33e480325fc9f6e6e5",
                    "transactionTime": "1712917823",
                    "height": "19638943"
                },
                {
                    "txId": "0xa6ca614062d26d56ec291c65c8b99802d9d85aab1010f6eaeb87de7d700325d7",
                    "transactionTime": "1712917367",
                    "height": "19638905"
                },
                {
                    "txId": "0xb24ea64b54e989a1740a0d1064bc43a73a2934f9390909b5fbb3f63e3d3552f6",
                    "transactionTime": "1712856179",
                    "height": "19633839"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 包含该 Blob 的交易列表
> txId String 包含该 Blob 的交易哈希
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> height String 交易发生的区块高度

查询指定哈希 Blob 数据

获取特定交易中的 Blob 相关数据

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blob/transactions

请求示例

GET /api/v5/explorer/blob/transactions?txId=0x4f6ff44f821e3803007caed8e97a70b0914a4310c7e7387d7006d21dcd74d3db

请求参数

参数名 类型 是否必须 描述
txId String 交易哈希

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "blobAmount": "1",
            "totalBlobSize": "128",
            "blobGasPrice": "1",
            "blobGasUsed": "131072",
            "blobBaseFee": "131072",
            "blobMaxFee": "3407872000000000",
            "calldataGasUsed": "1911956",
            "calldataFee": "15711150446360176",
            "blobList": [
                {
                    "blobVersionedHash": "0x016780712aec2fa0ee67feedf470b6033b9fbab0c806df8529d40d0dbafc4251",
                    "commitment": "0xa19a8c40dd54ae91283aa98cbbb242c002664c41ec6bd0ca49721a37864d31c91b97b609d482f99f12989509e24cc7c8",
                    "blobSize": "128"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
blobAmount String 交易中包含的 Blob 数量
totalBlobSize String 该交易中的 Blob 总大小,单位为 KiB
blobGasPrice String Blob Gas 价格,单位为 wei
blobGasUsed String Blob Gas 消耗
blobBaseFee String Blob 基础费用,单位为 wei
blobMaxFee String Blob 最大手续费,单位为 wei
calldataGasUsed String calldata 形式的 Gas 消耗
calldataFee String calldata 形式的 Gas 费用,单位为 wei
blobList Array 该交易中包含的 Blob 列表
> blobVersionedHash String Blob 的版本化哈希
> commitment String Blob 的加密承诺值,用于验证 Blob 数据的完整性和正确性
> blobSize String Blob 的大小,单位为 KiB

查询指定区块 Blob 数据

获取特定区块中的 Blob 相关数据

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/blob/blocks

请求示例

GET /api/v5/explorer/blob/blocks?height=19767096

请求参数

参数名 类型 是否必须 描述
height String 区块高度

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "blobAmount": "4",
            "totalBlobSize": "512",
            "blobGasPrice": "1",
            "blobGasUsed": "524288",
            "blobBaseFee": "524288",
            "blobGasLimit": "786432",
            "calldataGasUsed": "5750684",
            "calldataFee": "75867916457355844",
            "transactionList": [
                {
                    "txId": "0x4009a24a9c4fdaf8e30c74f4b2af23f972bfe2f67555537e67f67884dcfca516"
                },
                {
                    "txId": "0xc37862ae9f0d184bbd599cbfa834a89fd55e28a8488312eb06ffcd30836c3ff2"
                },
                {
                    "txId": "0x9c38d397a168ea95f192e269803a7f23ab31114120a54c3859256f43601c992f"
                }
            ],
            "blobList": [
                {
                    "blobVersionedHash": "0x01d21435ec10efb4ede75d168677ddbd591644be9b181841fcfaf44017b34024",
                    "commitment": "0x82a2b8c5290944689b3725fb80f539249a7b886d24a6a9fb386456a02e9cddcf7ac28ff205df4116f8f12246bd294971",
                    "blobSize": "128"
                },
                {
                    "blobVersionedHash": "0x013c329417950f9f9438df7b7aea6b4abb2285e4de5654414919c85e49ce92de",
                    "commitment": "0xb13ea6630acfe202048c9567fced6151d39d0087f03e3e77b85400dc5f1493f01a449d54367a433c19d3a4ce18428319",
                    "blobSize": "128"
                },
                {
                    "blobVersionedHash": "0x01b8fe4b702fdd2eb03341facd8c10c81831fe51861973c57a1a256aaa5c2c7e",
                    "commitment": "0x8e3ba405dffac8cab92a9e8c1333574e56114b10286dedec41cc0cfa82aee0b3f0e646fd452b4c447ef99f776e78da3f",
                    "blobSize": "128"
                },
                {
                    "blobVersionedHash": "0x016726d67c622dd5f16227928553bd1ae05774bc4a7f903a41707a55393bfcac",
                    "commitment": "0x83fcfdb3530953b7aecee9309bdeccd62c838b20764c08b8e741060dea087f73dde763ae99a0a5a807145b90b54de359",
                    "blobSize": "128"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
blobAmount String 区块中包含的 Blob 数量
totalBlobSize String 区块中的 Blob 总大小,单位为 KiB
blobGasPrice String 区块中 EIP-4844 交易 Blob Gas 价格的平均值,单位为 wei
blobGasUsed String 区块中的 Blob Gas 消耗之和
blobBaseFee String 区块中的 Blob 基础费用之和,单位为 wei
blobGasLimit String 区块中的 Blob Gas 限额
calldataGasUsed String 区块中 EIP-4844 交易 calldata 形式的 Gas 消耗之和
calldataFee String 区块中 EIP-4844 交易 calldata 形式的 Gas 费用之和
transactionList Array 该区块中包含的 Blob 交易列表
> txId String Blob 交易哈希
blobList Array 该区块中包含的 Blob 列表
> blobVersionedHash String Blob 的版本化哈希
> commitment String Blob 的加密承诺值,用于验证 blob 数据的完整性和正确性
> blobSize String Blob 的大小,单位为 KiB

ETH 通缩数据

ETH通缩数据功能模块接口,提供ETH每日对供应与销毁的详情数据,以及ETH质押详情。

查询 ETH 通缩概览

查询ETH最新的通缩数据概览

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/deflation/supply

请求示例

GET /api/v5/explorer/deflation/supply

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "circulatingSupply": "120404650.2518",
            "totalBurnt": "3640484.712",
            "inflationRate": "0.004",
            "stakingAmount": "30739208",
            "stakingApy": "0.027"
        }
    ]
}

返回参数

参数名 类型 描述
circulatingSupply String ETH总流通量
totalBurnt String ETH总销毁量
stakingApy String ETH质押年化收益率
stakingAmount String ETH总质押数量
inflationRate String ETH当前年化通胀率,以小数展示,示例:0.1=10%

查询 ETH 通缩详情

通过该接口ETH每日的供应量和销毁量的历史数据。

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/deflation/supply-burn

请求示例

GET /api/v5/explorer/deflation/supply-burn

请求参数

参数名 类型 是否必须 描述
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "2246",
            "inflationHistoryList": [
                {
                    "supply": "2328.5755",
                    "burnt": "992.0577",
                    "netInflation": "1336.5177",
                    "circulatingSupply": "120404650.2518",
                    "inflationRate": "0.004",
                    "time": "1697558400000"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
inflationHistoryList Array 通缩数据列表
> circulatingSupply String ETH总流通量
> burnt String 每日销毁量
> netInflation String 每日净新增ETH数量,正数表示表示新增数量,负数表示减少数量
> supply String 每日供应量
> inflationRate String ETH当前年化通胀率,以小数展示,示例:0.1=10%
> time String 数据更新时间,Unix时间戳的毫秒数格式,如 1597026383085

查询 ETH 质押详情

获取ETH质押历史详情

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/deflation/pos-staking

请求示例

GET /api/v5/explorer/deflation/pos-staking

请求参数

参数名 类型 是否必须 描述
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "1052",
            "stakingHistoryList": [
                {
                    "time": "1697558400000",
                    "totalValidator": "979417",
                    "totalStaked": "30739208",
                    "stakingRatio": "0.2588",
                    "validatorDailyIncome": "2328.5755",
                    "apy": "0.027",
                    "nonEip1559Fee": "58.5716",
                    "baseRewards": "992.0577",
                    "priorityFee": "294.1105"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
stakingHistoryList Array 质押列表
> apy String 年化收益率
> baseRewards String 基础奖励
> priorityFee String 交易小费
> totalStaked String 总质押量
> stakingRatio String 质押率
> nonEip1559Fee String 非eip1559交易手续费
> totalValidator String 总验证者数量
> validatorDailyIncome String 验证者每日收入(基础奖励)
> time String 数据更新时间,Unix时间戳的毫秒数格式,如 1597026383085

查询 ETH 历史 Gas 费

通过该接口获取ETH的历史gas数据

每次调用消耗 5 点

HTTP请求

GET /api/v5/explorer/deflation/gas

请求示例

GET /api/v5/explorer/deflation/gas

请求参数

参数名 类型 是否必须 描述
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "805",
            "gasHistoryList": [
                {
                    "nonEip1559Fee": "58.5716",
                    "eip1559BaseFee": "992.0577",
                    "eip1559Tip": "294.1105",
                    "totalTransactionCount": "994388",
                    "maxGasPrice": "101",
                    "minGasPrice": "4.7883",
                    "avgGasPrice": "9.9651",
                    "time": "1697558400000"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
gasHistoryList Array gas 历史数据
> avgGasPrice String 当天平均gas费
> maxGasPrice String 当天最大值gas费
> minGasPrice String 当天最小值gas费
> eip1559BaseFee String eip1559基础手续费
> eip1559Tip String eip1559小费
> totalTransactionCount String 当天总交易次数
> nonEip1559Fee String 非eip1559交易手续费
> time String 数据更新时间,Unix时间戳的毫秒数格式,如 1597026383085

信标链数据

信标链数据支持查询信标链的提现和质押相关的数据

查询信标链详情

获取信标链的基础信息,包括验证者概览和质押概览数据

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/beacon/beacon-summary

请求示例

GET /api/v5/explorer/beacon/beacon-summary

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "chainFullName": "Beacon Chain",
            "chainShortName": "BEACON",
            "issueDate": "1606824023000",
            "consensus": "PoS",
            "finalizedEpoch": "236649",
            "finalizedSlot": "7572768",
            "lastCheckpoint": "7572833",
            "validators": {
                "totalValidators": "980088",
                "newTotalValidators": "1808",
                "activeValidators": "862463",
                "newActiveValidators": "-1473",
                "pendingValidators": "696",
                "newPendingValidators": "620",
                "exitedValidators": "3749",
                "newExitedValidators": "1234",
                "totalValidatorIncome": "1498841.462357212"
            },
            "staking": {
                "totalDeposits": "31414348",
                "newTotalDeposits": "37458",
                "beaconDepositsReceived": "31433146",
                "newBeaconDepositsReceived": "57143",
                "depositAddresses": "981304",
                "newDepositAddresses": "1157",
                "beaconDepositsPubKeys": "980093",
                "newBeaconDepositsPubKeys": "1808",
                "votedStakes": "27538741",
                "effectiveStakes": "27598587"
            }
        }
    ]
}

返回参数

参数名 类型 描述
chainFullName String 公链全称,例如:Beacon Chain
chainShortName String 公链缩写符号,例如:BEACON
issueDate String 发行日期
consensus String 共识算法,例如:Pos
finalizedEpoch String 最终Epoch
finalizedSlot String 最终Slot
lastCheckpoint String 最新检查点Slot
validators Array 验证者概览
> totalValidators String 验证者总数量
> newTotalValidators String 新增验证者数量,正数为新增,负数为减少
> activeValidators String 活跃验证者数量
> newActiveValidators String 新增活跃验证者数量,正数为新增,负数为减少
> pendingValidators String 待审核验证者数量
> newPendingValidators String 新增待审核验证者数量,正数为新增,负数为减少
> exitedValidators String 已退出验证者数量
> newExitedValidators String 新增已退出验证者数量,正数为新增,负数为减少
> totalValidatorIncome String 验证者累计收入
staking Array 质押概览
> totalDeposits String ETH1.0链质押ETH的数量
> newTotalDeposits String 新增ETH1.0链质押ETH的数量,正数为新增,负数为减少
> beaconDepositsReceived String 信标链接收总质押数量
> newBeaconDepositsReceived String 新增信标链接收总质押数量,正数为新增,负数为减少
> depositAddresses String ETH1.0链质押ETH的地址数量
> newDepositAddresses String 新增ETH1.0链质押ETH的地址数量,正数为新增,负数为减少
> beaconDepositsPubKeys String 信标链质押公钥的数量
> newBeaconDepositsPubKeys String 新增信标链质押公钥的数量,正数为新增,负数为减少
> votedStakes String 活跃质押量,信标链上参与投票或出块的有效 ETH 质押量,每小时更新
> effectiveStakes String 有效质押量,信标链节点可见的并被接受的 ETH 存款,每小时更新

查询信标链的区块列表

获取信标链的验证者详情

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/beacon/beacon-slot-list

请求示例

GET /api/v5/explorer/beacon/beacon-slot-list

请求参数

参数名 类型 是否必须 描述
slot String slot,如果都不填写,默认slot排序,最新在最上面
epoch String epoch
index String 验证者编号
limit String 返回条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "slotList": [
                {
                    "epoch": "236651",
                    "slot": "7572839",
                    "state": "proposed",
                    "index": "960171",
                    "time": "1697698091000",
                    "slotIndex": "8",
                    "attestationCount": "128",
                    "parentRoot": "0xab67fff2294a6a76e1dda77d0cc65dd183bd3574ff58ea4ffede84e4fc81fabd",
                    "root": "0xf8a24b30de4f066fcca8a423c619cff5c3217501cbc8e82f68a5934674bcbed4",
                    "signature": "0x8e103c3f3c8c9453d7c1aa89eed7b20808f78097ac4607db0877fee91db39126ff10e07d4dacfa34fb5adc9764fa3027064d1377ada3055074b2f1dc26c5bb4fc40e63bd080bf5ae39278908fd9ece292339108dd619ecc2fbf440c1939983c2",
                    "randaoReveal": "0x904c3f03c7ca03750168d362f57f7ea58d32ee57d7d8a53a035dddd37cb3790c94d3a5f332823f069116386750b788d3133e6aedc92354db0d865b1b6d42bb9f4068407cbee4a0a6276c379ba5e561b720a5edd67b01fd7ef5e7f1b63371d041",
                    "graffiti": "0x0000000000000000000000000000000000000000000000000000000000000000",
                    "voluntaryExitsCount": "0",
                    "attesterSlashingCount": "0",
                    "l1BlockHash": "0xe06cf95360ff87f350b2681a93d7220239a218da2edff3dca4732d72cd856446",
                    "l1DepositCount": "1011590",
                    "l1DepositRoot": "0xcc10e96d2ef785919c78bd249ff0af6d93c83919595f63b57ac101c9352ea905",
                    "pubkey": "0x80b3fae29e4ea97d81f97578453f44b2a30b54eb1c8e176c3c0b933a797510f123a70457301cb967f070e2ef173d51d3"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
slotList Array slot列表
> epoch String slot所属的epoch
> slot String slot
> state String 状态;proposed 、skipped 、forked
> index String 对应的验证者编号
> pubkey String 对应的验证者公钥
> time String 该Slot的开始时间
> slotIndex String 当前Slot在Epoch中的位置;slotIndex/32
> attestations String 由指定的验证者委员会对Slot提供验证证明
> parentRoot String 前一个slot的root
> root String root hash
> signature String 签名
> randaoReveal String 随机数
> graffiti String 签名
> voluntaryExitsCount String 退出验证者数量
> attestationCount String 验证数量
> attesterSlashingCount String 验证者被罚没的数量
> l1BlockHash String 该笔提案ETH链区块高度hash
> l1DepositCount String 质押ETH数量
> l1DepositRoot String ETH质押的root

查询信标链验证者列表

获取信标链的验证者列表,活跃的验证者和待审核的验证者和已经退出的验证者,每小时更新

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/beacon/beacon-validator-list

请求示例

GET /api/v5/explorer/beacon/beacon-validator-list

请求参数

参数名 类型 是否必须 描述
type String 验证者类型
活跃的验证者:active
待审核的验证者:pending
已退出的验证者:exited
所有的验证者:all
如果不填写,默认为all
limit String 返回条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "10000",
            "validatorList": [
                {
                    "index": "21958",
                    "pubkey": "0x91104f28e17de8c6bec26c5a8e64a149ba3ed2a35273197c33ed2f2bc74b8dbda96f9098517a6e946247c169c89deb34",
                    "holdingAmount": "68.7918",
                    "state": "online",
                    "totalIncome": "4.7918",
                    "proposals": "27",
                    "activationEpoch": "268",
                    "exitEpoch": "",
                    "withdrawalAmountEpoch": "",
                    "isSlashed": false
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
validatorList Array 验证者列表
> index String 验证着编号
> pubkey String 验证者公钥
> state String 验证者状态
online:近2个Epoch是否有投票或者出块的行为
offline:近2个Epoch没有投票或者出块的行为
> holdingAmount String 验证者余额,单位是ETH
> totalIncome String 验证者总收入
> proposals String 出块个数
> activationEpoch String 激活验证者身份的Epoch;创世块返回“0”,未激活返回""
> exitEpoch String 退出验证者身份的Epoch
> withdrawalAmountEpoch String 提取余额的Epoch
> isSlashed Bol 是否被罚没收;是:true;否:false

查询信标链验证者详情

获取信标链的验证者详情

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/beacon/beacon-validator-details

请求示例

GET /api/v5/explorer/beacon/beacon-validator-details?index=21958

请求参数

参数名 类型 是否必须 描述
index String 二选一 验证者编号
pubkey String 二选一 验证者公钥

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "index": "21958",
            "pubkey": "0x91104f28e17de8c6bec26c5a8e64a149ba3ed2a35273197c33ed2f2bc74b8dbda96f9098517a6e946247c169c89deb34",
            "type": "active",
            "beaconDepositsReceived": "64",
            "holdingAmount": "68.79185725",
            "totalIncome": "4.79185725",
            "effectiveStakes": "32",
            "address": "0x6282085170b2f3396fdccc2b5164fa70ee7c5192",
            "deposits": "64",
            "activationEpoch": "268",
            "exitEpoch": "",
            "eligibleEpoch": "41"
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
validatorList Array 验证者列表
> index String 验证者编号
> pubkey String 验证者公钥
> type String 验证者类型
活跃的验证者:active
待审核的验证者:pending
已退出的验证者:exited
所有的验证者:all
> beaconDepositsReceived String 信标链接收质押量
> holdingAmount String 验证者余额,单位是ETH
> totalIncome String 验证者总收入
> effectiveStakes String 有效质押量,信标链节点可见的并被接受的 ETH 存款,每小时更新
> address String 验证者地址
> deposits String 发起质押量
> activationEpoch String 激活验证者身份的Epoch;创世块返回“0”,未激活返回""
> exitEpoch String 退出验证者身份的Epoch
> eligibleEpoch String 准入验证者身份的Epoch

查询信标链的质押记录列表

获取信标链的质押记录数据

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/beacon/beacon-deposit-list

请求示例

GET /api/v5/explorer/beacon/beacon-deposit-list?index=21958&limit=1

请求参数

参数名 类型 是否必须 描述
index String 对应的验证者编号
pubkey String 对应的验证者公钥
limit String 返回条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "2",
            "depositList": [
                {
                    "epoch": "40",
                    "slot": "1293",
                    "state": "active",
                    "index": "21958",
                    "pubkey": "0x91104f28e17de8c6bec26c5a8e64a149ba3ed2a35273197c33ed2f2bc74b8dbda96f9098517a6e946247c169c89deb34",
                    "time": "1606839539000",
                    "beaconDepositsReceived": "32",
                    "withdrawalCredential": "0x00f2c769bafa58cd7e973c597e69d73f9cc6624296f5ff6bb3aa359cb3db5a04"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
depositList Array 质押记录列表
> epoch String slot所属的epoch
> slot String Slot
> state String 验证者状态

deposited:质押中,用户在ETH1.0的staking合约中质押32以上ETH

pending:待确认,Beacon收到deposit后,根据总deposit数量用户需在队列中等待通过审核,每个epoch通过6个验证人

active:该用户已激活,并可作为validator在Beacon网络中验证Slot

exited:已退出 该用户由于曾违规或主动退出(exit),无法在Beacon网络中继续验证Slot
> index String 对应的验证者编号
> pubkey String 对应的验证者公钥
> time String 质押时间
> beaconDepositsReceived String 信标链接收质押量
> withdrawalCredential String 提款凭证

查询信标链的赎回记录列表

获取信标链的赎回记录数据

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/beacon/beacon-withdrawal-list

请求示例

GET /api/v5/explorer/beacon/beacon-withdrawal-list?index=535309&limit=1

请求参数

参数名 类型 是否必须 描述
index String 对应的验证者编号
pubkey String 对应的验证者公钥
limit String 返回条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "35",
            "withdrawalList": [
                {
                    "epoch": "236653",
                    "slot": "7572896",
                    "state": "active",
                    "index": "535309",
                    "pubkey": "0xb54d8183c989e51259ba93695a0b4584fec1b839b8ffbbc9e1925c8aa68221fbbe036657a2b409d03b2f4df85bb1afa9",
                    "time": "1697698775000",
                    "beaconWithdrawalReceived": "0.01681278",
                    "address": "0xb9d7934878b5fb9610b3fe8a5e441e8fad7e293f",
                    "withdrawalCredential": "0x010000000000000000000000b9d7934878b5fb9610b3fe8a5e441e8fad7e293f"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
withdrawalList Array 赎回记录列表
> epoch String slot所属的epoch
> slot String Slot
> state String 验证者状态

deposited:质押中,用户在ETH1.0的staking合约中质押32以上ETH

pending:待确认,Beacon收到deposit后,根据总deposit数量用户需在队列中等待通过审核,每个epoch通过6个验证人

active:该用户已激活,并可作为validator在Beacon网络中验证Slot

exited:已退出 该用户由于曾违规或主动退出(exit),无法在Beacon网络中继续验证Slot
> index String 对应的验证者编号
> pubkey String 对应的验证者公钥
> time String 赎回时间
> beaconWithdrawalReceived String 赎回ETH数量
> address String 验证者地址
> withdrawalCredential String 提款凭证

查询提款凭证对应验证者详情

根据提款凭证获取信标链的验证者基本信息。

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/beacon/beacon-withdrawal-credentials

请求示例

GET /api/v5/explorer/beacon/beacon-withdrawal-credentials?withdrawalCredential=0x0100000000000000000000004f13d70f72292e699fbb420003caff2778c18f70

请求参数

参数名 类型 是否必须 描述
withdrawalCredentials String 提款凭证
limit String 每一页返回的条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": [
        {
            "page": "1",
            "limit": "1",
            "totalPage": "2324",
            "validatorList": [
                {
                    "index": "19782",
                    "pubkey": "0x8313ce1237ff07c6afed630608e339034e76a9a396ab146401ed34abb957a30079d5f2b4d126e8a8e3f1c5c415361ec3",
                    "activationEpoch": "0",
                    "balance": "32.00239377",
                    "effectiveBalance": "32.00239377",
                    "voteEpoch": "237771",
                    "exitEpoch": "",
                    "slashed": "false",
                    "proposal": "38",
                    "status": "active_ongoing",
                    "withdrawalCredential": "0x010000000000000000000000347a70cb4ff0297102dc549b044c41bd61e22718"
                }
            ]
        }
    ]
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
validatorList Array 验证者列表
> index String 验证者编号
> pubkey String 验证者公钥
> withdrawalCredential String 提款凭证
> activationEpoch String 成为活跃验证的epoch
> balance String 余额
> effectiveBalance String 有效余额
> voteEpoch String 最新投票的epoch
> exitEpoch String 退出验证者身份的Epoch
> slashed Bol 是否被罚没
> status String 状态

StarkNet 数据

StarkNet数据功能接口,可获取StarkNet链的交易数据、代币数据等。

查询 StarkNet 区块详情

获取StarkNet链的区块明细

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/block/detail-starknet

请求示例

GET /api/v5/explorer/block/detail-starknet?chainShortName=starknet&height=305653

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
height String 区块高度

返回结果

{
    "code": "0",
    "msg": "",
    "data": {
        "blockHash": "0x0077befc73fba1983eeb0cc421266af52c63cdaece8a49c2e5c91cb4942ec16f",
        "height": "305653",
        "status": "ACCEPTED_ON_L1",
        "parentBlockHash": "0x0714623a72e27a1631ec9acac8f46e31409327913388c9a46b6fb88e95f040c1",
        "blockTime": "1696831933",
        "stateRoot": "0x372db6f7b7bd72396215035b7ff7f6eb7589a4f9cb249b5ae4fedd0ab1fbf5e",
        "sequencerAddress": "0x01176a1bd84444c89232ec27754698e5d2e7e1a7f1539f12027f28b23ec9f3d8",
        "l1TransactionHash": "0x98c5cf7d0c457ecc238a9e75a688e715c11be3bdbf0b0d89bc216d7a5e91aae3",
        "transactionAmount": "156",
        "messageAmount": "3",
        "eventAmount": "792"
    }
}

返回参数

参数名 类型 描述
blockHash String 区块哈希
height String 区块高度
status String 状态
blockTime String 出块时间;Unix时间戳的毫秒数格式,如 1597026383085
parentBlockHash String 父区块哈希
transactionAmount String 该区块包含的交易个数
messageAmount String 该区块包含的消息个数
eventAmount String 该区块包含的事件个数
stateRoot String 状态根哈希
sequencerAddress String 定序器地址
l1TransactionHash String L1交易哈希

查询 StarkNet 区块交易列表

获取StarkNet链下的某一区块里的交易列表

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/block/transaction-list-starknet

请求示例

GET /api/v5/explorer/block/transaction-list-starknet?chainShortName=starknet&height=305653&limit=1

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
height String 区块高度
limit String 返回条数,默认返回最近的20条,最多100条
page String 页码

返回结果

{
    "code": "0",
    "msg": "",
    "data": {
        "page": "1",
        "limit": "1",
        "totalPage": "156",
        "transactionList": [
            {
                "txId": "0x04e055fb82640d74576b107135e69535aa26ca17f1d1071c77281b5121bee531",
                "blockHash": "0x0077befc73fba1983eeb0cc421266af52c63cdaece8a49c2e5c91cb4942ec16f",
                "height": "305653",
                "transactionTime": "1696831933",
                "transactionType": "INVOKE",
                "transactionStatus": "ACCEPTED_ON_L1",
                "address": "0x05dd2e71e9f4627b79e115e2c2267c1d528735faf870fe5e8e3a584577b40707"
            }
        ]
    }
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 交易列表
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块
> address String 交易涉及到的地址
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> transactionType String 交易类型
> transactionStatus String 交易状态

查询 StarkNet 链地址代币余额明细

获取StarkNet链某个地址代币余额明细,可以获取该地址上的所有代币余额信息。(目前仅支持获取20代币)

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/token-balance-starknet

请求示例

GET /api/v5/explorer/address/token-balance-starknet?address=0x044a33f085b5ef75bde5df11d188e4c16db6c090f8c9c38c6020fbe6e24fcbc0&chainShortName=starknet&protocolType=token_20

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
protocolType String 合约协议类型
20代币:token_20
tokenContractAddress String 代币合约地址
page String 页码
limit String 返回条数,默认返回最近的20条,最多50条

返回结果

{
    "code": "0",
    "msg": "",
    "data": {
        "page": "1",
        "limit": "20",
        "totalPage": "1",
        "tokenList": [
            {
                "symbol": "ETH",
                "holdingAmount": "0.09338760014159263",
                "tokenContractAddress": "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7"
            },
            {
                "symbol": "zETH",
                "holdingAmount": "0.01200306543397489",
                "tokenContractAddress": "0x01b5bd713e72fdc5d63ffd83762f81297f6175a5e0a4771cdadbc1dd5fe72cb1"
            }
        ]
    }
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
tokenList Array 代币列表
> symbol String 该地址对应的代币
> tokenContractAddress String 该地址对应的代币合约地址
> holdingAmount String 代币持仓数量

查询 StarkNet 地址普通交易列表

获取StarkNet链地址相关的普通交易列表

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/normal-transaction-list-starknet

请求示例

GET /api/v5/explorer/address/normal-transaction-list-starknet?limit=1&address=0x044a33f085b5ef75bde5df11d188e4c16db6c090f8c9c38c6020fbe6e24fcbc0&chainShortName=starknet

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
startBlockHeight String 开始区块高度
endBlockHeight String 最终区块高度
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": {
        "page": "1",
        "limit": "1",
        "totalPage": "23",
        "transactionList": [
            {
                "txId": "0x008f40e4973d54ce0be584a851bd8dc9855c9b17277ea2cd3345ae73590af1ba",
                "blockHash": "0x0394c76b5148ef928302baadf1ad981126a8c7861ba6cc0d7a245aa0041a9d24",
                "height": "305222",
                "transactionTime": "1696820202",
                "transactionType": "INVOKE",
                "transactionStatus": "ACCEPTED_ON_L2"
            }
        ]
    }
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 交易列表
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> transactionType String 交易类型
> transactionStatus String 交易状态

查询 StarkNet 地址代币交易列表

获取StarkNet链地址相关的代币交易交易列表

每次调用消耗 1 点

HTTP请求

GET /api/v5/explorer/address/token-transaction-list-starknet

请求示例

GET /api/v5/explorer/address/token-transaction-list-starknet?limit=1&address=0x044a33f085b5ef75bde5df11d188e4c16db6c090f8c9c38c6020fbe6e24fcbc0&chainShortName=starknet&protocolType=token_20

请求参数

参数名 类型 是否必须 描述
chainShortName String 公链缩写符号
address String 地址
protocolType String 合约协议类型
20代币:token_20
721代币:token_721
1155代币:token_1155
tokenContractAddress String 代币合约地址
startBlockHeight String 开始区块高度
endBlockHeight String 最终区块高度
page String 页码,默认返回第一页
limit String 返回条数,默认返回最近的20条,最多100条

返回结果

{
    "code": "0",
    "msg": "",
    "data": {
        "page": "1",
        "limit": "1",
        "totalPage": "66",
        "transactionList": [
            {
                "txId": "0x008f40e4973d54ce0be584a851bd8dc9855c9b17277ea2cd3345ae73590af1ba",
                "blockHash": "0x0394c76b5148ef928302baadf1ad981126a8c7861ba6cc0d7a245aa0041a9d24",
                "height": "305222",
                "transactionTime": "1696820202",
                "from": "0x04270219d365d6b017231b52e92b3fb5d7c8378b05e9abc97724537a80e93b0f",
                "to": "0x044a33f085b5ef75bde5df11d188e4c16db6c090f8c9c38c6020fbe6e24fcbc0",
                "amount": "0.03156615266324224",
                "symbol": "ETH"
            }
        ]
    }
}

返回参数

参数名 类型 描述
page String 当前页码
limit String 当前页共多少条数据
totalPage String 总共多少页
transactionList Array 交易列表
> txId String 交易哈希
> blockHash String 区块哈希
> height String 交易发生的区块
> transactionTime String 交易时间;Unix时间戳的毫秒数格式,如 1597026383085
> from String 发送方地址
> to String 接收方地址
> amount String 交易数量,对于UTXO系列的区块链,返回的是这个地址下这笔交易所导致的余额变动。
> symbol String 交易数量对应的币种

EVM RPC 基础数据

目前该模块与主流的 EVM 区块链浏览器提供商的 API 接口规范相兼容,使开发人员能够无缝迁移至 OKLink 的 API。支持 ETH、Polygon、X Layer、X Layer Testnet、OP Mainnet、Scroll、zkSync、Polygon zkEVM、Manta 和 Canto 链。

API 请求地址 URL:

OKLink 浏览器 API 支持多条公链,因此在查询不同公链的数据时,您需要将公链的缩写放在 Base URL 中,如右侧示例,可在支持的公链查询各公链缩写。

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=transaction
   &action=gettxreceiptstatus
   &txhash=0x513c1ba0bebf66436b5fed86ab668452b7805593c05073eb2d51d3a52f480a76

地址

查询地址本链币余额

查询单个地址的本链币余额。

每次调用消耗 1 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=account
   &action=balance
   &address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae

请求参数

参数名 类型 是否必须 描述
address String 地址

返回结果

{
    "status": "1",
    "message": "OK",
    "result": "311273596438144883191969"
}

返回参数

参数名 类型 描述
result String 地址当前的本链币余额,单位为 wei

批量查询地址本链币余额

批量查询最多20个地址的本链币余额。

每次调用消耗 3 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=account
   &action=balancemulti
   &address=0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121a,0x63a9975ba31b0b9626b34300f7f627147df1f526

请求参数

参数名 类型 是否必须 描述
address String 地址,最多20个,以逗号分隔

返回结果

{
    "status": "1",
    "message": "OK",
    "result": [
        {
            "balance": "332567136222827062478",
            "account": "0x63a9975ba31b0b9626b34300f7f627147df1f526"
        },
        {
            "balance": "40891626854930000000999",
            "account": "0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121a"
        }
    ]
}

返回参数

参数名 类型 描述
account String 地址
balance String 该地址当前的本链币余额,单位为wei

查询地址普通交易列表

查询某个地址的普通交易列表,最多返回10000笔交易。

每次调用消耗 1 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=account
   &action=txlist
   &address=0x75fa7ed2996e3d430c8fc670a1c6fc4da4d91c9d
   &startblock=19166650
   &endblock=19166650
   &page=1
   &offset=1
   &sort=asc

请求参数

参数名 类型 是否必须 描述
address String 地址
startblock String 开始查询的区块
endblock String 结束查询的区块
page String 页码
offset String 每页返回数量,默认值和最大值均为100
sort String asc为升序,desc为降序,默认为asc

返回结果

{
    "status": "1",
    "message": "OK",
    "result": [
        {
            "blockNumber": "19166650",
            "timeStamp": "1707191639",
            "hash": "0xc3ff0eba575456c7db192ac96d9fe663795e061494b8ac9242166ebe1418d846",
            "nonce": "9",
            "blockHash": "0xf93f6d21b9ccf9ffb96981239be6cee55d3b5a9ee3ada004b7f6faf54154bae9",
            "transactionIndex": "189",
            "from": "0x75fa7ed2996e3d430c8fc670a1c6fc4da4d91c9d",
            "to": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
            "value": "0",
            "gas": "105356",
            "gasPrice": "17465509927",
            "isError": "0",
            "input": "0xde0e9a3e00000000000000000000000000000000000000000000000000d275d8b2e31159",
            "contractAddress": "",
            "cumulativeGasUsed": "19090928",
            "gasUsed": "90310",
            "confirmations": "4",
            "methodId": "0xde0e9a3e",
            "functionName": "unwrap(uint256 tokenId)",
            "txreceipt_status": "1"
        }
    ]
}

返回参数

参数名 类型 描述
blockNumber String 区块高度
timeStamp String 秒级时间戳
hash String 交易哈希
nonce String 该交易是发起者地址发起的第几笔交易
blockHash String 区块哈希
transactionIndex String 区块内交易编号
from String 发送方地址
to String 接收方地址
value String 交易数量,单位为wei
gas String gas上限
gasPrice String gas价格,单位为wei
isError String 交易中的合约执行是否发生错误,0表示无错误,1表示有错误
txreceipt_status String 交易状态,1表示成功,0表示失败
input String 交易的输入数据
contractAddress String 如果交易涉及到创建新合约,返回创建的合约地址
cumulativeGasUsed String 在当前区块中,到目前为止执行的所有交易所消耗的gas量的总和
gasUsed String gas消耗
confirmations String 已确认区块数
methodId String 标识智能合约函数的短哈希
functionName String 调用的合约函数名

指定地址查询内部交易

查询某个地址的内部交易列表,最多返回10000笔交易。

每次调用消耗 1 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=account
   &action=txlistinternal
   &address=0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3
   &startblock=0
   &endblock=19153162
   &page=1
   &offset=1
   &sort=asc

请求参数

参数名 类型 是否必须 描述
address String 地址
startblock String 开始查询的区块
endblock String 结束查询的区块
page String 页码
offset String 每页返回数量,默认值和最大值均为100
sort String asc为升序,desc为降序,默认为asc

返回结果

{
   "status":"1",
   "message":"OK",
   "result":[
      {
         "blockNumber":"2535368",
         "timeStamp":"1477837690",
         "hash":"0x8a1a9989bda84f80143181a68bc137ecefa64d0d4ebde45dd94fc0cf49e70cb6",
         "from":"0x20d42f2e99a421147acf198d775395cac2e8b03d",
         "to":"",
         "value":"0",
         "contractAddress":"0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3",
         "input":"",
         "type":"create",
         "gas":"254791",
         "gasUsed":"46750",
         "traceId":"0",
         "isError":"0",
         "errCode":""
      }
   ]
}

返回参数

参数名 类型 描述
blockNumber String 区块高度
timeStamp String 秒级时间戳
hash String 交易哈希
from String 发送方地址
to String 接收方地址
value String 交易数量,单位为wei
contractAddress String 如果内部交易涉及到创建新合约,返回创建的合约地址
input String 交易的输入数据
type String 内部交易类型
gas String gas限额
gasUsed String 执行该步骤所消耗的gas
traceId String 内部交易的跟踪标识符
isError String 交易是否发生错误,0表示无错误,1表示有错误
errCode String 如果有错误发生,返回错误码,否则返回空

指定交易哈希查询内部交易

查询某个交易内的内部交易列表,最多返回10000笔交易。

每次调用消耗 1 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=account
   &action=txlistinternal 
   &txhash=0x40eb908387324f2b575b4879cd9d7188f69c8fc9d87c901b9e2daaea4b442170

请求参数

参数名 类型 是否必须 描述
txhash String 交易哈希

返回结果

{
    "status": "1",
    "message": "OK",
    "result": [
        {
            "blockNumber": "1743059",
            "timeStamp": "1466489498",
            "hash": "0x40eb908387324f2b575b4879cd9d7188f69c8fc9d87c901b9e2daaea4b442170",
            "from": "0x2cac6e4b11d6b58f6d3c1c9d5fe8faa89f60e5a2",
            "to": "0x66a1c3eaf0f1ffc28d209c0763ed0ca614f3b002",
            "value": "7106740000000000",
            "contractAddress": "",
            "input": "",
            "type": "call",
            "gas": "2300",
            "gasUsed": "0",
            "traceId": "2",
            "isError": "0",
            "errCode": ""
        }
    ]
}

返回参数

参数名 类型 描述
blockNumber String 区块高度
timeStamp String 秒级时间戳
hash String 交易哈希
from String 发送方地址
to String 接收方地址
value String 交易数量,单位为wei
contractAddress String 如果内部交易涉及到创建新合约,返回创建的合约地址
input String 交易的输入数据
type String 内部交易类型
gas String gas限额
gasUsed String 执行该步骤所消耗的gas
traceId String 内部交易的跟踪标识符
isError String 交易是否发生错误,0表示无错误,1表示有错误
errCode String 如果有错误发生,返回错误码,否则返回空

指定区块高度查询内部交易

查询某个区块高度范围内的内部交易列表,最多返回10000笔交易。

每次调用消耗 1 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=account
   &action=txlistinternal
   &startblock=13481773
   &endblock=13491773
   &page=1
   &offset=1
   &sort=asc

请求参数

参数名 类型 是否必须 描述
startblock String 开始查询的区块
endblock String 结束查询的区块
page String 页码
offset String 每页返回数量,默认值和最大值均为100
sort String asc为升序,desc为降序,默认为asc

返回结果

{
    "status": "1",
    "message": "OK",
    "result": [
        {
            "blockNumber": "13481773",
            "timeStamp": "1635100060",
            "hash": "0x4ee28cc6a573f745b693a2571300c4e0eb2027c8f7275a5f3b37f3ead7f6b32d",
            "from": "0x7be8076f4ea4a4ad08075c2508e481d6c946d12b",
            "to": "0x5b3256965e7c3cf26e11fcaf296dfc8807c01073",
            "value": "38000000000000000",
            "contractAddress": "",
            "input": "",
            "type": "call",
            "gas": "2300",
            "gasUsed": "0",
            "traceId": "4",
            "isError": "0",
            "errCode": ""
        }
    ]
}

返回参数

参数名 类型 描述
blockNumber String 区块高度
timeStamp String 秒级时间戳
hash String 交易哈希
from String 发送方地址
to String 接收方地址
value String 交易数量,单位为wei
contractAddress String 如果内部交易涉及到创建新合约,返回创建的合约地址
input String 交易的输入数据
type String 内部交易类型
gas String gas限额
gasUsed String 执行该步骤所消耗的gas
traceId String 内部交易的跟踪标识符
isError String 交易是否发生错误,0表示无错误,1表示有错误
errCode String 如果有错误发生,返回错误码,否则返回空

查询地址ERC-20代币转账

查询某个地址的ERC-20代币转账列表,或某个代币合约的代币转账列表。

注意:区块高度范围建议在10,000以内,否则接口可能会超时

每次调用消耗 1 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=account
   &action=tokentx
   &contractaddress=0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2
   &address=0x4e83362442b8d1bec281594cea3050c8eb01311c
   &page=1
   &offset=1
   &startblock=19153000
   &endblock=19153162
   &sort=asc

请求参数

参数名 类型 是否必须 描述
address String 地址
contractaddress String 代币合约地址
startblock String 开始查询的区块
endblock String 结束查询的区块
page String 页码
offset String 每页返回数量,默认值和最大值均为100
sort String asc为升序,desc为降序,默认为asc

返回结果

{
    "status": "1",
    "message": "OK",
    "result":
    "result":[
          {
             "blockNumber":"4730207",
             "timeStamp":"1513240363",
             "hash":"0xe8c208398bd5ae8e4c237658580db56a2a94dfa0ca382c99b776fa6e7d31d5b4",
             "nonce":"406",
             "blockHash":"0x022c5e6a3d2487a8ccf8946a2ffb74938bf8e5c8a3f6d91b41c56378a96b5c37",
             "from":"0x642ae78fafbb8032da552d619ad43f1d81e4dd7c",
             "contractAddress":"0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2",
             "to":"0x4e83362442b8d1bec281594cea3050c8eb01311c",
             "value":"5901522149285533025181",
             "tokenName":"Maker",
             "tokenSymbol":"MKR",
             "tokenDecimal":"18",
             "transactionIndex":"81",
             "gas":"940000",
             "gasPrice":"32010000000",
             "gasUsed":"77759",
             "cumulativeGasUsed":"2523379",
             "input":"deprecated",
             "confirmations":"7968350"
          }
    ]
}

返回参数

参数名 类型 描述
blockNumber String 区块高度
timeStamp String 秒级时间戳
hash String 交易哈希
nonce String 该交易是发起者地址发起的第几笔交易
blockHash String 区块哈希
from String 发送方地址
contractAddress String 代币合约地址
to String 接收方地址
value String 代币交易数量
tokenName String 代币名称
tokenSymbol String 代币符号
tokenDecimal String 代币精度
transactionIndex String 区块内交易编号
gas String gas上限
gasPrice String gas价格,单位为wei
gasUsed String gas消耗
cumulativeGasUsed String 在当前区块中,到目前为止执行的所有交易所消耗的gas量的总和
input String 交易的输入数据,通常是调用合约函数的编码
confirmations String 已确认区块数

查询地址ERC-721代币转账

查询某个地址的ERC-721代币转账列表,或某个代币合约的代币转账列表。

注意:区块高度范围建议在10,000以内,否则接口可能会超时

每次调用消耗 1 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0x06012c8cf97bead5deae237070f9587f8e7a266d
   &address=0x6975be450864c02b4613023c2152ee0743572325
   &page=1
   &offset=1
   &startblock=0
   &endblock=27025780
   &sort=asc

请求参数

参数名 类型 是否必须 描述
address String 地址
contractaddress String 代币合约地址
startblock String 开始查询的区块
endblock String 结束查询的区块
page String 页码
offset String 每页返回数量,默认值和最大值均为100
sort String asc为升序,desc为降序,默认为asc

返回结果

{
    "status": "1",
    "message": "OK",
    "result": [
        {
            "blockNumber": "4708120",
            "timeStamp": "1512907118",
            "hash": "0x031e6968a8de362e4328d60dcc7f72f0d6fc84284c452f63176632177146de66",
            "nonce": "0",
            "blockHash": "0x4be19c278bfaead5cb0bc9476fa632e2447f6e6259e0303af210302d22779a24",
            "from": "0xb1690c08e213a35ed9bab7b318de14420fb57d8c",
            "to": "0x6975be450864c02b4613023c2152ee0743572325",
            "contractAddress": "0x06012c8cf97bead5deae237070f9587f8e7a266d",
            "tokenName": "CryptoKitties",
            "tokenSymbol": "CK",
            "tokenDecimal": "0",
            "transactionIndex": "81",
            "gas": "158820",
            "gasPrice": "40000000000",
            "gasUsed": "60508",
            "cumulativeGasUsed": "4880352",
            "input": "0x454a2ab3000000000000000000000000000000000000000000000000000000000003157a",
            "confirmations": "14452761",
            "tokenID": "202106"
        }
    ]
}

返回参数

参数名 类型 描述
blockNumber String 区块高度
timeStamp String 秒级时间戳
hash String 交易哈希
nonce String 该交易是发起者地址发起的第几笔交易
blockHash String 区块哈希
from String 发送方地址
contractAddress String 代币合约地址
to String 接收方地址
tokenID String NFT 的代币 ID
tokenName String 代币名称
tokenSymbol String 代币符号
tokenDecimal String 代币精度
transactionIndex String 区块内交易编号
gas String gas上限
gasPrice String gas价格,单位为wei
gasUsed String gas消耗
cumulativeGasUsed String 在当前区块中,到目前为止执行的所有交易所消耗的gas量的总和
input String 交易的输入数据,通常是调用合约函数的编码
confirmations String 已确认区块数

查询地址ERC-1155代币转账

查询某个地址的ERC-1155代币转账列表,或某个代币合约的代币转账列表。

注意:区块高度范围建议在10,000以内,否则接口可能会超时

每次调用消耗 1 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=account
   &action=token1155tx
   &contractaddress=0x76be3b62873462d2142405439777e971754e8e77
   &address=0x83f564d180b58ad9a02a449105568189ee7de8cb
   &page=1
   &offset=1
   &startblock=0
   &endblock=99999999
   &sort=asc

请求参数

参数名 类型 是否必须 描述
address String 地址
contractaddress String 代币合约地址
startblock String 开始查询的区块
endblock String 结束查询的区块
page String 页码
offset String 每页返回数量,默认值和最大值均为100
sort String asc为升序,desc为降序,默认为asc

返回结果

{
    "status": "1",
    "message": "OK",
    "result": [
        {
            "blockNumber": "13472395",
            "timeStamp": "1634973285",
            "hash": "0x643b15f3ffaad5d38e33e5872b4ebaa7a643eda8b50ffd5331f682934ee65d4d",
            "nonce": "41",
            "blockHash": "0xa5da536dfbe8125eb146114e2ee0d0bdef2b20483aacbf30fed6b60f092059e6",
            "from": "0x1e63326a84d2fa207bdfa856da9278a93deba418",
            "to": "0x83f564d180b58ad9a02a449105568189ee7de8cb",
            "contractAddress": "0x76be3b62873462d2142405439777e971754e8e77",
            "tokenName": "parallel",
            "tokenSymbol": "LL",
            "transactionIndex": "100",
            "gas": "140000",
            "gasPrice": "52898577246",
            "gasUsed": "105030",
            "cumulativeGasUsed": "11739203",
            "input": "0x3e6b214b0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000288300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000004eb500000000000000000000000000000000000000000000000000000000000000410344d5913b3beedc05dd524fb9006ac0d8e52936b366551c1a0a0f8487e7e1e87e345e8094d856cdf5eb36a8b0e6e243d041760d21d3de073cb8bae0cc578fcd1b00000000000000000000000000000000000000000000000000000000000000",
            "confirmations": "5688487",
            "tokenValue": "1",
            "tokenID": "10371"
        }
    ]
}

返回参数

参数名 类型 描述
blockNumber String 区块高度
timeStamp String 秒级时间戳
hash String 交易哈希
nonce String 该交易是发起者地址发起的第几笔交易
blockHash String 区块哈希
from String 发送方地址
contractAddress String 代币合约地址
to String 接收方地址
tokenValue String 代币交易数量
tokenID String NFT 的代币 ID
tokenName String 代币名称
tokenSymbol String 代币符号
transactionIndex String 区块内交易编号
gas String gas上限
gasPrice String gas价格,单位为wei
gasUsed String gas消耗
cumulativeGasUsed String 在当前区块中,到目前为止执行的所有交易所消耗的gas量的总和
input String 交易的输入数据,通常是调用合约函数的编码
confirmations String 已确认区块数

查询地址验证的区块

查询某个地址验证的区块列表。

每次调用消耗 1 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=account
   &action=getminedblocks
   &address=0x9dd134d14d1e65f84b706d6f205cd5b1cd03a46b
   &page=1
   &offset=1

请求参数

参数名 类型 是否必须 描述
address String 地址
page String 页码
offset String 每页返回数量,默认值和最大值均为100

返回结果

{
    "status": "1",
    "message": "OK",
    "result": [
        {
            "blockNumber": "19135623",
            "timeStamp": "1706815223",
            "blockReward": "115675929186924040"
        }
    ]
}

返回参数

参数名 类型 描述
blockNumber String 区块高度
timeStamp String 秒级时间戳
blockReward String 区块奖励,单位为wei

查询地址历史本链币余额

查询某个地址在特定区块高度的本链币余额。

每次调用消耗 1 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=account
   &action=balancehistory
   &address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae
   &blockno=8000000

请求参数

参数名 类型 是否必须 描述
address String 地址
blockno String 区块高度

返回结果

{
    "status": "1",
    "message": "OK",
    "result": "610538078574759898951277"
}

返回参数

参数名 类型 描述
result String 地址在对应区块的本链币余额,单位为 wei

合约

查询已验证合约的ABI

查询已验证智能合约的合约ABI。

每次调用消耗 1 点

请求示例

https://www.oklink.com/api/v5/explorer/eth/api
   ?module=contract
   &action=getabi
   &address=0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413

请求参数

参数名 类型 是否必须 描述
address String 合约地址

返回结果

{
    "status": "1",
    "message": "OK",
    "result": "[{\"constant\":true,\"inputs\":[{\"indexed\":false,\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"proposals\",\"outputs\":[{\"name\":\"recipient\",\"type\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\"},{\"name\":\"description\",\"type\":\"string\"},{\"name\":\"votingDeadline\",\"type\":\"uint256\"},{\"name\":\"open\",\"type\":\"bool\"},{\"name\":\"proposalPassed\",\"type\":\"bool\"},{\"name\":\"proposalHash\",\"type\":\"bytes32\"},{\"name\":\"proposalDeposit\",\"type\":\"uint256\"},{\"name\":\"newCurator\",\"type\":\"bool\"},{\"name\":\"yea\",\"type\":\"uint256\"},{\"name\":\"nay\",\"type\":\"uint256\"},{\"name\":\"creator\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minTokensToCreate\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"rewardAccount\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"daoCreator\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"divisor\",\"outputs\":[{\"name\":\"divisor\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"extraBalance\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_proposalID\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_transactionData\",\"type\":\"bytes\"}],\"name\":\"executeProposal\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unblockMe\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalRewardToken\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"actualBalance\",\"outputs\":[{\"name\":\"_actualBalance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"closingTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"indexed\":false,\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowedRecipients\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferWithoutReward\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"refund\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_recipient\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_description\",\"type\":\"string\"},{\"indexed\":false,\"name\":\"_transactionData\",\"type\":\"bytes\"},{\"indexed\":false,\"name\":\"_debatingPeriod\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_newCurator\",\"type\":\"bool\"}],\"name\":\"newProposal\",\"outputs\":[{\"name\":\"_proposalID\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"indexed\":false,\"name\":\"\",\"type\":\"address\"}],\"name\":\"DAOpaidOut\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minQuorumDivisor\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_newContract\",\"type\":\"address\"}],\"name\":\"newContract\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"indexed\":false,\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_recipient\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_allowed\",\"type\":\"bool\"}],\"name\":\"changeAllowedRecipients\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"halveMinQuorum\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"indexed\":false,\"name\":\"\",\"type\":\"address\"}],\"name\":\"paidOut\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_proposalID\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_newCurator\",\"type\":\"address\"}],\"name\":\"splitDAO\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"DAOrewardAccount\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"proposalDeposit\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"numberOfProposals\",\"outputs\":[{\"name\":\"_numberOfProposals\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastTimeMinQuorumMet\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_toMembers\",\"type\":\"bool\"}],\"name\":\"retrieveDAOReward\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"receiveEther\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isFueled\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_tokenHolder\",\"type\":\"address\"}],\"name\":\"createTokenProxy\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"indexed\":false,\"name\":\"_proposalID\",\"type\":\"uint256\"}],\"name\":\"getNewDAOAddress\",\"outputs\":[{\"name\":\"_newDAO\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_proposalID\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_supportsProposal\",\"type\":\"bool\"}],\"name\":\"vote\",\"outputs\":[{\"name\":\"_voteID\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"getMyReward\",\"outputs\":[{\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"indexed\":false,\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewardToken\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFromWithoutReward\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"indexed\":false,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"remaining\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_proposalDeposit\",\"type\":\"uint256\"}],\"name\":\"changeProposalDeposit\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"indexed\":false,\"name\":\"\",\"type\":\"address\"}],\"name\":\"blocked\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"curator\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"indexed\":false,\"name\":\"_proposalID\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_recipient\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_transactionData\",\"type\":\"bytes\"}],\"name\":\"checkProposalCode\",\"outputs\":[{\"name\":\"_codeChecksOut\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"privateCreation\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_curator\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_daoCreator\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_proposalDeposit\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_minTokensToCreate\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_closingTime\",\"type\":\"uint256\"},{\"indexed\":false,\"name\":\"_privateCreation\",\"type\":\"address\"}],\"payable\":false,\"type\":\"constructor\"},{\"constant\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"payable\":false,\"type\":\"event\"},{\"constant\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"payable\":false,\"type\":\"event\"},{\"constant\":false,\"inputs\":[{\"indexed\":false,\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"FuelingToDate\