How to check my transaction status?


#1

After running “iwallet call --expiration 36000 -k ~/.iwallet/user${uid}_ed25519 -l 100000 $TID bet “[”$user”,$lucky_number,${coins}00000000,$nouce]", I saw the output “the transaction hash is: N1yuR8H2fzraD8gmRDUFvtAQKX9F42CbT4n9zWqq3WP”.
So How can I check whether the transaction succeeds?


#2

You can use curl to fetch the status.
curl -X GET http://<node_ip>:30001/getTxReceiptByTxHash/<transaction_id>