eth_getTransactionReceipt
BaseC1Returns the receipt for a mined transaction: status, gas used, contract address (for deployments) and emitted logs. Null while the transaction is still pending.
Endpoint
POST https://api.1st-node.com/v1/base/rpcParameters
| Name | Type | Description |
|---|---|---|
| hash | DATA, 32 bytes | Transaction hash. |
Returns
Object — the receipt, or null if pending/unknown.
Request
curl https://api.1st-node.com/v1/base/rpc \
-H "Authorization: Bearer $ONE_KEY" \
-H "content-type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getTransactionReceipt",
"params": ["0x88df…"]
}'{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getTransactionReceipt",
"params": ["0x88df…"]
}Response
{
"jsonrpc": "2.0",
"id": 1,
"result": { "status": "0x1", "gasUsed": "0x5208", "logs": [] }
}More transactions methods on Base
Preguntas frecuentes
How do I check if a tx succeeded?
The receipt's status field is "0x1" for success and "0x0" for revert.
Recarga, obtén tu clave y publica.
Autoservicio. Paga en cripto o con tarjeta. Medido por créditos: las primitivas pesadas cuestan más, las simples son baratas.
Obtener clave API