ots
ots_getInternalOperations
Returns the internal operations (value transfers, contract creations, self-destructs) within a transaction.
Returns the internal operations (value transfers, contract creations, self-destructs) within a transaction.
Parameters
| # | Type | Description |
|---|---|---|
| 1 | string | Transaction hash. |
Returns
Array of internal operation objects:
| Field | Type | Description |
|---|---|---|
type | number | Operation type: 0 = transfer, 1 = self-destruct, 2 = create, 3 = create2. |
from | string | Source address. |
to | string | Destination address. |
value | string | Value transferred (hex). |
Example
curl -s -X POST https://rpc.pulsechain.box \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"ots_getInternalOperations","params":["0x5a9e14d0806ab9e1d031755dfcab5e808da0b4c7933bc9c055f70614cc11903d"],"id":1}'
TRY IT
Notes
- Returns an empty array if the transaction has no internal operations.
- Useful for tracking internal ETH/PLS transfers that don't appear in the standard transaction receipt.
ots_searchTransactionsAfter
Returns transactions sent or received by an address, searching forwards from a given transaction index.
ots_traceTransaction
Returns a simplified trace of all call frames within a transaction, similar to debug_traceTransaction but with a simpler output format designed for Otterscan.
