我正在使用以太币,我正在收听 Open Sea 合同以获得最新的销售。我知道如何获取交易哈希、如何获取价格等问题,但我不知道如何获取所售代币的收集详细信息和 ID。甚至有可能得到它吗?它存储在哪里。我看到这样的事情:
args: [
'0x0000000000000000000000000000000000000000000000000000000000000000',
'0x57caab574ab5d945029c09beac5bfd9f39f669513c7d4dea0941a96c1017a80e',
'0x1D6F2F0356B3DefAdf14b1a0F8A3Dcda89367D68',
'0x78f0269f5b1Ca914c8c58993f41181f89e212B27',
BigNumber { _hex: '0x1bc16d674ec80000', _isBigNumber: true },
'0x5c5321ae45550685308a405827575e3d6b4a84aa000000000000000000000000',
buyHash: '0x0000000000000000000000000000000000000000000000000000000000000000',
sellHash: '0x57caab574ab5d945029c09beac5bfd9f39f669513c7d4dea0941a96c1017a80e',
maker: '0x1D6F2F0356B3DefAdf14b1a0F8A3Dcda89367D68',
taker: '0x78f0269f5b1Ca914c8c58993f41181f89e212B27',
price: BigNumber { _hex: '0x1bc16d674ec80000', _isBigNumber: true },
metadata: '0x5c5321ae45550685308a405827575e3d6b4a84aa000000000000000000000000'
]
我知道我可以从中得到价格。但是关于收集或收集地址或其他东西的信息在哪里?它存储在metadata
? 如果是,我该如何解码?
我知道我可以像这里一样进行交易 - https://etherscan.io/tx/0xe29462cd6cd6cfcf2f05a3139de1aead4fc9e84d8966ad9a5227b996eb90c33d但我想从ethers
.