Parameters
chainId
string
default:"40"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"ots_getInternalOperations"
required
JSON-RPC method name.
The parameters for the method ots_getInternalOperations: [txHash].Positional parameters for ots_getInternalOperations:params[]: 32 Bytes - Hash of the transaction.
Returns
Array of operations sorted by their occurrence inside the transaction.
Represents an individual ETH operation within a transaction.
Operation type: 0 = transfer, 1 = self-destruct, 2 = create, 3 = create2.
Sender address: ETH sender, contract creator, or contract being self-destructed.
Receiver address: ETH recipient, newly created contract address, or target of a self-destruct.
Amount of ETH transferred, in hexadecimal Wei.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=40 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "ots_getInternalOperations",
"params": [
"0x9e63085271890a141297039b3b711913699f1ee4db1acb667ad7ce304772036b"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": []
}