Skip to main content
Version: 1.29.0

parity namespace

parity_clearEngineSigner

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "parity_clearEngineSigner",
"params": []
}'

parity_enode

Returns the node enode URI.

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "parity_enode",
"params": []
}'

parity_getBlockReceipts

Get receipts from all transactions from particular block, more efficient than fetching the receipts one-by-one.

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "parity_getBlockReceipts",
"params": [blockParameter]
}'

parity_netPeers

Returns connected peers. Peers with non-empty protocols have completed handshake.

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "parity_netPeers",
"params": []
}'

parity_pendingTransactions

Returns a list of transactions currently in the queue. If address is provided, returns transactions only with given sender address.

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "parity_pendingTransactions",
"params": [address]
}'

parity_setEngineSigner

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "parity_setEngineSigner",
"params": [address, password]
}'

parity_setEngineSignerSecret

curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "parity_setEngineSignerSecret",
"params": [privateKey]
}'