Component for displaying transaction history for a user in Compound III
TransactionHistory
component displays a chronological list of a user’s transactions with the Compound III protocol, including supplies, withdrawals, borrows, and repayments.
Prop | Type | Description |
---|---|---|
provider | Provider | The Ethereum provider to use for fetching data |
chainId | number | The chain ID of the network to connect to |
userAddress | string | The address to display transactions for (defaults to connected wallet) |
limit | number | Optional maximum number of transactions to display (default: 10) |
className | string | Optional CSS class name to apply to the component |
onRefresh | () => void | Optional callback function to call when the refresh button is clicked |
className
prop: