Skip to content

Commit

Permalink
docs: updated transaction.value to specify in wei
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Apr 24, 2023
1 parent 8fcbd9c commit 6cfe22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.ts/transaction/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ export class Transaction implements TransactionLike<string> {
set data(value: BytesLike) { this.#data = hexlify(value); }

/**
* The amount of ether to send in this transactions.
* The amount of ether (in wei) to send in this transactions.
*/
get value(): bigint { return this.#value; }
set value(value: BigNumberish) {
Expand Down

0 comments on commit 6cfe22b

Please sign in to comment.