CRYPTO NEWS

How to check if an NTF is sold from another contract not managed by me?

Scenario

My Smart contract (SM-A) can be used only if you own a specific NFT created and managed by another contract (SM-B). If so, it stores additional information inside a mapping property :

  • msg.sender address
  • account name

and other properties to cover the SM-A business requirements.

Constraints

  • I’m the owner of SM-A.
  • I’m NOT the owner of SM-B and I don’t have chance to change anything about it.

Questions

  • Is there a way for having information if and when the msg.sender sells his NFT from SM-B in order to remove his data from my mapping property stored in SM-A?
  • If so, how it works the cost of the delete transaction operation?
  • Will my contract pay for it?

Getting chain name from transaction query

I’m trying to get the get a list of transactions a wallet has had with a specific chain. Initially I thought I could just filter by the contract address, but it seems like there are multiple chains running on this contract. The only way I can see to get ONLY the transactions between the wallet::Listen

I’m trying to get the get a list of transactions a wallet has had with a specific chain.

Initially I thought I could just filter by the contract address, but it seems like there are multiple chains running on this contract.

The only way I can see to get ONLY the transactions between the wallet address and the specific chain is to use the ‘schainName’.

  1. Is there another way to identify only the transactions between a wallet and a specific chain other than ‘schainName’?
  2. If not, is there an API (or any other way) that returns ‘Input data / schainName’? I was using the Etherscan API, but it doesn’t seem to return this data, even thought you can see it on the UI (https://etherscan.io/tx/0x5b650c109de3df5fb0af6ed947c2a141e231669580655a409dc4ac0e31978ca0)

etherscan_screenshot

How to check if an NTF is sold from another contract not managed by me?

Shopping cart
There are no products in the cart!
Continue shopping
0