tx_getBatchReceipt

根据交易哈希批量查询交易回执。

Parameters

  1. <Object>
  • hashs: [<string>] - 交易哈希数组,,哈希值为32字节的十六进制字符串。

Returns

  1. [<Receipt>] - Receipt对象字段见 Receipt.

Example

  1. # Request
  2. curl -X POST --data ' {"jsonrpc":"2.0","method":"tx_getBatchReceipt","params":[{
  3. "hashes":["0x22321358931c577ceaa2088d914758148dc6c1b6096a0b3f565d130f03ca75e4","0x7aebde51531bb29d3ba620f91f6e1556a1e8b50913e590f31d4fe4a2436c0602"]
  4. }],"id":1}'
  5.  
  6. # Response
  7. {
  8. "jsonrpc": "2.0",
  9. "namespace": "global",
  10. "id": 1,
  11. "code": 0,
  12. "message": "SUCCESS",
  13. "result": [
  14. {
  15. "version": "1.3",
  16. "txHash": "0x22321358931c577ceaa2088d914758148dc6c1b6096a0b3f565d130f03ca75e4",
  17. "vmType": "EVM",
  18. "contractAddress": "0x0000000000000000000000000000000000000000",
  19. "ret": "0x0000000000000000000000000000000000000000000000000000000000000005",
  20. "log": []
  21. },
  22. {
  23. "version": "1.3",
  24. "txHash": "0x7aebde51531bb29d3ba620f91f6e1556a1e8b50913e590f31d4fe4a2436c0602",
  25. "vmType": "EVM",
  26. "contractAddress": "0xaeccd2fd1118334402c5de1cb014a9c192c498df",
  27. "ret": "0x606060405263ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630a9ae69d811460465780638466c3e614606f575b600080fd5b3415605057600080fd5b60566098565b604051600391820b90910b815260200160405180910390f35b3415607957600080fd5b605660a9565b604051600391820b90910b815260200160405180910390f35b600054640100000000900460030b81565b60005460030b815600a165627a7a7230582073eeeb74bb45b3055f1abe89f428d164ef7425bf57a999d219cbaefb6e3c00800029",
  28. "log": []
  29. }
  30. ]
  31. }