######################################## Transaction initiating ############################################
Requested amount: 0.001 WND
Transaction fees: 0.15669783352 WND
Total amount = Requested amount(0.001 WND) + Transaction fees(0.15669783352 WND) : 0.15769783352 WND
######################################## Transaction pending ###########################################
Transaction included at blockHash : 0x626e00b639c2c44d610e84b7e97e65b07c5b3bca435e4e0a2db9d0c5929c850f
Check block status for pending transaction on the Subscan explorer : https://westend.subscan.io/block/0x626e00b639c2c44d610e84b7e97e65b07c5b3bca435e4e0a2db9d0c5929c850f
######################################## Transaction successful and finalized ##########################################
Transaction finalized at blockHash : 0x626e00b639c2c44d610e84b7e97e65b07c5b3bca435e4e0a2db9d0c5929c850f
Check block status for finalized transaction on the Subscan explorer : https://westend.subscan.io/block/0x626e00b639c2c44d610e84b7e97e65b07c5b3bca435e4e0a2db9d0c5929c850f
53e62c
Disconnected from the API
Transaction finalized at blockHash : 0x626e00b639c2c44d610e84b7e97e65b07c5b3bca435e4e0a2db9d0c5929c850f
Transaction pending:
When a user initiates a transaction on the Polkadot network, the transaction is first created and broadcast to the network. At this stage, it is considered "pending." Pending transactions are unconfirmed and have not yet been included in a block.
Transaction finalized:
After a transaction has been included in a block and the block has been added to the chain, it is considered "finalized." Finalization is an essential feature of the Polkadot consensus mechanism, as it guarantees that it cannot be reverted or altered once a transaction is finalised.
Sample output
Note You can save the block hash generated above like 0x626e00b639c2c44d610e84b7e97e65b07c5b3bca435e4e0a2db9d0c5929c850f for use in code ahead