⚡ We welcome businesses to test our enterprise-grade service

/

Ethereum Classic (ETC)

etc
Ethereum Classic (ETC)

Method: POST priv_call

dropdown

方法 RPC priv_call 例如 Ethereum Classic (ETC)

POST priv_call

Method not allowed

在本地调用私人合同功能,不会更改隐私组状态。

对于私人合同,Priv_call与公共合同的ETH_CALL相同。

Parameters

data - 没有任何

32字节隐私组ID。

object - 没有任何

事务调用对象。

quantity|tag - 没有任何

如块参数中所述,代表块号或最新的字符串标签之一。

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_call",
"params": [null, null, null],
"id": "getblock.io"}'


Response

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