Skip to content

Monitoring accounts

Fabian Schuh edited this page Sep 15, 2015 · 8 revisions

To monitor accounts, we recommend to use get_full_accounts in order to fetch the current state of an account and automatically subscribe to future account updates including balance update.

A notification after a transaction would take the form:

[[
    {
      "owner": "1.2.3184", 
      "balance": 1699918247, 
      "id": "2.5.3", 
      "asset_type": "1.3.0"
    }, 
    {
      "most_recent_op": "2.9.74", 
      "pending_vested_fees": 6269529, 
      "total_core_in_orders": 0, 
      "pending_fees": 0, 
      "owner": "1.2.3184", 
      "id": "2.6.3184", 
      "lifetime_fees_paid": 50156232
    }
]]
Clone this wiki locally