curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getTransactionByHash",
"params": [
"0x33c3321b162edac1fdbb53af2962b2940c07e334a4f5ff758f1d5ef1235e55d0"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"hash": "0x33c3321b162edac1fdbb53af2962b2940c07e334a4f5ff758f1d5ef1235e55d0",
"nonce": "0x1",
"blockHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"blockNumber": "0x9d0c37",
"transactionIndex": "0x0",
"from": "0xFC1286EeddF81d6955eDAd5C8D99B8Aa32F3D2AA",
"to": "0x5555555555555555555555555555555555555555",
"value": "0xde0b6b3a7640000",
"gas": "0x5208",
"gasPrice": "0x3b9aca00",
"input": "0x",
"v": "0x1c",
"r": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"s": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"type": "0x0"
}
}
Returns transaction information by its hash.
curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getTransactionByHash",
"params": [
"0x33c3321b162edac1fdbb53af2962b2940c07e334a4f5ff758f1d5ef1235e55d0"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"hash": "0x33c3321b162edac1fdbb53af2962b2940c07e334a4f5ff758f1d5ef1235e55d0",
"nonce": "0x1",
"blockHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"blockNumber": "0x9d0c37",
"transactionIndex": "0x0",
"from": "0xFC1286EeddF81d6955eDAd5C8D99B8Aa32F3D2AA",
"to": "0x5555555555555555555555555555555555555555",
"value": "0xde0b6b3a7640000",
"gas": "0x5208",
"gasPrice": "0x3b9aca00",
"input": "0x",
"v": "0x1c",
"r": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"s": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"type": "0x0"
}
}
transactionHash
(string, required) — The 32-byte hash of the transactionnull
if the transaction is not found.
Transaction object:
hash
— Transaction hashnonce
— Transaction nonce (hex string)blockHash
— Hash of containing block (null if pending)blockNumber
— Number of containing block (null if pending)transactionIndex
— Index in block (null if pending)from
— Sender addressto
— Receiver address (null for contract creation)value
— Value transferred in wei (hex string)gas
— Gas limit (hex string)gasPrice
— Gas price in wei (hex string)input
— Transaction datav
, r
, s
— ECDSA signature componentstype
— Transaction type (0x0 for legacy, 0x2 for EIP-1559)Successful response with transaction information
The response is of type object
.