如何获取交易列表-TransactionList

echo '{

"id": 2,

"jsonrpc": “2.0”,

"method": “get_transactions_by_lock_hash”,

"params": [

"0xc2d441a2fe62a114138076765d2439e9131304212618294f1d762eb6950317d6",

"0xa",

"0xe"

]

}’ | tr -d ‘\n’ | curl -H ‘content-type: application/json’ -d @- http://106.13.40.34:8114/

{“jsonrpc”:“2.0”,“error”:{“code”:-32601,“message”:“Method not found”},“id”:2}

  • indexer 模块默认不启用
  • 要获取大量地址的历史记录的话,光靠 rpc 查询基本不可行