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

apiKeystringRequired

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.
Starknet Get Transaction by Block ID and Index Result0object

Initiate a transaction from an account

OR
Starknet Get Transaction by Block ID and Index Result1object

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

OR
Starknet Get Transaction by Block ID and Index Result2object
OR
Starknet Get Transaction by Block ID and Index Result3object

The structure of a deploy transaction. Note that this transaction type is deprecated and will no longer be supported in future versions

OR
Starknet Get Transaction by Block ID and Index Result4object

Deploys an account contract