I'm new to polkadot. I am working on checking received transactions to my wallets. I have used below code & able to get hash, from, to & amount etc. but I am not able to get result & fee of received balance transfer in ex in below code
const signedBlock = await api.rpc.chain.getBlock(blockHash);
signedBlock.block.extrinsics.forEach((**ex**, index) => {
if(ex.method.section === 'balances' && ex.method.method === 'transfer'){
console.log(`Tx[${ex.hash.toString()}] : Amount[${ex.args[1].toString()}] sent from[${ex.signer.toString()}] to[${ex.args[0].toString()}]`);
}
});
Please help me. Thanks.