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

grs
Groestlcoin (GRS)

Method: POST getmempoolentry

dropdown

方法 RPC getmempoolentry 例如 Groestlcoin (GRS)

POST getmempoolentry

返回给定交易的MEMPOOL数据

Parameters

txid - 字符串,需要

交易ID(必须在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": "getmempoolentry",
"params": ["b241c93650f94a28901fca79e03d322508b3c17b266c5424cc8dc3f65256e504"],
"id": "getblock.io"}'


Response

{
    "ancestorcount": 1,
    "ancestorfees": 100000,
    "ancestorsize": 225,
    "bip125-replaceable": false,
    "depends": [],
    "descendantcount": 1,
    "descendantfees": 100000,
    "descendantsize": 225,
    "fee": 0.001,
    "fees": {
        "ancestor": 0.001,
        "base": 0.001,
        "descendant": 0.001,
        "modified": 0.001
    },
    "height": 678425,
    "modifiedfee": 0.001,
    "spentby": [],
    "time": 1617958131,
    "unbroadcast": false,
    "vsize": 225,
    "weight": 900,
    "wtxid": "d56bc87e605bef45e1e63f43ece2a08edc80c65c709c7be33df6fa3c7f34688b"
}