eth_getTransactionByHash
BaseC1Returns the transaction matching the given hash, or null if it is unknown or still pending propagation.
Endpoint
POST https://api.1st-node.com/v1/base/rpcParameters
| Name | Type | Description |
|---|---|---|
| hash | DATA, 32 bytes | Transaction hash. |
Returns
Object — the transaction, or null if not found.
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_getTransactionByHash",
"params": ["0x88df…"]
}'{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getTransactionByHash",
"params": ["0x88df…"]
}Response
{
"jsonrpc": "2.0",
"id": 1,
"result": { "hash": "0x88df…", "from": "0x…", "to": "0x…", "value": "0x0" }
}More transactions methods on Base
Пополнили, получили ключ, запустили.
Полное самообслуживание. Оплата криптой или картой. Тарификация в кредитах — тяжёлые примитивы дороже, простые дёшевы.
Получить API-ключ