api
api copied to clipboard
How to see if a transaction was successful by block hash
hi, I want to see if a transaction was successful by block hash
const hash = await Promise.all([
api.tx.balances.transfer(polkaPnsAddr, amount * 1e10).signAndSend(alice),
api.tx.system.remark('i am a remark')
])
I added a remark: 'i am a remark', and I know user's polkadot address and block hash, how can I find this remark through the block hash?
thanks.
This, as per the suggestion for HOWTO queries when this issues is logged, is best asked on SO. (Where answers for this question does exist and has been answered before)
Additionally the cookbook has examples of matching blocks/extrinsics to events.
This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.