Parameters
Hash of the transaction (32 bytes)
Returns
Transaction object or
nullShow properties
Show properties
Transaction hash
Sender nonce (hex)
Block hash (null if pending)
Block number (null if pending)
Transaction index (null if pending)
Sender address
Recipient address (null for contract creation)
Value transferred in wei (hex)
Gas price in wei (hex)
Gas provided (hex)
Transaction data (hex)
ECDSA recovery id
ECDSA signature r
ECDSA signature s
Example
curl -X POST "https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "eth_getTransactionByHash", "params": ["0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"], "id": 1}'
const response = await fetch('https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
"jsonrpc": "2.0",
"method": "eth_getTransactionByHash",
"params": [
"0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"
],
"id": 1
})
});
const { result } = await response.json();
console.log(result);
import requests
response = requests.post(
'https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET',
json={
"jsonrpc": "2.0",
"method": "eth_getTransactionByHash",
"params": [
"0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"
],
"id": 1
}
)
print(response.json()['result'])