Skip to Content
RPC ServicesEVM HTTP APIeth_getTransactionByHash
HTTP API

eth_getTransactionByHash

Return one transaction payload by transaction hash.

Methodeth_getTransactionByHash
Route familyEVM
StageGeneral availability

Available under EVM HTTP API. Use the chain-family pages for route switching and the method pages for exact request and response shapes.

Access patterns

PatternValueNotes
Compatibility URL (Recommended)POST /v1/{EVM_CHAIN}/{API_KEY}Public RPC onboarding uses one URL that already carries the API key. This fits mainstream wallets, RPC clients, and infrastructure tooling that expect one endpoint string.
Internal raw routePOST /rpc/{EVM_CHAIN}The gateway rewrites compatibility URLs to internal raw RPC routes. This internal route is implementation detail, not the preferred public onboarding form.

Examples

Compatibility URL example
curl -X POST "{RPC_HTTP_BASE_URL}/v1/ethereum/<api_key>" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "eth_getTransactionByHash", "params": [ "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"]}'
Try send

Try eth_getTransactionByHash

Send one direct browser request to the current hosted gateway base URL so the real network request is visible in devtools. The API key is only stored locally when you provide one.

Request fields

JSON-RPC request body

FieldTypeRequiredNotes
jsonrpcstringRequiredJSON-RPC version. Use `2.0`.
idstring | numberRequiredCaller request id.
methodstringRequiredAllowlisted chain method.
paramsarrayRequiredMethod arguments.

Response fields

JSON-RPC response body

FieldTypeNotes
jsonrpcstringJSON-RPC version.
idstring | numberEchoed request id.
resultunknownSuccessful method result.
errorobjectStandard JSON-RPC error object when the request fails.