Transaktionen API
transactionsEine Transaktion nach Hash mit den Event-Logs des Transaction-Receipts abrufen oder die in einem Block enthaltenen Transaktionen auflisten.
Endpunkte
| Methode | Pfad | Beschreibung | CU / Aufruf | USD / 1M Aufrufe | Aufrufe pro kostenlosem Zyklus (ca.) |
|---|---|---|---|---|---|
| GET | /{chain}/transactions/{hash} | Eine Transaktion nach Hash abrufen | 5 | $0.50 | 6,000,000 |
| GET | /{chain}/blocks/{number}/transactions | Transaktionen eines Blocks auflisten | 10 | $1.00 | 3,000,000 |
Unterliegt zusätzlich einem Limit von 25 Aufrufen pro Sekunde.
Antwortfelder
GET/{chain}/transactions/{hash}
| Feld | Typ |
|---|---|
| block_number | integer |
| tx_index | integer |
| hash | string |
| block_timestamp | string |
| type | integer |
| from | string |
| to | string | null |
| value | string |
| nonce | integer |
| gas | integer |
| gas_price | string | null |
| max_fee_per_gas | string | null |
| max_priority_fee_per_gas | string | null |
| input | string |
| status | integer |
| gas_used | integer |
| cumulative_gas_used | integer |
| effective_gas_price | string | null |
| contract_address | string | null |
| log_count | integer |
| gas_used_for_l1 | integer | null |
| l1_block_number | integer | null |
| extra | object |
| logs | array |
GET/{chain}/blocks/{number}/transactions
| Feld | Typ |
|---|---|
| block_number | integer |
| tx_index | integer |
| hash | string |
| block_timestamp | string |
| type | integer |
| from | string |
| to | string | null |
| value | string |
| nonce | integer |
| gas | integer |
| gas_price | string | null |
| max_fee_per_gas | string | null |
| max_priority_fee_per_gas | string | null |
| input | string |
| status | integer |
| gas_used | integer |
| cumulative_gas_used | integer |
| effective_gas_price | string | null |
| contract_address | string | null |
| log_count | integer |
| gas_used_for_l1 | integer | null |
| l1_block_number | integer | null |
| extra | object |
Verfügbar auf Chains
Kurzbeispiel
curl -s "https://api.blockvectra.com/v1/data/base_mainnet/transactions/{hash}" -H "x-api-key: {api_key}"Dokumentation
Diesen Datensatz kostenlos testen
Erhalten Sie 30,000,000 CU bei der Registrierung, alle 30 Tage aufgefüllt.
Abgelehnte Anfragen werden nicht abgerechnet, und die Data API rechnet nur erfolgreiche Antworten ab.