From ccbee067206a61f0282106a3c5625eb9904eafbf Mon Sep 17 00:00:00 2001 From: jacob-tucker Date: Tue, 14 May 2024 12:33:12 -0700 Subject: [PATCH] add comments to txOptions --- packages/core-sdk/src/types/options.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/core-sdk/src/types/options.ts b/packages/core-sdk/src/types/options.ts index bc91e8e8..6a373cc1 100644 --- a/packages/core-sdk/src/types/options.ts +++ b/packages/core-sdk/src/types/options.ts @@ -1,7 +1,14 @@ export type TxOptions = { + // Whether or not to wait for the transaction so you + // can receive a transaction receipt in return (which + // contains data about the transaction and return values). waitForTransaction?: boolean; + // The price (in wei) to pay per gas. gasPrice?: bigint; + // Total fee per gas (in wei). maxFeePerGas?: bigint; + // The number of confirmations (blocks that have passed) + // to wait before resolving. numBlockConfirmations?: number; };