curl --request POST \
--url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getRawTransactionByHash",
"id": 1,
"params": [
"0x1759c699e6e2b1f249fa0ed605c0de18998bc66556cd6ea3362f92f511aeb06a"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
curl --request POST \
--url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getRawTransactionByHash",
"id": 1,
"params": [
"0x1759c699e6e2b1f249fa0ed605c0de18998bc66556cd6ea3362f92f511aeb06a"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}
eth_getRawTransactionByHash
retrieves the raw transaction data as a hexadecimal string for a given transaction hash. This method is useful for obtaining the complete transaction data, including its signature.
transactionHash
— the hash of the transaction to retrieve.result
— the raw transaction data as a hexadecimal string.eth_getRawTransactionByHash
method is essential for:
Raw transaction data for the given hash
The response is of type object
.