Skip to content

Commit

Permalink
add comments to txOptions (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-tucker authored May 15, 2024
1 parent 15c74d8 commit 0f87ed6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/core-sdk/src/types/options.ts
Original file line number Diff line number Diff line change
@@ -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;
};

Expand Down

0 comments on commit 0f87ed6

Please sign in to comment.