curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_mutexProfile",
"params": [
"",
0
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}
Captures mutex contention profile information and writes it to the specified file.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_mutexProfile",
"params": [
"",
0
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}
debug_mutexProfile:params[0]: Destination file for the mutex profile.params[1]: Duration to capture in seconds.true.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_mutexProfile",
"params": [
"",
0
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}
Was this page helpful?