I'm trying to get Transaction Action information from Etherscan Apis by using a transaction hash without success. Here is what I want to extract (Swap 1 Ether For 2 Yf-DAI) with the API. I have already tried to decode information returned by


Here but nothing close to getting transaction action. My question is which endpoint should I query or what do I do to get the transaction Action


Perhaps what is needed is available in the API PRO plan:

"Get Token Info by ContractAddress" from https://etherscan.io/apis#APIpro

  "status": "1",
  "message": "OK",
  "result": [
      "contractAddress": "0x...",
      "tokenName": "Token Name",
      "symbol": "Token Symbol",
      "divisor": "18",
      "tokenType": "ERC20",
      "totalSupply": "1000000000000000",

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.