/

Ethereum Classic (ETC)

etc

Ethereum Classic (ETC)

Method: POST priv_getPrivacyPrecompileAddress

dropdown
POST

priv_getPrivacyPrecompileAddress

Method not allowed

Returns the address of the privacy precompiled contract. The address is derived and based on the value of the privacy-onchain-groups-enabled option.

Parameters

-

Request

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


Response

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