Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat[DOCS] : add useDataTransaction documentation #90

Merged

Conversation

Oladayo-Ahmod
Copy link
Contributor

Task name here

Types of change

  • Bug
  • Enhancement

Comment on lines +12 to +13
## Usage

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe can briefly state what the example does, like in your other PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Comment on lines 91 to 97
## Features

- **Automatic Data Fetching**: Automatically fetches data when the hook is used.
- **TPS Calculation**: Estimates transactions per second based on block timestamps.
- **Average Fee in USD**: Converts transaction fees from Wei to USD using live ETH price data from CoinGecko.
- **Gas Price Metrics**: Retrieves L1 gas price information in both Wei and FRI.
- **Error Handling**: Captures and provides error details if fetching fails.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would probably better on the top of the page

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@metalboyrick metalboyrick merged commit e1393ba into Scaffold-Stark:main Feb 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants