Skip to content

Commit c07d9ac

Browse files
committed
fix: constant
1 parent c1e7060 commit c07d9ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/start/api.consts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ console.log(api.consts.babe.epochDuration.toNumber());
1616
// The amount required to create a new account
1717
console.log(api.consts.balances.existentialDeposit.toNumber());
1818

19-
// The amount required per byte on an extrinsic
20-
console.log(api.consts.transactionPayment.transactionByteFee.toNumber());
19+
// Multiplier applied to operational extrinsic fees to add a "virtual tip" and boost their priority
20+
console.log(api.consts.transactionPayment.operationalFeeMultiplier.toString());
2121
```
2222

2323
Since these are constants and defined by the metadata, it is not a call, but rather the values immediately available - as you'll see in subsequent sections, there is no need for `await` on these, it immediately returns the type and value for you to work with.

0 commit comments

Comments
 (0)