EthGetTransactionByHashDto.php 477 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace App\Module\Blockchain\ApiDto;
  3. use App\Module\Blockchain\ApiDto\Result\EthGetTransactionByHashResultDto;
  4. /**
  5. * 以太坊获取交易详情DTO
  6. */
  7. class EthGetTransactionByHashDto
  8. {
  9. /**
  10. * @var string JSON-RPC版本
  11. */
  12. public string $jsonrpc;
  13. /**
  14. * @var int 请求ID
  15. */
  16. public int $id;
  17. /**
  18. * @var EthGetTransactionByHashResultDto 交易详情结果
  19. */
  20. public EthGetTransactionByHashResultDto $result;
  21. }