How to retrieve hash of transactions under signatures[] of multisig type of transaction

Hello,

Is there any API to retrieve hash of transactions under signatures[] of multisig type of transaction?

local/chain/blocks-after returns hash of main transaction and inner transaction. Then what is the hash of transaction under signatures array i.e., hash of the MultisigSignatureTransaction