这可能是个简单的问题。假设我有一个事务散列:
{
blockNumber: "6214286",
timeStamp: "1535248365",
hash: "0x144018f7327b3990124762d1aefececff3897755ce15313e662f2c5699aaaca1",
nonce: "5",
blockHash: "0x6bd409190b38364611b96006ead9f2281262e8d4b71cd712e528c7459d56962f",
transactionIndex: "135",
from: "0x446252b54d626cf4192e5c74545761dfaf7e5a50",
to: "0xb1690c08e213a35ed9bab7b318de14420fb57d8c",
value: "2000000000000000",
gas: "148770",
gasPrice: "1400000000",
isError: "1",
txreceipt_status: "0",
input: "0x454a2ab300000000000000000000000000000000000000000000000000000000000d1596",
contractAddress: "",
cumulativeGasUsed: "4423724",
gasUsed: "22540",
confirmations: "189517"
}是否有一种方法可以获得使用哪些参数调用的契约函数?
我有合同和地址。
更多信息:
我已经尝试从上面的事务中获得CryptoKitty tokenId。我使用我的帐户查询以太扫描,并过滤到映射到CryptoKitty拍卖合同(CryptoKittiesSalesAuction)的" to“目的地。
发布于 2018-09-26 18:31:22
试试ethereum解码器https://www.npmjs.com/package/ethereum-input-data-decoder,你可以用它来解码输入数据。
https://ethereum.stackexchange.com/questions/59513
复制相似问题