File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,20 @@ public protocol TransactionOptionsInheritable {
13
13
14
14
/// Options for sending or calling a particular Ethereum transaction
15
15
public struct TransactionOptions {
16
- // Sets the transaction envelope type.
17
- // default here is legacy, so it will work on all chains
18
- // but the provider should perhaps set better defaults based on what chain is connected
19
- // id for Ethereum, default to EIP-1559
16
+ /// Sets the transaction envelope type.
17
+ ///
18
+ /// Default here is legacy, so it will work on all chains
19
+ /// but the provider should perhaps set better defaults based on what chain is connected
20
+ /// id for Ethereum, default to EIP-1559
20
21
public var type : TransactionType ?
21
22
22
23
/// Sets the transaction destination. It can either be a contract address or a private key controlled wallet address.
23
24
///
24
25
/// Usually should never be nil, left undefined for a contract-creation transaction.
25
26
public var to : EthereumAddress ?
26
- /// Sets from what account a transaction should be sent. Used only internally as the sender of Ethereum transaction
27
+ /// Sets from what account a transaction should be sent.
28
+ ///
29
+ /// Used only internally as the sender of Ethereum transaction
27
30
/// is determined purely from the transaction signature. Indicates to the Ethereum node or to the local keystore what private key
28
31
/// should be used to sign a transaction.
29
32
///
You can’t perform that action at this time.
0 commit comments