POST
/
788f110831fe13808302bd79796d55e8
curl --request POST \
  --url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "1.0",
  "method": "getmemoryinfo",
  "params": [
    "stats"
  ],
  "id": 1
}'
{
  "result": {},
  "error": {},
  "id": 123
}

The getmemoryinfo method provides detailed information about the memory usage of the node. It can return data in two formats: a summary view (stats) or a detailed XML format (mallocinfo).

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • mode (optional): Specifies the format of the memory information. Can be either stats for a summary view or mallocinfo for detailed XML format. The default is stats.

Response

  • result — an object containing memory information in the requested format.
  • error — an object containing an error message if an error occurred, otherwise null.
  • id — an integer representing the ID of the request.

Use case

The getmemoryinfo method is useful for monitoring the memory usage of the node, helping in diagnosing memory-related issues or for general performance monitoring.

Body

application/json
jsonrpc
string
default:1.0
method
string
default:getmemoryinfo
params
enum<string>[]

The mode in which memory information should be returned. 'stats' for a summary view, 'mallocinfo' for detailed XML format.

Available options:
stats,
mallocinfo
id
integer
default:1

Response

200 - application/json
Detailed information about the node's memory usage.
result
object

Memory information in the requested format.

error
object
id
integer