Logo
Core Blockchain's Public API Documentation

writeMemProfile

POST {{ENVIRONMENT}}

Writes an allocation profile to the given file. Note that the profiling rate cannot be set through the API, it must be set on the command line using the --memprofilerate flag.

Parameters

STRING - File location.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'ENVIRONMENT' -d '{"jsonrpc":"2.0","method":"debug_writeBlockProfile","params":["./examprofile.txt"],"id":1}'

ENDPOINTS