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 1152c00 commit 36c22e7Copy full SHA for 36c22e7
1 file changed
packages/keyring-api/src/api/transaction.ts
@@ -165,6 +165,11 @@ export enum TransactionType {
165
*/
166
StakeWithdraw = 'stake:withdraw',
167
168
+ /**
169
+ * Represents a token approval transaction.
170
+ */
171
+ Approve = 'token:approve',
172
+
173
/**
174
* The transaction type is unknown. It's not possible to determine the
175
* transaction type based on the information available.
@@ -355,6 +360,7 @@ export const TransactionStruct = object({
355
360
`${TransactionType.BridgeReceive}`,
356
361
`${TransactionType.StakeDeposit}`,
357
362
`${TransactionType.StakeWithdraw}`,
363
+ `${TransactionType.Approve}`,
358
364
`${TransactionType.Unknown}`,
359
365
]),
366
0 commit comments