Difference between revisions of "feeaddress"

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 fee address of local daemon if daemon has node fee enabled, fee amount is calculated based on total transaction amount and is between 0.01 and 1.00 TLO
+
* This method returns fee address of local daemon if daemon has node fee enabled, fee amount is calculated based on total transaction amount and is between 0.01 and 1.00 TLO. Empty string will be returned if node fee is not enabled.
 +
 
 +
== Usage ==
 +
 
 +
=== cURL ===
 +
* <nowiki>curl http://127.0.0.1:33888/feeaddress</nowiki>

Latest revision as of 13:54, 24 March 2020

Input

Argument Mandatory Description Format
none

Output

Argument Description Format
fee_address Fee address of local daemon string
status Status of request, "OK" if successful string

Description

  • This method returns fee address of local daemon if daemon has node fee enabled, fee amount is calculated based on total transaction amount and is between 0.01 and 1.00 TLO. Empty string will be returned if node fee is not enabled.

Usage

cURL

  • curl http://127.0.0.1:33888/feeaddress