The BLOCK_BODY_WITH_TXS returns the TXN + TxHash as the TXN doesn't have the txHash on it, but that doesn't happen with the BLOCK_BODY_WITH_RECEIPTS that returns the transactions + the receipts. It should also specify that a transaction hash should be returned as happens with the BLOCK_BODY_WITH_TXS because the description says that it is a list of full transactions.
The reason that it was not included was that the transaction receipt already includes the hash, hence it would be duplicated information in this request.
The
BLOCK_BODY_WITH_TXS
returns the TXN + TxHash as the TXN doesn't have the txHash on it, but that doesn't happen with theBLOCK_BODY_WITH_RECEIPTS
that returns the transactions + the receipts. It should also specify that a transaction hash should be returned as happens with theBLOCK_BODY_WITH_TXS
because the description says that it is a list of full transactions.BLOCK_BODY_WITH_TXS: https://github.com/starkware-libs/starknet-specs/blob/304b952121dafe47c013ed2c4c39bef4cf4c2823/api/starknet_api_openrpc.json#L1376-L1397
BLOCK_BODY_WITH_RECEIPTS: https://github.com/starkware-libs/starknet-specs/blob/304b952121dafe47c013ed2c4c39bef4cf4c2823/api/starknet_api_openrpc.json#L1412-L1429