ONT
POST
GET
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}
Method not allowed
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
}
]
}
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }