Skip to content

Commit 7975dc4

Browse files
authored
Merge pull request #670 from Chia-Network/update-offer-trade-status-info
update offer trade status info
2 parents ac9f972 + 42739ba commit 7975dc4

File tree

2 files changed

+20
-16
lines changed
  • docs/walletconnect
  • i18n/zh-Hans/docusaurus-plugin-content-docs/current/walletconnect

2 files changed

+20
-16
lines changed

docs/walletconnect/offers.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,13 @@ Creates an offer for wallet ids.
171171

172172
### TradeStatus
173173

174-
| Value |
175-
| ----------------- |
176-
| `PENDING_ACCEPT` |
177-
| `PENDING_CONFIRM` |
178-
| `PENDING_CANCEL` |
179-
| `CANCELLED` |
180-
| `CONFIRMED` |
181-
| `FAILED` |
174+
Values that can be returned for the trade_status. Note that offers cannot be resynced and are not available on-chain so granular trade_status is not always available.
175+
176+
| Value | |
177+
| ----------------- | ------------------------------------------------------------------------------------- |
178+
| `PENDING_ACCEPT` | Acceptance has been pushed to the chain and is pending confirmation. |
179+
| `PENDING_CONFIRM` | Acceptance has been pushed to the chain and is pending confirmation. |
180+
| `PENDING_CANCEL` | Cancelation has been pushed to the chain (if applicable) and is pending confirmation. |
181+
| `CANCELLED` | Offer cancellation has been confirmed onchain (if applicable). |
182+
| `CONFIRMED` | Offer acceptance has been confirmed onchain. |
183+
| `FAILED` | Offer acceptance failed, review logs for reasoning of failure. |

i18n/zh-Hans/docusaurus-plugin-content-docs/current/walletconnect/offers.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,13 @@ Creates an offer for wallet ids.
171171

172172
### TradeStatus
173173

174-
| Value |
175-
| ----------------- |
176-
| `PENDING_ACCEPT` |
177-
| `PENDING_CONFIRM` |
178-
| `PENDING_CANCEL` |
179-
| `CANCELLED` |
180-
| `CONFIRMED` |
181-
| `FAILED` |
174+
Values that can be returned for the trade_status. Note that offers cannot be resynced and are not available on-chain so granular trade_status is not always available.
175+
176+
| Value | |
177+
| ----------------- | ------------------------------------------------------------------------------------- |
178+
| `PENDING_ACCEPT` | Acceptance has been pushed to the chain and is pending confirmation. |
179+
| `PENDING_CONFIRM` | Acceptance has been pushed to the chain and is pending confirmation. |
180+
| `PENDING_CANCEL` | Cancelation has been pushed to the chain (if applicable) and is pending confirmation. |
181+
| `CANCELLED` | Offer cancellation has been confirmed onchain (if applicable). |
182+
| `CONFIRMED` | Offer acceptance has been confirmed onchain. |
183+
| `FAILED` | Offer acceptance failed, review logs for reasoning of failure. |

0 commit comments

Comments
 (0)