⚡ We welcome businesses to test our enterprise-grade service

grs
Groestlcoin (GRS)

Method: POST submitblock

dropdown

方法 RPC submitblock 例如 Groestlcoin (GRS)

POST submitblock

Method not allowed

试图向网络提交新块。

Parameters

hexdata - 字符串,需要

十六进制编码的块数据提交

dummy - 字符串,可选,默认=忽略

虚拟值,与BIP22的兼容性。 此值被忽略。

Request

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


Response

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