API接口

circle-info

API 服务限 VIP 可用(距离VIP失效时长 > 三个月),联系客服获取

一、规范说明

请求结构

在header里加入 x-api-key 用来确认身份

二、接口定义

2.1 监控历史

  • 接口说明: 获取solana监控历史

  • 接口地址: /alertdog/monitor/xapi/solana/wallet/history

  • 请求方式: GET

2.1.1 请求参数

参数名称
类型
出现要求
描述

pageFlip

string

option

允许传入 prev 和 next 两个值 prev: 查询大于 cursor id 的事件 , next: 查询小于 cursor id 的事件

cursor

int

option

cursor id 事件id

limit

int

option

每页数量 1000

请求示例:

2.1.2 返回结果

参数名称
类型
出现要求
描述

page

object

R

前后页锚点

result

array

R

历史数据

result.event_type

Action

R

事件类型

result.event_time

int

R

事件触发时间

result.wallet

object

R

监控钱包

result.event

object

R

事件具体信息

result.event.lost_token_count

int

R

支出多少种代币

result.event.receive_token_count

int

R

收到多少种代币

result.event.action

Action

R

事件类型

result.event.Side

Action

R

方向

result.event.lost

array

R

支出明细

result.event.receive

array

R

收到明细

result.event.master_token

object

R

该事件主要目标代币

示例:

2.1.3 Action 值对应解释

描述

2

Send 支出

3

Trade 兑换

4

Receive 收到

5

mint 铸造

6

Buy 买入

7

Sell 卖出

8

Transfer 转移

9

Swap 交易

10

Listing 挂单

11

AirDrop 空投

2.1.4 示例

监控最新事件:

获取历史事件:

Last updated