Skip to content

Conversation

@nhussein11
Copy link
Collaborator

πŸ“ Description

Provide a clear and concise description of your changes.

πŸ” Review Preference

Choose one:

  • βœ… I have time to handle formatting/style feedback myself
  • ⚑ Docs team handles formatting (check "Allow edits from maintainers")

πŸ€– AI-Ready Docs

If content changed, regenerate AI files:

  • βœ… I ran python3 scripts/generate_llms.py
  • ⚑ Docs team will regenerate (check "Allow edits from maintainers")

βœ… Checklist

@nhussein11 nhussein11 self-assigned this Nov 26, 2025
@nhussein11 nhussein11 added the B0 - Needs Review Pull request is ready for review label Nov 26, 2025
@nhussein11 nhussein11 requested a review from a team as a code owner November 26, 2025 23:18
@nhussein11 nhussein11 added the C1 - Medium Medium priority task label Nov 26, 2025
Copilot AI review requested due to automatic review settings November 26, 2025 23:18
@nhussein11 nhussein11 added the A0 - New Content Pull request contains new content pages label Nov 26, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds comprehensive documentation and code examples for calculating transaction fees on Polkadot-based chains. It provides practical examples using both Polkadot-API (PAPI) and Polkadot.js API, along with instructions for the Polkadot-JS Apps UI.

Key Changes:

  • Complete tutorial documentation covering fee calculation concepts and prerequisites
  • TypeScript code examples for both PAPI and Polkadot.js API with detailed explanations
  • Expected output samples demonstrating fee estimation results

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
.chain-interactions/send-transactions/calculate-transaction-fees.md Main tutorial document explaining transaction fee calculation with three different approaches (PAPI, Polkadot.js API, and UI)
.snippets/code/chain-interactions/send-transactions/calculate-transaction-fees/polkadotjs-fee-calculator.ts Polkadot.js API implementation for fee estimation
.snippets/code/chain-interactions/send-transactions/calculate-transaction-fees/polkadotjs-fee-calculator-output.html Expected terminal output for the Polkadot.js API example
.snippets/code/chain-interactions/send-transactions/calculate-transaction-fees/papi-fee-calculator.ts PAPI implementation for fee estimation
.snippets/code/chain-interactions/send-transactions/calculate-transaction-fees/papi-fee-calculator-output.html Expected terminal output for the PAPI example

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

nhussein11 and others added 2 commits December 2, 2025 08:25
Co-authored-by: Bruno Galvao <brunopgalvao@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

@0xlukem 0xlukem left a comment

Choose a reason for hiding this comment

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

Great work! I left a few comments

eshaben and others added 2 commits December 4, 2025 00:42
Co-authored-by: Lucas Malizia <131050418+0xlukem@users.noreply.github.com>
@0xlukem 0xlukem requested review from eshaben December 4, 2025 14:28
Copy link
Collaborator

@eshaben eshaben left a comment

Choose a reason for hiding this comment

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

Noticed a couple minor things

@eshaben eshaben requested a review from 0xlukem December 8, 2025 21:59
@eshaben
Copy link
Collaborator

eshaben commented Dec 8, 2025

@0xlukem will leave this to you to provide final review πŸ™‚

@0xlukem 0xlukem requested a review from eshaben December 9, 2025 21:43
@eshaben eshaben added B1 - Ready to Merge Pull request is ready to be merged and removed B0 - Needs Review Pull request is ready for review labels Dec 9, 2025
@eshaben eshaben merged commit b91301c into staging/product-ia Dec 9, 2025
5 of 9 checks passed
@eshaben eshaben deleted the nhussein11/add-estimate-fee-tx branch December 9, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A0 - New Content Pull request contains new content pages B1 - Ready to Merge Pull request is ready to be merged C1 - Medium Medium priority task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants