btg

BTG

POST

GET

chevron-right

Last updated on January 1, 1970

1 min read

Method listreceivedbyaddress undefined ()
connect with JSON-RPC protocol

listreceivedbyaddress

info-circle-fill

Method not allowed

info-circle-fill

List balances by receiving address.

Parameters

minconf - numeric, optional, default=1

The minimum number of confirmations before payments are included.

include_empty - boolean, optional, default=false

Whether to include addresses that haven’t received any payments.

include_watchonly - boolean, optional, default=true for watch-only wallets, otherwise false

Whether to include watch-only addresses (see ‘importaddress’)

address_filter - string, optional

If present, only return information on this address.

Request

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

Response

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

Start Building with GetBlock RPCs for Free