From 0f87ed6d9c42e69aa3cea938800465dc4eef69ec Mon Sep 17 00:00:00 2001 From: Jacob Tucker Date: Wed, 15 May 2024 12:19:58 -0700 Subject: [PATCH] add comments to txOptions (#188) --- 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; };