blockchaintrontronwebtronlink

Im trying to fetch all transactions of a certain tron address


i couldnt find a way to get the history of transactions a certain Tron address is involved in

i tried the tronweb API : https://api.trongrid.io/v1/accounts/TJmmqjb1DK9TTZbQXzRQ2AuA94z4gKAPFh/transactions/trc20?limit=100&contract_address=TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t

yet this didnt do anything. so has anyone managed to find a way to do this ?


Solution

  • It's quiet simple just make a GET request to the following url:

    https://api.trongrid.io/v1/accounts/{wallet-address}/transactions/{standard}?&contract_address={contract-address}
    

    Replace {wallet-address} with your desired tron wallet address.

    Replace {standard} with the standard of token that you want e.g. trc20.

    Replace {contract_address} with the address of the contract of your target token e.g. TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t (USD Tether).

    Here are all possible parameters :