From d5789dbf19c8ee4244a51fbd9da9d19802b01357 Mon Sep 17 00:00:00 2001 From: LucienSong Date: Tue, 14 Jul 2026 21:52:20 +0800 Subject: [PATCH] docs: reflect enforced transaction fees --- src/transactions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/transactions.ts b/src/transactions.ts index 166d9cb..edf617f 100644 --- a/src/transactions.ts +++ b/src/transactions.ts @@ -52,7 +52,7 @@ import { import { shellAddressToBytes } from "./address.js"; import { validateAddress, validateNonNegativeBigInt, validateNonNegativeInteger } from "./validation.js"; -/** Default transaction type: `2` (Shell PQTx format; encodes EIP-1559 fee fields, which are scaffolded and not yet enforced on-chain). */ +/** Default transaction type: `2` (Shell PQTx format with EIP-1559 fee fields). */ export const DEFAULT_TX_TYPE = 2; /** Default gas limit for simple SHELL token transfers (`21_000`). */ @@ -81,9 +81,9 @@ export interface BuildTransactionOptions { data?: HexString; /** Gas limit. Defaults to {@link DEFAULT_TRANSFER_GAS_LIMIT}. */ gasLimit?: number; - /** EIP-1559 max fee per gas in wei (scaffolded; not enforced by the chain). Defaults to {@link DEFAULT_MAX_FEE_PER_GAS}. */ + /** EIP-1559 max fee per gas in wei. Defaults to {@link DEFAULT_MAX_FEE_PER_GAS}. */ maxFeePerGas?: number; - /** EIP-1559 priority fee in wei (scaffolded; not enforced by the chain). Defaults to {@link DEFAULT_MAX_PRIORITY_FEE_PER_GAS}. */ + /** EIP-1559 priority fee in wei. Defaults to {@link DEFAULT_MAX_PRIORITY_FEE_PER_GAS}. */ maxPriorityFeePerGas?: number; /** Transaction type. Defaults to {@link DEFAULT_TX_TYPE}. */ txType?: number;