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.

46 lines
756 B

3 years ago
  1. ---
  2. layout: simple
  3. ---
  4. # Transactions
  5. There are two types:
  6. 1. mempool transactions : pending validation
  7. 2. block transactions : confirmed transactions (organized in merkle tree)
  8. You can create a [transaction][1] using the [settx][2] [API][3] call.
  9. You can view transactions with the address :
  10. addr: <input name=addr size=38 value="ZtxZojTad7bmjVKH67eeRGeaEKkTNQtEdiTxEMKFXGbC">
  11. <button>view</button>
  12. <textarea id=json></textarea>
  13. txroot: <span id=txroot></span>
  14. <br>pow: <span id=pow></span>
  15. <br>url: <span id=url></span>
  16. ### inputs
  17. <ol id=in></ol>
  18. ### outputs
  19. <ol id=out></ol>
  20. ### signatures
  21. <ol id=sig></ol>
  22. ----
  23. <pre id=yaml></pre>
  24. [1]: /api/transaction.html
  25. [2]: /api/settx.html
  26. [3]: /api/
  27. <script src="transactions.js"></script>