starknet_getTransactionByBlockIdAndIndex

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

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
block_idobject or enumRequired

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

indexintegerRequired>=0
The index in the block to search for the transaction

Response

This endpoint returns an object.
Invoke transactionobject
Initiate a transaction from an account
OR
L1 Handler Transactionobject

A call to an l1_handler on an L2 contract induced by a message from L1

OR
Declare transactionobject
OR
Deploy Contract Transactionobject
The structure of a deploy transaction. Note that this transaction type is deprecated and will no longer be supported in future versions
OR
Deploy Account Transactionobject
Deploys an account contract