📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

Last updated on January 1, 1970

1 min read

Method get_output_distribution Monero (XMR)
connect with JSON-RPC protocol



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


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"}'


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