📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

grs
Groestlcoin (GRS)

Method: POST gettxout

dropdown

方法 RPC gettxout 例如 Groestlcoin (GRS)

POST gettxout

返回有关未解决事务输出的详细信息。

Parameters

txid - 字符串,需要

交易ID

n - 数字,需要

VOUT号码

include_mempool - 布尔值,可选,默认值= true

是否包括孟买。 请注意,不会出现在MEMPOOL中的未输出输出。

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


Response

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