New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

2 min read

Method /api/v1/mempool/txstate/{hash} undefined ()
connect with REST protocol

/api/v1/mempool/txstate/{hash}

info-circle-fill

Method not allowed

info-circle-fill

Fetch transaction state in the memory pool

Parameters

hash - path

string

Tranaction hash

Request

curl --location --request GET 'https://ont.getblock.io/mainnet/rest//api/v1/mempool/txstate/db81c4e00f050c4f8e2f9c7e8201fddebd18458b3c48c73c18aa0532c7b5c43c' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 

Response

{
    "Action": "getmempooltxstate",
    "Desc": "SUCCESS",
    "Error": 0,
    "Version": "1.0.0",
    "Result": {
        "State": [
            {
                "Type": 1,
                "Height": 342,
                "ErrCode": 0
            },
            {
                "Type": 0,
                "Height": 0,
                "ErrCode": 0
            }
        ]
    }
}
banner icon

Start Building with GetBlock RPCs for Free