TransactionResponseParams
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:232
a TransactionResponseParams encodes the minimal required properties for a formatted transaction response.
Properties
Section titled “Properties”accessList
Section titled “accessList”accessList: null | AccessList;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:308
The transaction access list.
authorizationList
Section titled “authorizationList”authorizationList: | null | Authorization[];
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:316
The [[link-eip-7702]] authorizations (if any).
blobVersionedHashes?
Section titled “blobVersionedHashes?”optional blobVersionedHashes: null | string[];
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:312
The [[link-eip-4844]] BLOb versioned hashes.
blockHash
Section titled “blockHash”blockHash: null | string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:240
The block hash of the block that included this transaction.
blockNumber
Section titled “blockNumber”blockNumber: null | number;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:236
The block number of the block that included this transaction.
chainId
Section titled “chainId”chainId: bigint;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:300
The chain ID this transaction is valid on.
data: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:292
The transaction data.
from: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:261
The sender of the transaction.
gasLimit
Section titled “gasLimit”gasLimit: bigint;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:269
The maximum amount of gas this transaction is authorized to consume.
gasPrice
Section titled “gasPrice”gasPrice: bigint;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:273
For legacy transactions, this is the gas price per gas to pay.
hash: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:244
The transaction hash.
index: number;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:248
The transaction index.
maxFeePerBlobGas?
Section titled “maxFeePerBlobGas?”optional maxFeePerBlobGas: null | bigint;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:288
For [[link-eip-4844]] transactions, this is the maximum fee that will be paid per BLOb.
maxFeePerGas
Section titled “maxFeePerGas”maxFeePerGas: null | bigint;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:283
For [[link-eip-1559]] transactions, this is the maximum fee that will be paid.
maxPriorityFeePerGas
Section titled “maxPriorityFeePerGas”maxPriorityFeePerGas: null | bigint;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:278
For [[link-eip-1559]] transactions, this is the maximum priority fee to allow a producer to claim.
nonce: number;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:265
The nonce of the transaction, used for replay protection.
signature
Section titled “signature”signature: Signature;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:304
The signature of the transaction.
to: null | string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:257
The target of the transaction. If null
, the data
is initcode
and this transaction is a deployment transaction.
type: number;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:252
The [[link-eip-2718]] transaction type.
value: bigint;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/formatting.d.ts:296
The transaction value (in wei).