0

我找不到获取某个 Tron 地址所涉及的交易历史记录的方法

我尝试了tronweb API:https ://api.trongrid.io/v1/accounts/TJmmqjb1DK9TTZbQXzRQ2AuA94z4gKAPFh/transactions/trc20?limit=100&contract_address=TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t

然而这并没有做任何事情。那么有没有人设法找到一种方法来做到这一点?

4

2 回答 2

1

我通过达到这个端点取得了成功:(此处的文档

https://api.trongrid.io/v1/contracts/${contractAddress}/events?block_number=${blockNumber}&only_confirmed=true

看起来另一种选择是使用 TronWeb 的getEvents()端点:

如何将 TRC20 交易发送到地址

还有这个,看起来有点类似:

https://developers.tron.network/reference/geteventresult

于 2022-02-16T10:25:15.193 回答
0

是的,什么都没发生,我们也什么也得不到。

于 2022-01-14T06:54:26.577 回答