Pular para o conteúdo

Transações API

transactions

Busque uma transação por hash com seus logs de eventos de recibo ou liste as transações incluídas em um bloco.

Pontos de extremidade

MétodoCaminhoDescriçãoCU / chamadaUSD / 1M chamadasChamadas por ciclo gratuito (aprox.)
GET/{chain}/transactions/{hash}Obter uma transação por hash5$0.506,000,000
GET/{chain}/blocks/{number}/transactionsListar transações de um bloco10$1.003,000,000

Também sujeito a um limite de 25 chamadas por segundo.

Campos de resposta

GET/{chain}/transactions/{hash}

CampoTipo
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
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

CampoTipo
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
gas_usedinteger
cumulative_gas_usedinteger
effective_gas_pricestring | null
contract_addressstring | null
log_countinteger
gas_used_for_l1integer | null
l1_block_numberinteger | null
extraobject

Disponível nas cadeias

Ver status em tempo real →

Exemplo rápido

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

Documentação

Experimente este conjunto de dados gratuitamente

Ganhe 30,000,000 CU no cadastro, renovados a cada 30 dias.

Requisições rejeitadas não são cobradas, e a Data API cobra apenas por respostas bem-sucedidas.