轉帳監聽
訂閱錢包地址後,服務解析多鏈轉帳並落庫。用 HTTP 管名單、查歷史;用 WebSocket 或 Webhook 收即時命中。
需要 X-API-Key。公網 WebSocket 路徑是 /tx/ws,不是 /tx/api/v1/transaction/ws。
能做什麼
| 能力 | 入口 |
|---|---|
| 增刪監聽地址 | POST /tx/api/v1/addresses |
| 排除推送地址 | POST /tx/api/v1/addresses/exclusions |
| 歷史轉帳 | POST /tx/api/v1/transfers/search |
| 即時推送 | wss://gateway.gelabs.org/tx/ws |
| 出站 Webhook | PUT /tx/api/v1/app/config |
已支持網路
用 chain_type(鏈族)+ chain_id 標識具體網路。chain_type 為 evm / svm / tvm / utxo,大小寫不敏感:
| 網路 | 鏈族 | chain_id |
|---|---|---|
| Ethereum | evm | 1 |
| Sepolia | evm | 11155111 |
| BSC | evm | 56 |
| Polygon | evm | 137 |
| Arbitrum | evm | 42161 |
| Optimism | evm | 10 |
| Base | evm | 8453 |
| Solana Mainnet | svm | 1 |
| Tron Mainnet | tvm | 728126428 |
| Bitcoin Mainnet | utxo | 1 |
WebSocket 幀是 {id,time,type,code,data,message}。Webhook 是 POST 裸陣列,請求頭 Sign。結構見 接口。
下一步:快速上手。