-
Notifications
You must be signed in to change notification settings - Fork 623
Update page.mdx #6425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update page.mdx #6425
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,6 +27,44 @@ With a thirdweb API key, you get access to bundler and paymaster infrastructure | |
|
|
||
| To support a chain not listed, [contact us](https://thirdweb.com/contact-us). | ||
|
|
||
| Sure, here's the updated section with the provided information: | ||
|
|
||
|
||
| ## Using Paymaster & Bundler URL | ||
|
|
||
| To use the Paymaster & Bundler URL for thirdweb, you can follow the guide below: | ||
|
|
||
| ### URL Pattern | ||
|
|
||
| The URL pattern is predictable for all chains and is used for both paymaster and bundler operations: | ||
|
|
||
| ``` | ||
| https://<chain_id>.bundler.thirdweb.com/v2/<thirdweb-client-id> | ||
| ``` | ||
|
|
||
| Replace `<chain_id>` with the appropriate chain ID and `<thirdweb-client-id>` with your thirdweb client ID. | ||
|
|
||
| ### Client ID in Header | ||
|
|
||
| You can also pass the client ID via the header: | ||
|
|
||
| ``` | ||
| x-client-id: <your_thirdweb_client_id> | ||
| ``` | ||
|
|
||
| ### Frontend Calls | ||
|
|
||
| For frontend calls, the calling domain needs to be allowlisted. This can be done from the thirdweb dashboard in the API key settings. | ||
|
|
||
| ### Backend Usage | ||
|
|
||
| For backend usage, the secret key is required as a header, and the client ID can be omitted: | ||
|
|
||
| ``` | ||
| x-secret-key: <your_thirdweb_secret_key> | ||
| ``` | ||
|
|
||
| Make sure to replace the placeholders with your actual values. This guide will help you set up and use Paymaster & Bundler URLs effectively with thirdweb. | ||
|
|
||
| ## Using a Custom Bundler | ||
|
|
||
| Smart accounts are free to use with your own account abstraction infrastructure. To use your own paymaster & bundler, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.