Configuring parameters that determine how your transactions are optimized and delivered using Gateway
latestBlockhash
for your transaction according to your configuration.
Since every transaction, by default, is valid for 150 blocks starting from the blockhash set in the transaction, we can thus calculate which blockhash to use so that your transaction expires in the specified number of slots.