eth_getTransactionByHash

BNB Smart ChainC1

Returns the transaction matching the given hash, or null if it is unknown or still pending propagation.

Endpoint
POST https://api.1st-node.com/v1/bsc/rpc

Parameters

NameTypeDescription
hashDATA, 32 bytesTransaction hash.

Returns

Object — the transaction, or null if not found.

Request

curl https://api.1st-node.com/v1/bsc/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 BNB Smart Chain

BNB Smart Chain API

Bakiye yükle, anahtarını al, yayına çık.

Self servis. Kripto ya da kartla öde. Krediyle ölçümlenir — ağır ilkel yapılar daha pahalı, basitler ucuz.

API anahtarı al