Difference between revisions of "get amounts for account"

From Talleo Wiki
Jump to navigation Jump to search
(Created page with "== Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Format |- | transaction || yes || Transaction hash to check || string |- | account || yes || Wallet...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{DISPLAYTITLE:get_amounts_for_account}}
 
== Input ==
 
== Input ==
 
{| class="wikitable"
 
{| class="wikitable"
Line 14: Line 15:
 
! Argument !! Description !! Format
 
! Argument !! Description !! Format
 
|-
 
|-
| amount || Total sum of matching outputs in atomic units || uint64
+
| amount || Total sum of matching outputs in [[atomic unit]]s || uint64
 
|-
 
|-
 
| status || Status of the request, "OK" if successful || string
 
| status || Status of the request, "OK" if successful || string

Latest revision as of 10:50, 24 March 2020

Input

Argument Mandatory Description Format
transaction yes Transaction hash to check string
account yes Wallet address of recipient string
viewKey yes Secret view key of "account" string

Output

Argument Description Format
amount Total sum of matching outputs in atomic units uint64
status Status of the request, "OK" if successful string

Description

  • This method can be used to verify that a transaction contains transfer to specific wallet address and that the sum of the outputs to that wallet is high enough.