IRPC.php 424 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * This file is part of web3.php package.
  4. *
  5. * (c) Kuan-Cheng,Lai <alk03073135@gmail.com>
  6. *
  7. * @author Peter Lai <alk03073135@gmail.com>
  8. * @license MIT
  9. */
  10. namespace blockchain\web3\src\Methods;
  11. interface IRPC
  12. {
  13. /**
  14. * __toString
  15. *
  16. * @return array
  17. */
  18. public function __toString();
  19. /**
  20. * toPayload
  21. *
  22. * @return array
  23. */
  24. public function toPayload();
  25. }