Txpool
The txpool RPC implementations follow Geth's txpool API guidelines (opens new window):
txpool_content (opens new window)- no required or optional parameters
txpool_inspect (opens new window)- no required or optional parameters
txpool_status (opens new window)- no required or optional parameters
Using the Txpool API
Since none of the currently supported txpool methods require a parameter, you can adapt the following curl command by changing the method for any of the txpool methods:
curl http://127.0.0.1:9933 -H "Content-Type:application/json;charset=utf-8" -d \
'{
"jsonrpc":"2.0",
"id":1,
"method":"txpool_status", "params":[]
}'
Last updated