Get the index of the transaction in the specified block.
The block to search in.
The hash of the transaction to search for.
the index of the transaction in the block or null if the transaction is not in the block.
Get the index of the transaction in the specified block.
Throws