跳转到主要内容
POST
列出每一笔改变了地址 SOL 余额的交易。每行包含以 lamports 表示的带符号变化量、变化前后的余额、slot、区块时间,以及该地址是否签名或支付了手续费。除转账外,手续费、租金和小费也会显示。
  • 默认最新优先。sortOrder: "asc" 要求第一页设置下界:blockTime 或 slot 配合 gte、gt 或 eq。
  • 可用 direction(in、out、all)、blockTime 和 slot 范围(gte、gt、lte、lt、eq;区块时间为 Unix 秒)以及以 lamports 表示的 minAbsChange 筛选。
  • 每页最多 1,000 行(limit,默认 100)。传入返回的 paginationToken 并保持相同参数即可继续;最后一页没有该字段。
  • 极少数无法解析签名的行会省略 signature。
  • 对于多年来活动非常稀疏的地址,如果某页返回的行数偏少,请加上 slot 或 blockTime 窗口。
费用:每次调用 2 积分,计入通用 RPS。 请求配置和错误处理见 RPC 快速入门。计费见积分与限制。

授权

api_key
string
query
必填

请求体

application/json
jsonrpc
enum<string>
必填

The JSON-RPC protocol version.

可用选项:
2.0
示例:

"2.0"

id
string
必填

A unique identifier for the request.

示例:

"1"

method
enum<string>
默认值:getSolBalanceChangesForAddress
必填

The name of the RPC method to invoke.

可用选项:
getSolBalanceChangesForAddress
示例:

"getSolBalanceChangesForAddress"

params
(string | object)[]
必填

The address, then an optional configuration object.

Address whose SOL balance changes to list, as a base-58 string.

示例:

"7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw"

响应

A page of SOL balance changes.

jsonrpc
enum<string>

The JSON-RPC protocol version.

可用选项:
2.0
示例:

"2.0"

id
string

Identifier matching the request.

示例:

"1"

result
object

One page of SOL balance changes.