πCDK Erigon RPC Methods
CDK-Erigon RPC Methods
Transaction Pool (txpool)
txpool)txpool_content
Description:
Returns details of all pending and queued transactions in the transaction pool.
Parameters:
None
Response:
Returns an object containing:
pending β A list of transactions waiting to be included in a block.
queued β A list of transactions that are queued due to nonce gaps.
Example:
{
"pending": { "0xSenderAddress": [ { "to": "0xReceiver", "value": "0x10" } ] },
"queued": { "0xSenderAddress": [ { "to": "0xReceiver", "value": "0x20" } ] }
}txpool_contentFrom
Description:
Fetches all pending and queued transactions from a specific sender.
Parameters:
address(string): The senderβs Ethereum address.
Response:
Returns the list of transactions originating from the specified sender.
Example:
{
"pending": [{ "to": "0xReceiver", "value": "0x10" }],
"queued": [{ "to": "0xReceiver", "value": "0x20" }]
}zkEVM Methods (zkevm)
zkevm)Other zkEVM Methods
zkevm_getForkById
Fetches details of a specific fork by its ID.
zkevm_getForks
Lists all available forks in the zkEVM environment.
zkevm_getLatestDataStreamBlock
Retrieves the latest block in the data stream.
zkevm_getLatestGlobalExitRoot
Returns the latest exit root for rollup transactions.
zkevm_getRollupAddress
Fetches the rollup contract address.
zkevm_getRollupManagerAddress
Retrieves the address of the rollup manager contract.
zkevm_getVersionHistory
Returns a list of version upgrades and changes.
Notes on Usage
State Verification: Some calls return trusted vs. verified results, meaning finality may depend on L1 settlement.
Performance Considerations: Calls returning large datasets (e.g.,
getWitness) may take longer to execute.Gas Considerations:
zkevm_estimateCountershelps optimize transaction gas usage in zkEVM environments.
For more details, refer to the Polygon zkEVM API Documentation: Polygon zkEVM Docs.
Last updated