eos icon indicating copy to clipboard operation
eos copied to clipboard

Get transaction detail in smart contract

Open co1ingue opened this issue 8 years ago • 1 comments

Hello,I am building a dapp. Inside the contract I get a trxid(parameter) from user. I want to see the detail of this transaction. How can I do that ?

co1ingue avatar Sep 29 '18 06:09 co1ingue

There is no API to retrieve transaction details directly from the chain in a smart contract. Only state modified by transactions can be retrieved. If a transaction makes no state changes, nothing of it can be retrieved within a contract.

jgiszczak avatar Oct 01 '18 19:10 jgiszczak