Get Wallet Activity
Retrieve decoded and categorized transaction history for any wallet address via Sim Dune API. Returns human-readable activity (transfers, swaps, approvals, NFT trades, staking, bridges) with timestamps, addresses, token amounts, and USD values. Most recent first. Pagination: default 20, max 100 items, use nextOffset for older activity. Ideal for: activity feeds, transaction notifications, audit trails, wallet behavior analysis.
目录操作 区块链数据
通过 Sim Dune API 获取任何钱包地址的已解码和分类的交易历史。返回人类可读的活动(转账、交换、授权、NFT 交易、质押、桥接),包含时间戳、地址、代币数量和 USD 值。最近活动优先。分页:默认 20 项,最大 100 项,使用 nextOffset 获取更早的活动。适用于:活动 feed、交易通知、审计轨迹、钱包行为分析。
概览
| 字段 | 值 |
|---|---|
| 操作 ID | sim-dune-get-wallet-activity |
| 类别 | 区块链数据 |
| 连接器 | 不需要 |
| 需要 gas | 否 |
| 资金移动 | 未声明 |
| 标签 | sim-dune, blockchain, wallet, transactions, activity, history, transfers, swaps, approvals, decoded, feed, read |
Payload 架构
| 字段 | 类型 | 必需 | 描述 |
|---|---|---|---|
address | string | 是 | 用于获取活动的钱包地址 |
chainIds | array | 否 | 要查询的链 ID(可选,默认所有支持的链) |
limit | number | 否 | 要返回的最大活动数量(默认:20,最大:100) |
offset | string | 否 | 用于分页的光标(使用前一次响应的 nextOffset) |
filterSpamTokens | boolean | 否 | 通过 B3OS 代币过滤服务后处理结果,从转账中移除垃圾代币和低流动性代币。默认:true |
结果架构
| 字段 | 类型 | 必需 | 描述 |
|---|---|---|---|
address | string | 是 | 查询的钱包地址 |
activities | array | 是 | 交易活动 |
hasMore | boolean | 是 | 是否有更多结果可用 |
nextOffset | string | null | 否 | 下一页结果的光标 |
warnings | array | 否 | API 警告(例如,不支持的链 ID) |
示例
json{ "type": "sim-dune-get-wallet-activity", "payload": { "address": "0x0000000000000000000000000000000000000000" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/sim-dune-get-wallet-activity/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "address": "0x0000000000000000000000000000000000000000" }}'
负载字段可以使用工作流表达式,例如 {{$trigger.body.amount}}、{{$nodes.fetch.result.price}} 和 {{$props.asset}},当值应来自触发器、先前节点或可重用工作流属性时。
