Skip to main content
Bespoke

linea_getTransactionExclusionStatusV1

Summary: Verify if a transaction exceeded data line limits

This request checks if a transaction was rejected for exceeding data line limits, preventing the prover from generating a proof to be included in a block. Rejected transaction data is only available within seven days of the transaction attempt. Querying older transactions returns a null response.

Parameters

transactionHash string
required

A string representing the hash (32 bytes) of a transaction.

Pattern: ^0x[0-9a-f]{64}$

Returns

linea_getTransactionExclusionStatusV1Response oneOf

Null response null

Null response

Exclusion details object

Only returned for transactions rejected by the sequencer.

txHash string

32 byte hex identifier for the transaction hash.

Pattern: ^0x[0-9a-f]{64}$

from string

Sender's address.

Pattern: ^0x[0-9a-fA-F]{40}$

nonce string

Account nonce; counter for the number of transactions sent from the account; for replay protection.

Pattern: ^0x([1-9a-f]+[0-9a-f]*|0)$

txRejectionStage enum

The point at which the transaction was rejected:

  • QUENCER: Rejected by the sequencer
  • C: Rejected by an RPC node
  • P: Rejected by a P2P-connected node

Enum:
"SEQUENCER"
"RPC"
"P2P"
reasonMessage string

The reason the transaction was rejected.

blockNumber string

Block number of the block that the transaction was rejected from, in hexadecimal.

Pattern: ^0x([1-9a-f]+[0-9a-f]*|0)$

timestamp string

Time of rejection, in ISO 8601 format.

Customize request
Parameter
Value
string
Request
curl https://linea-mainnet.infura.io/v3/<YOUR-API-KEY> \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "linea_getTransactionExclusionStatusV1",
"params": ["0x526e56101cf39c1e717cef9cedf6fdddb42684711abda35bae51136dbb350ad7"],
"id": 1
}'
Example response
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"txHash": "0x526e56101cf39c1e717cef9cedf6fdddb42684711abda35bae51136dbb350ad7",
"from": "0x4d144d7b9c96b26361d6ac74dd1d8267edca4fc2",
"nonce": "0x64",
"txRejectionStage": "SEQUENCER",
"reasonMessage": "Transaction line count for module ADD=402 is above the limit 70",
"blockNumber": "0x3039",
"timestamp": "2024-08-22T09:18:51Z"
}
}