getrawmempool

Obtains a list of confirmed / unconfirmed transactions in memory.

Parameters

Object NameRequiredTypeDetail
VERBOSEBoolean/IntegerIf false or 0, only return confirmed transactions received by nodes. If true or 1, gets all the transactions including both confirmed and unconfirmed transactions. Default is false.
"params":[1]

Result

A list of confirmed / unconfirmed transactions in memory.

Example

Request

curl <your-endpoint> \
   -X POST \
   -H "Content-Type: application/json" \
   -d '{"jsonrpc": "2.0", "method": "getrawmempool", "params":[1],"id": 1}'

Return

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "height": 1315151,
        "verified": [
            "0x539c929a68c956140861f1d7771f22409ae9ed22f545ccdcd62195e6b6c07be3"
        ],
        "unverified": []
    }
}
Language
Click Try It! to start a request and see the response here!