eth

Ethereum (ETH)

Method: POST priv_getTransactionCount

dropdown

POST priv_getTransactionCount

方法不允许

返回指定账户和隐私组的私人交易计数。

Parameters

data -

帐户地址。

data -

隐私组 ID。

Request

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


Response

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