getTransactionByBlockIdAndIndex

Get transaction by block id and index.

Get the details of a transaction by a given block id and index.

Parameters

blockTag

a tag of the requested block

Throws


abstract fun getTransactionByBlockIdAndIndex(blockHash: Felt, index: Int): Request<Transaction>

Get transaction by block id and index.

Get the details of a transaction by a given block id and index.

Parameters

blockHash

a hash of the requested block

Throws


abstract fun getTransactionByBlockIdAndIndex(blockNumber: Int, index: Int): Request<Transaction>

Get transaction by block id and index.

Get the details of a transaction by a given block id and index.

Parameters

blockNumber

a number of the requested block

Throws