You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/fassets/reference/user-bot.mdx
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -155,12 +155,24 @@ Additionally the custom flag can be specified:
155
155
156
156
### Redemption Status
157
157
158
-
The `redemptionStatus` function provides information about the current state of a redemption request in the FAsset system.
158
+
The `redemptionStatus` function provides information about the current state of a redemption request in the FAsset system. It lists all open redemptions and their statuses.
159
+
160
+
Status can be one of the following:
161
+
162
+
-`PENDING`
163
+
-`SUCCESS`
164
+
-`DEFAULT`
165
+
-`EXPIRED`
159
166
160
167
```bash
161
168
yarn user-bot redemptionStatus
162
169
```
163
170
171
+
Additionally, the custom flag can be specified:
172
+
173
+
-**`--request-id <requestId>`**
174
+
Specifies the request ID of the redemption.
175
+
164
176
### Update Redemptions
165
177
166
178
The `updateRedemptions` function updates the status of one or more open redemption requests. It ensures that these requests are processed efficiently and appropriately addresses any unresolved or overdue requests. This function is essential for automating the entire redemption lifecycle.
0 commit comments