collateralhash

From Talleo Wiki
Revision as of 13:58, 24 March 2020 by Mika (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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