Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions components/method-docs/ethereum/EthereumMethod_subscribe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,17 @@ const REQUEST_PARAMS: RequestParamProp = [
paramDescription:
"Returns logs matching filter criteria in newly imported blocks.",
},
{
paramName: "newPendingTransactions",
type: "string",
paramDescription:
"Allows to receive real-time notifications regarding new pending transactions.",
},
{
paramName: "drpc_pendingTransactions",
type: "string",
paramDescription:
"Allows to receive real-time notifications regarding new pending transactions. Functionality expansion is planned.",
"Allows to receive real-time notifications regarding new pending transactions with the full transaction objects.",
},
],
},
Expand Down Expand Up @@ -245,7 +251,6 @@ const USE_CASES = [
];

const CONSTRAINTS = [
"drpc_pendingTransactions instead of newPendingTransaction",
"Requires continuous WebSocket connection to the node",
"Node must support eth_subscribe method",
];
2 changes: 1 addition & 1 deletion pages/pricing/subscriptions/evm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Receive notifications for each new block added to the blockchain. Each update co
**Logs (logs)** \
Filter smart contract events by address or topics. Could be used for tracking specific activities in decentralized applications (e.g., token transfers or contract state changes).

**Pending Transactions: dRPC doesn't support this type of subscription** \
**Pending Transactions (newPendingTransactions/drpc_pendingTransactions)** \
Monitor unconfirmed transactions as they are added to the mempool.

Example: Subscribe to New Blocks
Expand Down
Loading