We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a37088c commit 7e97464Copy full SHA for 7e97464
CHANGELOG.md
@@ -5,6 +5,7 @@
5
### Added
6
7
- Add toAddressId() method to Transaction class
8
+- Remove "pending" status from StakingOperationStatusEnum
9
10
## [0.0.16] - 2024-08-14
11
src/coinbase/transaction.ts
@@ -80,12 +80,12 @@ export class Transaction {
80
}
81
82
/**
83
- * Returns the To Address ID for the Transaction.
+ * Returns the To Address ID for the Transaction if it's available.
84
*
85
* @returns The To Address ID
86
*/
87
- toAddressId(): string {
88
- return this.model.to_address_id || "";
+ toAddressId(): string | undefined {
+ return this.model.to_address_id;
89
90
91
0 commit comments