트랜잭션 API
transactions해시로 트랜잭션을 조회하여 영수증 이벤트 로그를 확인하거나, 블록에 포함된 트랜잭션 목록을 조회합니다.
엔드포인트
| 메서드 | 경로 | 설명 | CU / 호출 | USD / 1M 호출 | 무료 주기당 호출 수(약) |
|---|---|---|---|---|---|
| GET | /{chain}/transactions/{hash} | 해시로 트랜잭션 조회 | 5 | $0.50 | 6,000,000 |
| GET | /{chain}/blocks/{number}/transactions | 블록 내 트랜잭션 목록 조회 | 10 | $1.00 | 3,000,000 |
초당 25회 호출 제한도 적용됩니다.
응답 필드
GET/{chain}/transactions/{hash}
| 필드 | 타입 |
|---|---|
| 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
| 필드 | 타입 |
|---|---|
| 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 |
지원 체인
빠른 예제
curl -s "https://api.blockvectra.com/v1/data/base_mainnet/transactions/{hash}" -H "x-api-key: {api_key}"문서
이 데이터셋 무료로 체험하기
가입 시 30,000,000 CU를 제공하며, 30일마다 충전됩니다.
거부된 요청은 과금되지 않으며, Data API는 성공한 응답에 대해서만 과금합니다.