Table of Contents

Namespace Thirdweb.Api

Classes

Accepts
Accepts2
Accounts

Account metadata required for executing an instruction.

Actions

Sign a transaction

Anonymous
ApiException
ApiException<TResult>
Asset
Asset2
Asset3
Asset4
Asset5
Attributes
Authorization
Body
Body10

Contract deployment specification for raw bytecode deployment.

Body11
Body12
Body13

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.

Body14

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.

Body15

Request to purchase a product. The system will automatically use your wallet balance to purchase the specified product.

Body16

Request body for x402 facilitator 'verify'

Body17

Request body for x402 facilitator 'settle'

Body18
Body19

Request schema for creating a new ERC20 token

Body2
Body20

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.

Body21

Request payload for creating or fetching a Solana wallet by label.

Body22

Request payload for signing an arbitrary Solana message.

Body23

Request payload for signing a Solana transaction. Provide a serialized transaction or a set of instructions to be assembled server-side.

Body24

Request payload for broadcasting a signed Solana transaction. Use the signedTransaction output from /v1/solana/sign-transaction.

Body25

Request payload for transferring SOL or SPL tokens on Solana.

Body26

Submit a Solana transaction made up of one or more instructions.

Body27

Chat request

Body3

Request body for linking an additional authentication method or external wallet to the currently authenticated user.

Body4

Request body for unlinking an authentication provider or wallet from the currently authenticated user.

Body5

Request body for pre-generating a wallet

Body6

Request body for creating a wallet

Body7

Request body for signing a message

Body8

Request body for signing typed data

Body9

Request body for sending tokens to multiple recipients. Supports native tokens, ERC20, ERC721, and ERC1155 transfers based on the provided parameters.

Calls
ChainId

Chain ID in CAIP-2 format (e.g., 'eip155:1' for Ethereum, 'solana:mainnet' for Solana). Also accepts legacy numeric IDs for EVM chains.

ChainId2

The chain ID to use for the payment in CAIP-2 format. Supports EVM chains (e.g., 'eip155:1', 1) and Solana chains (e.g., 'solana:mainnet'). If not provided, the chain ID from the url's payment requirements will be used.

ChainId3

Solana network to query. Choose either solana:mainnet or solana:devnet.

ChainId4
ChainId5
ChainId6
ChainId7
ChainId8
ChainId9
Collection
Compiler
Content
Context
Contracts

Contract details enriched with additional project information from the API server.

Data
Data2
Decoded
Decoded2
Decoded3
DefaultAsset
DestinationToken
DestinationToken2
DestinationToken3
DestinationToken4
DestinationToken5
DestinationToken6
DestinationToken7
Details
Domain
Eip712
Eip7122
Events
Extra
InputSchema
Instructions

Single Solana instruction that will be included in a transaction.

Intent
Intent2
Intent3
Intent4
Intent5
Items
Kinds
LinkedAccounts

Authentication provider details with type-based discrimination

Messages
Meta
Metadata2
Method

The method to use, defaults to GET

Method2
NativeCurrency
Network
Network2
Network3
Network4
Network5
Network6
Network7
Network8
Network9
Nfts
Optimizer
OriginToken
OriginToken2
OriginToken3
OriginToken4
OriginToken5
OriginToken6
OriginToken7
Output
Owners
Pagination
Pagination10
Pagination11
Pagination12
Pagination13
Pagination14
Pagination2
Pagination3
Pagination4
Pagination5
Pagination6
Pagination7
Pagination8
Pagination9
PayTo
PayTo2
PayTo3
PayTo4
PayTo5
Payer
Payer2
Payload
Payload2
PaymentPayload
PaymentPayload2
PaymentRequirements
PaymentRequirements2
Price
Price_data
PriorityFee
PriorityFee2
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

Quote
Quote2
Quote3
Quote4
Quote5
Recipients
Response
Response10
Response11
Response12
Response13
Response14
Response15
Response16
Response17
Response18
Response19
Response2

Successful authentication response. Returns wallet address plus authentication tokens.

