xmr

Monero (XMR)

Method: POST get_output_distribution

dropdown
POST

get_output_distribution

Parameters

amounts - array of unsigned int

amounts to look for

cumulative - boolean

(optional, default is false) States if the result should be cumulative (true) or not (false)

from_height - unsigned int;

(optional, default is 0) starting height to check from

to_height - unsigned int

(optional, default is 0) ending height to check up to

Request

curl --location --request POST 'https://xmr.getblock.io/mainnet/json_rpc' \ 
--header 'x-api-key: YOUR-API-KEY' \ 
--header 'Content-Type: application/json' \ 
--data-raw '{"jsonrpc": "2.0",
"method": "get_output_distribution",
"params": {"amounts": 628780000, "from_height": 1462078},
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "credits": 0,
        "status": "OK",
        "top_hash": "",
        "untrusted": false
    }
}