Imagine that NFT get's sold on OpenSea. Opensea contract within single transaction calls transfer of funds from buyer to seller and calls safeTransferFrom function in contract of NFT-collection (used for own minting outside of OpenSea nad custom logic further).
=> What I want is to get amount of NFT sale (amount sending within transaction to seller) inside safeTransferFrom function call.
I've thought that transaction hash can be taken - but there is no such global variable in solidity now.
For example, you can look on this transaction (usual nft sale through OpenSea). I need to get amount (marked with red color).