This module provides two ways to generate SignersUtils for a Transaction object. The first one extends the object and is the intended way to use those utilities. However, as extending objects can sometimes prove inconvenient or intrusive, a second method allows to create a stand-alone SignersUtils tied to a given transaction.
- Source:
Methods
(async, static) extends(transaction) → {Transaction}
Extends transaction with SignersUtils.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
transaction |
Transaction
|
Returns:
- Type:
-
Transaction
(async, static) for(transaction) → {SignersUtils}
Returns SignersUtils for transaction.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
transaction |
Transaction
|
Returns:
- Type:
-
SignersUtils