Skip to main content
Plasma API method that returns the transaction information by sender address and nonce.

Parameters

  • address — the sender address
  • quantity — the transaction nonce

Response

  • object — a transaction object, or null when no transaction was found

eth_getTransactionBySenderAndNonce code examples

const { JsonRpcProvider } = require("ethers");

const provider = new JsonRpcProvider("CHAINSTACK_NODE_URL");

async function call() {
  const result = await provider.send("eth_getTransactionBySenderAndNonce", []);
  console.log(result);
}

call();