There is a way to get the result of a token transfer operation in Parity https://ethereum.stackexchange.com/a/9009

Is there a way to do it in geth by RPC?


i'm guessing you want to check if the transaction was successful?

rpc: eth_getTransactionReceipt


web3: web3.eth.getTransactionReceipt('tx-hash-here')


| improve this answer | |
  • Thanks for the response, but I meant something else. Sometimes a transaction can be successful but the sender's balance lacks the provided amount of tokens. So, despite the correct execution of the transaction itself, the transfer of tokens still doesn't happen. E.g this transfer of HT tokens – moskovski Sep 5 '19 at 13:13
  • yes, you can see if the transaction is successful by getting the transaction receipt. the status field will be 0x1 (true) if they had enough to send or 0x0 (false) if it failed for some reason, like not having enough tokens. – j4ys0n Sep 5 '19 at 15:28
  • But what about the aforementioned transaction? It has the status 0x1 but the tokens clearly weren't transferred (the requested amount of tokens are orders of magnitude more than issuance) – moskovski Sep 5 '19 at 16:01
  • that looks to be an issue with the specific contract – j4ys0n Sep 5 '19 at 18:44

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.