Skip to main content

debug_startCollectingTrieStats RPC Method

The startCollectingTrieStats iterates the latest state or storage trie to collect trie statistics. It collects storage trie statistics of the contract in the given address. If an empty address(='0x00...00') is given, it collects statistics of the whole state trie.

Updated on
Aug 7, 2024

debug_startCollectingTrieStats RPC Method

Parameters

address
array
REQUIRED
The contract address

Returns

result
array
Return null if collecting trie statistics task is started, or an error if not
Request
1
curl https://docs-demo.kaia-kairos.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "debug_startCollectingTrieStats",
6
"id": 1,
7
"jsonrpc": "2.0",
8
"params": ["0x0000000000000000000000000000000000000000"]
9
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free