Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.09 KB

dlt_get_tx_outset_info.md

File metadata and controls

40 lines (34 loc) · 1.09 KB
title type
Get Unspent Transaction Outputs Stats
dlt

Get Unspent Transaction Outputs Stats

Returns statistical information about unspent transaction outputs for the currently accepted block. This function is provided to improve compatibility with Bitcoin-based or derivative exchanges. Please note that due to the differences in technology, the information returned by this API call differs from the results of calling a similar function in Bitcoin's API. For Ixian, only the as-yet unapplied transactions are included in the calculation.

Method: gettxoutsetinfo

Input parameters:

None

Errors:

Error Description
RPC_INTERNAL_ERROR An unknown error occurred in the node. Please check the node log for details.

Output:

  • success: statistics about unapplied transactions

Example:

GET http://localhost:8081/gettxoutsetinfo

{
	"result": {
		"height": 432189,
		"bestblock": "oqXr3eKVDkYao7BxABnOfzYjXvvUIEbWeDXjGNasQl3A2Z2327QU/7sW3rw=",
		"transactions": 44,
		"txouts": 49,
		"total_amount": "50000.00005000"
	},
	"error": null,
	"id": null
}