Hook to fetch a single transaction receipt.
This hook keeps a cache of receipts by chain and transaction hash so that you can use the hook freely in your application without worrying about sending duplicate network requests.
If you need to refresh the transaction receipt data, set watch: true
in
the props. The hook will periodically refresh the transaction data in the
background.
This hook shows how to fetch a transaction receipt.
This example shows how to submit a transaction and load its status.