⚡ We welcome businesses to test our enterprise-grade service

grs
Groestlcoin (GRS)

Method: POST sendrawtransaction

dropdown

方法 RPC sendrawtransaction 例如 Groestlcoin (GRS)

POST sendrawtransaction

向本地节点和网络提交原始交易(序列化,十六进制)。

请注意,该交易将无条件地发送给所有同行,因此将其用于手动重新播放可能会通过泄露交易的来源来降低隐私,因为节点通常不会在其MEMPOOL中进行重新播放的非收入交易。

Parameters

hexstring - 字符串,需要

原始交易的十六进制字符串

maxfeerate - 数字或字符串,可选,默认值= 0.10

拒绝费率高于BTC/KB表示的指定价值的交易。

设置为0接受任何费用。

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


Response

{
    "error": null,
    "id": "getblock.io",
    "result": null
}