post https://api.infstones.com/theta/mainnet/
This API returns the pending transactions in the mempool.
Parameters
None
Result
Result Fields
| Key | Type | Detail | 
|---|---|---|
| tx_hashes | String | the hashes of the transactions pending in the mempool | 
Example
Request
curl <your-endpoint> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"theta.GetPendingTransactions","params": [],"id":1}'Return
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "tx_hashes": [
            "0xaa8a05dba7872a4398c3a20dfcaf2b9fca1cb537f19d9ee05a848eafc09d8acf"
        ]
    }
}