Skip to content
Alchemy Logo

starknet_getTransactionByBlockIdAndIndex

POST
/{apiKey}

Get the details of the transaction given by the identified block and index in that block. If no transaction is found, null is returned.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

object or enumrequired

The hash of the requested block, or number (height) of the requested block, or a block tag

Block hash, number or tag

integerrequired

The index in the block to search for the transaction

Responses

200

The transaction schema, as it appears inside a block

Was this page helpful?