Skip to content

Commit 0f27238

Browse files
authored
Apply suggestions from code review
1 parent 10c3d6c commit 0f27238

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.chain-interactions/send-transactions/calculate-transaction-fees.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Ensure to replace `INSERT_WS_ENDPOINT` with your WebSocket endpoint, `INSERT_ALI
9696
Key aspects of the code:
9797

9898
- **Transaction creation**: The `api.tx.balances.transferKeepAlive()` method constructs a balance transfer transaction.
99-
- **`paymentInfo()`**: Applies a dummy signature and queries the RPC endpoint for fee estimation
99+
- **`paymentInfo()`**: Applies a dummy signature and queries the RPC endpoint for fee estimation.
100100
- **Return values**: The `partialFee` property contains the estimated fee in the smallest unit (plancks).
101101

102102
Execute the script using `tsx`:
@@ -109,11 +109,11 @@ You should see output similar to:
109109

110110
--8<-- 'code/chain-interactions/send-transactions/calculate-transaction-fees/polkadotjs-fee-calculator-output.html'
111111

112-
## Polkadot-JS Apps Interface
112+
## Polkadot.js Apps Interface
113113

114114
For non-programmatic fee inspection, the PolkadotJS Apps interface provides a visual way to estimate transaction fees.
115115

116-
Navigate to the [Polkadot-JS Apps interface](https://polkadot.js.org/apps){target=\_blank} and ensure you're connected to the Polkadot relay chain (or your desired network).
116+
Navigate to the [Polkadot.js Apps interface](https://polkadot.js.org/apps){target=\_blank} and ensure you're connected to the Polkadot relay chain (or your desired network).
117117

118118
### Estimate Fees via Transfer Interface
119119

0 commit comments

Comments
 (0)