Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`). */
Expand Down Expand Up @@ -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;
Expand Down