Example code for the getrawmempool json-rpc method. Сomplete guide on how to use getrawmempool json-rpc in GetBlock.io Web3 documentation.
Parameters
format - boolean
Optional.
Set to true to get verbose output describing each transaction in the memory pool; set to false (the default) to only get an array of TXIDs for transactions in the memory pool.