eth_getTransactionBySenderAndNonce JSON-RPC method retrieves transaction information by specifying the sender address and transaction nonce on the Hyperliquid EVM blockchain. This method is particularly useful for tracking specific transactions when you know the sender and the sequence number of their transaction.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
The method accepts two parameters:- Sender address (string, required) — The address of the transaction sender
- Nonce (string, required) — The transaction nonce as a hexadecimal string
Parameter details
- address— The Ethereum address that sent the transaction
- nonce— The transaction sequence number for the sender, in hexadecimal format with “0x” prefix
Response
The method returns detailed transaction information if found, ornull if no transaction exists for the specified sender and nonce.
Response structure
Transaction object (if found):- blockHash— Hash of the block containing the transaction
- blockNumber— Block number containing the transaction (hexadecimal)
- from— Address of the transaction sender
- gas— Gas limit provided for the transaction (hexadecimal)
- gasPrice— Gas price used for the transaction (hexadecimal)
- hash— Transaction hash
- input— Transaction data payload
- nonce— Transaction nonce (hexadecimal)
- to— Address of the transaction recipient
- transactionIndex— Position of transaction in the block (hexadecimal)
- value— Value transferred in the transaction (hexadecimal, in wei)
- type— Transaction type (hexadecimal)
- v,- r,- s— Transaction signature components
- Returns nullif no transaction is found for the specified sender and nonce
Usage example
Basic transaction lookup
Example request
Shell
Use cases
Theeth_getTransactionBySenderAndNonce method is essential for applications that need to:
- Transaction tracking: Track specific transactions by sender and sequence number
- Nonce management: Implement robust nonce management and transaction sequencing
- Wallet applications: Build wallet interfaces that track user transaction history
- Pending transaction monitoring: Monitor pending transactions and detect stuck transactions
- Transaction replacement: Implement transaction replacement and speed-up mechanisms
- Account analysis: Analyze account transaction patterns and behavior
- Debugging tools: Debug transaction issues and investigate failed transactions
- DeFi protocols: Track protocol interactions and user transaction sequences
- MEV protection: Detect and prevent MEV attacks by monitoring transaction sequences
- Audit tools: Build audit tools that trace transaction flows and account activity
- Analytics platforms: Create analytics dashboards that track user transaction patterns
- Risk management: Implement risk management systems that monitor transaction behavior
- Compliance monitoring: Monitor transactions for compliance and regulatory requirements
- Trading bots: Implement trading bots that track their own transaction sequences
- Arbitrage strategies: Monitor arbitrage transaction sequences and timing
- Cross-chain bridges: Track cross-chain transaction sequences and confirmations
- Oracle services: Monitor oracle transaction sequences and data submission patterns
- Gaming applications: Track gaming transaction sequences and player interactions
- NFT platforms: Monitor NFT transaction sequences and trading patterns
- Social recovery: Implement social recovery mechanisms based on transaction patterns
- Security monitoring: Detect suspicious transaction patterns and potential attacks
- Performance optimization: Optimize transaction submission and nonce management
- Development frameworks: Build development tools with transaction tracking capabilities
- Testing suites: Create comprehensive testing suites for transaction scenarios
Body
application/json
JSON-RPC version
Available options: 
2.0 The RPC method name
Available options: 
eth_getTransactionBySenderAndNonce Parameters: [sender_address, nonce]
Request identifier