ots_getInternalOperations JSON-RPC method retrieves all internal ETH transfers and operations that occurred within a transaction on the Hyperliquid EVM blockchain. This Otterscan-specific method reveals value transfers that happen inside smart contract execution, which are not visible in standard transaction receipts.
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
- transaction hash (string, required): The hash of the transaction to analyze
Response
The method returns an array of internal operation objects representing all value transfers within the transaction.Response structure
Each internal operation contains:- type— the operation type (0: transfer, 1: self-destruct, 2: create, 3: create2)
- from— the address sending the value
- to— the address receiving the value
- value— the amount of ETH transferred in wei (hex)
Usage example
Shell
Example response
Operation types
Thetype field indicates the operation:
- 0— Regular ETH transfer
- 1— Self-destruct (contract deletion with balance transfer)
- 2— Contract creation via CREATE opcode
- 3— Contract creation via CREATE2 opcode
Use cases
Theots_getInternalOperations method is essential for:
- Value flow analysis: Track how ETH moves through complex contract interactions
- DeFi debugging: Understand token swaps and liquidity operations
- Security auditing: Detect unexpected value transfers in contracts
- Payment splitting: Analyze how contracts distribute payments
- Fee tracking: Monitor protocol fees and revenue sharing
- MEV analysis: Study arbitrage and sandwich attack patterns
- Wallet tracking: Follow funds through mixer and privacy protocols
- Tax reporting: Identify all value transfers for accounting
- Contract verification: Ensure contracts handle ETH as expected
- Forensic analysis: Investigate exploits and fund movements
Body
application/json