You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Tx /> is a React component to display a single transaction information. There are 3 states of a transaction - pending, active and failed.
UI
Pending:
Success:
Example
<Txstatus={'pending'|'success'|'fail'}title="Swap X for Y"hash="0x..."chainId={137}/* based on chain detect the provider link */explorerUrl="https://polygonscan.com"/* if this is passed then `chainId` is ignored */provider={provider}// if provided, then chainId is auto-detected, as well as the tx title and status/>
The text was updated successfully, but these errors were encountered:
Related: #3 #2
Description
<Tx />
is a React component to display a single transaction information. There are 3 states of a transaction - pending, active and failed.UI
Pending:
Success:
Example
The text was updated successfully, but these errors were encountered: