ข้ามไปยังเนื้อหาหลัก
BlockVectra

API ธุรกรรม

ค้นหาธุรกรรมตามแฮชพร้อมบันทึกเหตุการณ์ใน receipt หรือแสดงรายการธุรกรรมที่รวมอยู่ในบล็อก

เอนด์พอยต์

เมธอดพาธคำอธิบายCU / คำขอUSD / 1 ล้านคำขอจำนวนคำขอต่อรอบฟรี (โดยประมาณ)
GET/{chain}/transactions/{hash}ดึงข้อมูลธุรกรรมตามแฮช5$0.506,000,000
GET/{chain}/blocks/{number}/transactionsแสดงรายการธุรกรรมในบล็อก10$1.003,000,000

แผนบริการฟรี: ทุกคีย์ในบัญชีของคุณแชร์ความเร็วเฉลี่ยร่วมกันที่ 25 คำขอต่อวินาที

ฟิลด์การตอบกลับ

GET/{chain}/transactions/{hash}

ฟิลด์ประเภท
block_numberinteger
tx_indexinteger
hashstring
block_timestampstring
typeinteger
fromstring
tostring | null
valuestring
nonceinteger
gasinteger
gas_pricestring | null
max_fee_per_gasstring | null
max_priority_fee_per_gasstring | null
inputstring
statusinteger | null
gas_usedinteger
cumulative_gas_usedinteger
effective_gas_pricestring | null
contract_addressstring | null
log_countinteger
gas_used_for_l1integer | null
l1_block_numberinteger | null
extraobject
logsarray

GET/{chain}/blocks/{number}/transactions

ฟิลด์ประเภท
block_numberinteger
tx_indexinteger
hashstring
block_timestampstring
typeinteger
fromstring
tostring | null
valuestring
nonceinteger
gasinteger
gas_pricestring | null
max_fee_per_gasstring | null
max_priority_fee_per_gasstring | null
inputstring
statusinteger | null
gas_usedinteger
cumulative_gas_usedinteger
effective_gas_pricestring | null
contract_addressstring | null
log_countinteger
gas_used_for_l1integer | null
l1_block_numberinteger | null
extraobject

พร้อมใช้งานบนเชน

ดูสถานะแบบเรียลไทม์ →

ตัวอย่างการใช้งานแบบย่อ

curl -s "https://api.blockvectra.com/v1/data/arb_mainnet/transactions/{hash}" -H "x-api-key: {api_key}"

เอกสารประกอบ

ทดลองใช้ชุดข้อมูลนี้ฟรี

รับ 30M CU เมื่อลงทะเบียน พร้อมเติมเครดิตใหม่ทุก 30 วัน

Data API จะเรียกเก็บค่าบริการเฉพาะคำขอที่ส่งคืนสำเร็จเท่านั้น