Response20
Response21

Payment required response when user has insufficient funds. Contains a quote for completing the purchase.

Response22
Response23
Response24

Contract metadata from the thirdweb contract metadata service.

Response25

Contract ABI signatures in human-readable format. These signatures can be used directly with contract interaction methods.

Response26
Response27
Response28
Response29

Payment required response when user has insufficient funds. Contains a quote for completing the purchase.

Response3

Response returned after successfully linking an additional authentication provider. The response includes all linked profiles for the user.

Response30

Successful payment creation response containing the payment ID and link to purchase the product

Response31
Response32

Payment required response when user has insufficient funds. Contains a quote for completing the purchase.

Response33
Response34
Response35
Response36

Response returned by x402 facilitator 'verify'

Response37

Response returned by x402 facilitator 'settle'

Response38

Supported payment kinds for this facilitator

Response39

Payment required response when user has insufficient funds. Contains a quote for completing the purchase.

Response4

Response returned after successfully linking an additional authentication provider. The response includes all linked profiles for the user.

Response40
Response41
Response42
Response43
Response44
Response45
Response46
Response47
Response48
Response49

Successful token swap response containing executed transaction ID

Response5
Response50

Payment required response when user has insufficient funds. Contains a quote for completing the purchase.

Response51
Response52
Response53
Response54
Response55
Response56
Response57
Response58
Response59
Response6
Response60
Response61
Response62
Response63

Chat response

Response7
Response8
Response9
Result
Result10
Result11
Result12
Result13
Result14
Result15
Result16
Result17
Result18
Result19
Result2
Result20
Result21
Result22
Result23
Result24
Result25
Result26
Result27
Result28
Result29
Result3
Result30
Result31
Result32
Result33
Result34
Result35
Result36
Result37
Result38
Result39
Result4
Result40
Result41
Result42
Result43
Result44
Result5
Result6
Result7
Result8
Result9
RouteConfig
Routes

Represents a supported bridge route between an origin and destination token.

Sale
Settings
Steps
Steps2
Steps3
Steps4
SupportedAssets
ThirdwebApiClient
ThirdwebHttpClientWrapper

Wrapper class that adapts IThirdwebHttpClient to work with System.Net.Http.HttpClient expectations

Token
TokenIn
TokenOut
Tokens
Transactions

A blockchain transaction with pre-encoded data payload. For contract calls, use /v1/contracts/write. For native token transfers, use /v1/wallets/send.

Transactions2
Transactions3
Transactions4
Transactions5
Transactions6
Transactions7
Transactions8
Value
Wallets
Wallets2

Details for a Solana wallet in your project.

accepts
accounts

Account metadata required for executing an instruction.

calls
data
instructions

Single Solana instruction that will be included in a transaction.

linkedAccounts

Authentication provider details with type-based discrimination

profiles

Authentication provider details with type-based discrimination

result
steps
tokens
transactions
wallets

Structs

ThirdwebApiClient.ObjectResponseResult<T>

Enums

Accepts2Scheme
AcceptsScheme
ActionsType
Body17WaitUntil
Body20Exact
Body2Method
Body4Type
Body5Type
BodyMethod
DataStatus
DataType
Eip7122PrimaryType
Eip712PrimaryType
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).

InputSchemaBodyType
InstructionsEncoding
ItemsType
KindsScheme
MessagesRole
Metadata

Whether to include token metadata (default: true).

PaymentPayload2Scheme
PaymentPayloadScheme
PaymentRequirements2Scheme
PaymentRequirementsScheme
PriorityFee2Type
PriorityFeeType
Provider

The OAuth provider to use

ResolveMetadataLinks

Whether to resolve metadata links to fetch additional token information (default: true).

Response36InvalidReason
Response37ErrorReason
Response37Network
ResponseMethod
Result20Status
Result44Status
SaleType
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).

SortBy2
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

SortOrder5
Transactions2Status
Transactions4Action
Transactions5Action
Transactions6Action
Transactions7Action
Transactions8Action
acceptsScheme
instructionsEncoding