Difference between revisions of "collateralhash"

From Talleo Wiki
Jump to navigation Jump to search
(Created page with "== Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Format |- | colspan="4" | none |} == Output == {| class="wikitable" ! Argument !! Description !! Fo...")
 
 
Line 16: Line 16:
  
 
== Description ==
 
== Description ==
* This method returns collateral hash for local node if node fee is enabled. Collateral hash can be used with secret view key and address of collateral wallet to verify that collateral has been paid.
+
* This method returns collateral hash for local node if node fee is enabled. Collateral hash can be used with secret view key and address of collateral wallet to verify that collateral has been paid.  
 +
* Empty string is returned if node fee is not enabled, and status is set to "Collateral hash not set or invalid.".
 +
 
 +
== Usage ==
 +
 
 +
=== cURL ===
 +
* <nowiki>curl http://127.0.0.1:33888/collateralhash</nowiki>

Latest revision as of 13:58, 24 March 2020

Input

Argument Mandatory Description Format
none

Output

Argument Description Format
collateralHash Transaction hash of collateral for local daemon string
status Status of request, "OK" if successful string

Description

  • This method returns collateral hash for local node if node fee is enabled. Collateral hash can be used with secret view key and address of collateral wallet to verify that collateral has been paid.
  • Empty string is returned if node fee is not enabled, and status is set to "Collateral hash not set or invalid.".

Usage

cURL

  • curl http://127.0.0.1:33888/collateralhash