⚡ Dedicated Nodes for ETH, BSC, MATIC & other Blockchains at a Reduced Price!

xmr

Monero (XMR)

Method: POST get_output_distribution

dropdown
POST

get_output_distribution

Parameters

amounts - 无符号整数数组

相当于寻找

cumulative - 布尔值

(可选,默认为 false)说明结果是否应该是累积的 (true) 或不是 (false)

from_height - 无符号整数;

(可选,默认为 0)要检查的起始高度

to_height - 无符号整数

(可选,默认为 0)要检查的结束高度

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