You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
561 B

  1. #
  2. #curl http://127.0.0.1:8089/api/0.0/version
  3. #curl http://127.0.0.1:8089/api/0.0/audit
  4. curl http://127.0.0.1:8089/api/0.0/getheight
  5. echo ''
  6. curl http://127.0.0.1:8089/api/0.0/getchain
  7. echo ''
  8. curl -s http://127.0.0.1:8089/api/0.0/getblock?n=30
  9. echo ''
  10. curl -s http://127.0.0.1:8089/api/0.0/gettx?txaddr=ZTxB1ritiikyhjTXg28V7AjfqwkDyD8woJoz1yjC1T75
  11. echo ''
  12. curl -s http://127.0.0.1:8089/api/0.0/gettx?txaddr=ZtxqdiZ8wwpEN5dScJf1byU6hjfBLoSrFmCrUVNJmqPc
  13. echo ''
  14. cat txpool/tx.yml | sed -e "s/$/%0a/g" | curl -s -X POST http://127.0.0.1:8089/api/0.0/settx -d @-