Skip to content

Commit

Permalink
copy edit
Browse files Browse the repository at this point in the history
  • Loading branch information
joaniefromtheblock authored Sep 30, 2024
1 parent cf2824a commit 27db699
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ Checks if a transaction was rejected for exceeding data line limits, preventing
a proof to be included in a block.

:::warning

You can only check for rejected transactions within seven days of the transaction attempt.
:::

If the transaction is rejected, the API call succeeds and provides the reason; otherwise, it returns
`null` as the result.
:::

The API call provides the rejection reason if the transaction fails.
It returns `null` if the transaction succeeds.

## Parameters

Expand All @@ -43,7 +44,7 @@ If the transaction is rejected, the API call succeeds and provides the reason; o

## Example

Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infura.io/dashboard).
Replace `<YOUR-API-KEY>` with an API key from your [Infura dashboard](https://infura.io/dashboard).

### Request

Expand All @@ -60,7 +61,7 @@ Replace `YOUR-API-KEY` with an API key from your [Infura dashboard](https://infu
<TabItem value="WSS">

```bash
wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc":"2.0", "method": "linea_getTransactionExclusionStatusV1", "params": ["0x526e56101cf39c1e717cef9cedf6fdddb42684711abda35bae51136dbb350ad7"], "id": 1}'
wscat -c wss://linea-mainnet.infura.io/ws/v3/YOUR-API-KEY -x '{"jsonrpc": "2.0", "method": "linea_getTransactionExclusionStatusV1", "params": ["0x526e56101cf39c1e717cef9cedf6fdddb42684711abda35bae51136dbb350ad7"], "id": 1}'
```

</TabItem>
Expand Down Expand Up @@ -97,4 +98,4 @@ found in the database, and a `null` result is returned. For example:
"id": 1,
"result": null
}
```
```

0 comments on commit 27db699

Please sign in to comment.