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

API บล็อก

อ่านระเบียนบล็อกที่ได้รับการยืนยันตามหมายเลขหรือแฮช พร้อมข้อมูลประทับเวลา จำนวนธุรกรรม และเมทริกซ์ gas

เอนด์พอยต์

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

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

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

GET/{chain}/blocks/{number}

ฟิลด์ประเภท
numberinteger
hashstring
parent_hashstring
timestampstring
minerstring
gas_limitinteger
gas_usedinteger
base_fee_per_gasstring | null
state_rootstring
transactions_rootstring
receipts_rootstring
tx_countinteger
sizeinteger
l1_block_numberinteger | null
extraobject

GET/{chain}/blocks/hash/{hash}

ฟิลด์ประเภท
numberinteger
hashstring
parent_hashstring
timestampstring
minerstring
gas_limitinteger
gas_usedinteger
base_fee_per_gasstring | null
state_rootstring
transactions_rootstring
receipts_rootstring
tx_countinteger
sizeinteger
l1_block_numberinteger | null
extraobject

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

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

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

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

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

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

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

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