⚡ We welcome businesses to test our enterprise-grade service

dgb
DigiByte (DGB)

Method: POST getreceivedbyaddress

dropdown

方法 RPC getreceivedbyaddress 例如 DigiByte (DGB)

POST getreceivedbyaddress

Method not allowed

回报给定地址在交易中收到的总金额,并至少有MinConf确认。

Parameters

address - 字符串,需要

交易的比特币地址。

minconf - 数字,可选,默认值= 1

仅包括交易至少已确认这次。

Request

curl --location --request POST 'https://dgb.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "getreceivedbyaddress",
"params": [null, null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}