> For a complete page index, fetch https://docs.conduit.xyz/llms.txt

# eth_getTransactionBySenderAndNonce

POST https://rpc.plume.org/YOUR_API_KEY
Content-Type: application/json

**Availability:** Supported on Reth-based (op-reth) endpoints only. Geth- and Nitro-based endpoints return `-32601 method not found`.

Looks up a mined transaction by its sender address and nonce, without needing the transaction hash. Useful for checking whether a specific nonce from an account has been included on chain.

⚡ Compute Units: [20 CU](https://docs.conduit.xyz/rpc-nodes/information/compute-units)

Reference: https://docs.conduit.xyz/rpc-nodes/json-rpc-reference/eth-get-transaction-by-sender-and-nonce

## Request

### Body (application/json)

This endpoint expects an object.

- `sender` (string, required) — 20-byte sender address.
- `nonce` (string, required) — Transaction nonce.

## Response

### 200

Transaction object, or `null` if no transaction with that sender and nonce has been mined.

- `hash` (string, required) — 32-byte hash of the transaction
- `from` (string, required) — 20-byte address of the sender
- `to` (string, required, nullable) — 20-byte address of the receiver, or null for contract-creation transactions.
- `value` (string, required) — Value transferred in wei
- `gasPrice` (string, required) — Gas price provided by the sender in wei
- `gas` (string, required) — Gas provided by the sender
- `input` (string, required) — Data sent along with the transaction
- `nonce` (string, optional) — Number of transactions made by the sender prior to this one
- `blockHash` (string, optional, nullable) — 32-byte hash of the block where this transaction was included. Null for pending transactions (mempool, not yet mined).
- `blockNumber` (string, optional, nullable) — Block number where this transaction was included. Null for pending transactions.
- `transactionIndex` (string, optional, nullable) — Integer of the transaction's index position in the block. Null for pending transactions.
- `type` (string, optional) — Transaction type as hex-encoded byte. Standard EIP values: 0x0 legacy, 0x1 EIP-2930 access list, 0x2 EIP-1559, 0x3 EIP-4844 blob, 0x4 EIP-7702 authorization. Some rollup stacks define additional types (e.g. 0x7E OP-Stack deposit transactions); these values are stack-specific.
- `chainId` (string, optional) — Chain ID the transaction was signed for
- `accessList` (list of TransactionAccessListItems, optional) — EIP-2930 access list (present on type 0x1 and 0x2+)
- `maxFeePerGas` (string, optional) — EIP-1559 max total fee per gas (present on type 0x2+)
- `maxPriorityFeePerGas` (string, optional) — EIP-1559 max miner tip per gas (present on type 0x2+)
- `maxFeePerBlobGas` (string, optional) — EIP-4844 max fee per blob gas (present on type 0x3)
- `blobVersionedHashes` (list of string, optional) — EIP-4844 versioned hashes of blob commitments (present on type 0x3)
- `yParity` (string, optional) — Signature y-parity (present on type 0x1+ instead of v)
- `v` (string, optional) — Signature recovery byte (legacy and EIP-155 transactions)
- `r` (string, optional) — Signature r component
- `s` (string, optional) — Signature s component

## Types

### TransactionAccessListItems

- `address` (string, required)
- `storageKeys` (list of string, required)

## Examples

**Request**

```json
[
  "0x5950baf9a858e3ea17fd6e753d3ac6f3e9152387",
  "0x121"
]
```

**Response**

```json
{
  "id": "1",
  "jsonrpc": "2.0",
  "result": {
    "accessList": [],
    "blockHash": "0xb59a93307822dde945d245538281d98bf2a8604a7e2b821b5977ff543ec9810e",
    "blockNumber": "0x1053d01",
    "blockTimestamp": "0x6ade5b01",
    "chainId": "0xa7679",
    "from": "0x5950baf9a858e3ea17fd6e753d3ac6f3e9152387",
    "gas": "0xc0e5",
    "gasPrice": "0x249f0",
    "hash": "0x26f210abcb961f7c351ccd0c58fc433c7e66316f4e46197fe8903bfa7dbb0df1",
    "input": "0xa9059cbb000000000000000000000000ed9ab5bc05a0152b9dc2f7902e8369af7bc187710000000000000000000000000000000000000000000110bb5e07796cd9900000",
    "maxFeePerGas": "0x249f0",
    "maxPriorityFeePerGas": "0x249f0",
    "nonce": "0x121",
    "r": "0xb380169cf085839adb10299cf2b1d1925e3afaeccedf42e4f6b9e35f95329d7c",
    "s": "0x5e6da65415846c7d25b5e818000c28951b69182b8e70c616d2803be15a8f3b64",
    "to": "0x4e742319f6b0fec4afa504fc8ed3ceab0fb751a2",
    "transactionIndex": "0x1",
    "type": "0x2",
    "v": "0x0",
    "value": "0x0",
    "yParity": "0x0"
  }
}
```

**SDK Code**

```python
import requests

url = "https://rpc.plume.org/YOUR_API_KEY"

payload = ["0x5950baf9a858e3ea17fd6e753d3ac6f3e9152387", "0x121"]
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://rpc.plume.org/YOUR_API_KEY';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '["0x5950baf9a858e3ea17fd6e753d3ac6f3e9152387","0x121"]'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://rpc.plume.org/YOUR_API_KEY"

	payload := strings.NewReader("[\n  \"0x5950baf9a858e3ea17fd6e753d3ac6f3e9152387\",\n  \"0x121\"\n]")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://rpc.plume.org/YOUR_API_KEY")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "[\n  \"0x5950baf9a858e3ea17fd6e753d3ac6f3e9152387\",\n  \"0x121\"\n]"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://rpc.plume.org/YOUR_API_KEY")
  .header("Content-Type", "application/json")
  .body("[\n  \"0x5950baf9a858e3ea17fd6e753d3ac6f3e9152387\",\n  \"0x121\"\n]")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://rpc.plume.org/YOUR_API_KEY', [
  'body' => '[
  "0x5950baf9a858e3ea17fd6e753d3ac6f3e9152387",
  "0x121"
]',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://rpc.plume.org/YOUR_API_KEY");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "[\n  \"0x5950baf9a858e3ea17fd6e753d3ac6f3e9152387\",\n  \"0x121\"\n]", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = ["0x5950baf9a858e3ea17fd6e753d3ac6f3e9152387", "0x121"] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://rpc.plume.org/YOUR_API_KEY")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```