Namespace Thirdweb.Api
Classes
- Actions
Sign a transaction
- Body11
Request object containing an array of encoded blockchain transactions to execute. All transactions must use the same from address and chainId. For contract calls, use /v1/contracts/write. For native token transfers, use /v1/wallets/send.
- Body12
Request to create a product to be purchased. Users can purchase the product via hosted UI (link is returned), a transaction execution referencing the product ID, or embedded widgets with the product ID.
- Body13
Request to purchase a product. The system will automatically use your wallet balance to purchase the specified product.
- Body14
Request body for x402 facilitator 'verify'
- Body15
Request body for x402 facilitator 'settle'
- Body16
Request schema for creating a new ERC20 token
- Body17
Request to swap tokens using the optimal route available. You can specify a tokenIn amount (if exact='input') or tokenOut amount (if exact='output'), but not both. The corresponding output or input amount will be returned as the quote.
- Body18
Chat request
- Body3
Request body for pre-generating a wallet
- Body4
Request body for creating a wallet
- Body5
Request body for signing a message
- Body6
Request body for signing typed data
- Body7
Request body for sending tokens to multiple recipients. Supports native tokens, ERC20, ERC721, and ERC1155 transfers based on the provided parameters.
- Body8
Contract deployment specification for raw bytecode deployment.
- Contracts
Contract details enriched with additional project information from the API server.
- Profiles
Authentication provider details with type-based discrimination
- Profiles2
Authentication provider details with type-based discrimination
- Profiles3
Authentication provider details with type-based discrimination
- Profiles4
Authentication provider details with type-based discrimination
- Response19
Payment required response when user has insufficient funds. Contains a quote for completing the purchase.
- Response2
Successful authentication response. Returns wallet address plus authentication tokens.
- Response22
Contract metadata from the thirdweb contract metadata service.
- Response23
Contract ABI signatures in human-readable format. These signatures can be used directly with contract interaction methods.
- Response27
Payment required response when user has insufficient funds. Contains a quote for completing the purchase.
- Response28
Successful payment creation response containing the payment ID and link to purchase the product
- Response30
Payment required response when user has insufficient funds. Contains a quote for completing the purchase.
- Response34
Response returned by x402 facilitator 'verify'
- Response35
Response returned by x402 facilitator 'settle'
- Response36
Supported payment kinds for this facilitator
- Response42
Successful token swap response containing executed transaction ID
- Response43
Payment required response when user has insufficient funds. Contains a quote for completing the purchase.
- Response44
Chat response
- ThirdwebHttpClientWrapper
Wrapper class that adapts IThirdwebHttpClient to work with System.Net.Http.HttpClient expectations
- Transactions
A blockchain transaction with pre-encoded data payload. For contract calls, use /v1/contracts/write. For native token transfers, use /v1/wallets/send.
- profiles
Authentication provider details with type-based discrimination
Structs
Enums
- From
The fiat currency symbol
- IncludeNative
Whether to include native tokens (e.g., ETH, MATIC) in the results (default: true).
- IncludeSpam
Whether to include tokens marked as spam (default: false).
- IncludeWithoutPrice
Whether to include tokens without price data (default: true).
- Metadata
Whether to include token metadata (default: true).
- Provider
The OAuth provider to use
- ResolveMetadataLinks
Whether to resolve metadata links to fetch additional token information (default: true).
- SortBy
Field to sort tokens by: 'balance' for token balance, 'token_address' for token address, 'token_price' for token price, 'usd_value' for USD value (default: usd_value).
- SortOrder
Sort order: 'asc' for ascending, 'desc' for descending
- SortOrder2
Sort order: 'asc' for ascending, 'desc' for descending (default: desc).
- SortOrder3
Sort order: 'asc' for ascending, 'desc' for descending
- SortOrder4
Sort order: 'asc' for ascending, 'desc' for descending