Skip to content

Commit 4de37fe

Browse files
committed
chore: Link to new Engine API ref
1 parent 7cd39f0 commit 4de37fe

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

apps/portal/src/app/engine/faq/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Here are three ways to determine when the job is mined:
4747

4848
### How do I customize my RPC?
4949

50-
Use [Update Chain Configuration](https://redocly.github.io/redoc/?url=https://demo.web3api.thirdweb.com/json#tag/Configuration/operation/updateChainsConfiguration) to override a chain's settings.
50+
Use [Update Chain Configuration](https://thirdweb-engine.apidocumentation.com/reference#tag/configuration/POST/configuration/chains) to override a chain's settings.
5151

5252
**Example**
5353

apps/portal/src/app/engine/features/cancelling-transactions/page.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ When Engine receives a cancellation request:
2424

2525
**When canceled, the transaction will not be re-attempted.** Your backend may safely re-attempt this transaction.
2626

27-
_Note: Use [Retry Transaction](https://redocly.github.io/redoc/?url=https://demo.web3api.thirdweb.com/json#tag/Transaction/operation/retry) instead to increase the gas settings for a queued transaction._
28-
2927
## Cancel a transaction from the API
3028

3129
```typescript
@@ -44,7 +42,7 @@ if (resp.status === 200) {
4442
}
4543
```
4644

47-
Reference: [`Cancel Transaction`](https://redocly.github.io/redoc/?url=https://demo.web3api.thirdweb.com/json#tag/Transaction/operation/cancel)
45+
Reference: [`Cancel Transaction`](https://thirdweb-engine.apidocumentation.com/reference#tag/transaction/POST/transaction/cancel)
4846

4947
## Cancel a transaction from the dashboard
5048

apps/portal/src/app/engine/features/contract-subscriptions/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ Your app may trigger an action when an onchain event occurs, such as:
3838
1. Select **Add Contract Subscription**.
3939
1. Provide a webhook URL.
4040

41-
API reference: [`POST /contract-subscriptions/add`](https://redocly.github.io/redoc/?url=https://demo.web3api.thirdweb.com/json#tag/Contract-Subscriptions/operation/addContractSubscription)
41+
API reference: [`POST /contract-subscriptions/add`](https://thirdweb-engine.apidocumentation.com/reference#tag/contract-subscriptions/POST/contract-subscriptions/add)
4242

4343
#### Remove a Contract Subscription
4444

4545
1. Navigate to the [thirdweb dashboard](https://thirdweb.com/dashboard/engine).
4646
1. Select **Contract Subscriptions**.
4747
1. Select **... > Remove** next to an existing subscription.
4848

49-
API reference: [`POST /contract-subscriptions/remove`](https://redocly.github.io/redoc/?url=https://demo.web3api.thirdweb.com/json#tag/Contract-Subscriptions/operation/removeContractSubscription)
49+
API reference: [`POST /contract-subscriptions/remove`](https://thirdweb-engine.apidocumentation.com/reference#tag/contract-subscriptions/POST/contract-subscriptions/remove)
5050

5151
## Handling webhooks
5252

apps/portal/src/app/engine/features/contracts/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ This is the request body to call the second function:
6767

6868
</Details>
6969

70-
[See API reference](https://redocly.github.io/redoc/?url=https://demo.web3api.thirdweb.com/json#tag/Contract/operation/write)
70+
[See API reference](https://thirdweb-engine.apidocumentation.com/reference#tag/contract/POST/contract/{chain}/{contractAddress}/write)
7171

7272
### Call a payable method
7373

apps/portal/src/app/engine/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const sidebar: SideBar = {
8787
},
8888
{
8989
name: "API Reference",
90-
href: "https://redocly.github.io/redoc/?url=https://demo.web3api.thirdweb.com/json",
90+
href: "https://thirdweb-engine.apidocumentation.com/",
9191
},
9292
{
9393
name: "Typescript SDK",

apps/portal/src/app/engine/troubleshooting/page.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ Engine automatically manages nonces so this error typically should not occur.
6060

6161
It's possible the transactions are not being accepted by the mempool. To remediate this issue, you can retry a transaction, cancel it, or reset all backend wallet nonces.
6262

63-
To retry a transaction, use [`POST /transaction/sync-retry`](https://redocly.github.io/redoc/?url=https://demo.web3api.thirdweb.com/json#tag/Transaction/operation/syncRetry) and provide the `queueId`. You may also provide a higher gas value to increase the likelihood of the transaction being mined.
63+
To retry a transaction, use [`POST /transaction/sync-retry`](https://thirdweb-engine.apidocumentation.com/reference#tag/transaction/POST/transaction/sync-retry) and provide the `queueId`. You may also provide a higher gas value to increase the likelihood of the transaction being mined.
6464

65-
To cancel a transaction, use [`POST /transaction/cancel`](https://redocly.github.io/redoc/?url=https://demo.web3api.thirdweb.com/json#tag/Transaction/operation/cancel) and provide the `queueId`.
65+
To cancel a transaction, use [`POST /transaction/cancel`](https://thirdweb-engine.apidocumentation.com/reference#tag/transaction/POST/transaction/cancel) and provide the `queueId`.
6666

6767

6868
<Callout
@@ -72,7 +72,7 @@ To cancel a transaction, use [`POST /transaction/cancel`](https://redocly.github
7272
Transactions that were sent but not yet mined may fail because new transactions will use the same nonce values as previously sent transactions.
7373
</Callout>
7474

75-
To reset the nonce, use [`POST /backend-wallet/reset-nonce`](https://redocly.github.io/redoc/?url=https://demo.web3api.thirdweb.com/json#tag/Backend-Wallet/operation/resetNonces) to sync the Engine nonce with the onchain value. This step resets all nonce values tracked in Engine, and the next sent transaction will use the next available onchain nonce.
75+
To reset the nonce for all backend wallets, use [`POST /backend-wallet/reset-nonce`](https://thirdweb-engine.apidocumentation.com/reference#tag/backend-wallet/POST/backend-wallet/reset-nonces) to force-sync the Engine nonces with the onchain values.
7676

7777
### Received "Insufficient funds for gas * price + value" error
7878

0 commit comments

Comments
 (0)