ots_getInternalOperations RPC Method
Parameters
txhash
string
REQUIRED
The transaction hash
Returns
result
array
An array of operations, sorted by their occurrence inside the transaction, which contains the following fields:
type
string
The type of transaction. It is (0) for transfer, (1) for self-destruct, (2) for create or (3) for create2
from
string
The ETH sender or contract creator
to
string
The ETH receiver or newly created contract address
value
string
The amount of ETH transferred
Request
1curl https://docs-demo.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"ots_getInternalOperations","params":["0x9483cb44bd1bcf06a75cab29cf43e838d31af5d76661967407425a49c9945fbc"],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free