-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The current endpoint for get-balance-stx returns the unlocked balance, e.g.
Returns:
155844000
Which matches the unlocked balance and doesn't indicate anything about the 10.2M STX locked.
This comes from stx-get-balance in the treasury contract, so we may need to switch to calling the Hiro API.
Returns:
{
"balance": "10216532085394",
"total_sent": "0",
"total_received": "10216532085394",
"total_fees_sent": "0",
"total_miner_rewards_received": "0",
"lock_tx_id": "0x117c1a1ccb8242cdaf52012623a52fadb0f0e78cb34e0ad4f7046717dc92f8be",
"locked": "10216376241394",
"lock_height": 107391,
"burnchain_lock_height": 791949,
"burnchain_unlock_height": 794150
}
Metadata
Metadata
Assignees
Labels
No labels
