.NET SDK
ThirdwebApi .NET Integration
ThirdwebApi
is the low-level HTTP client that powers the higher-level Thirdweb .NET SDK. Reach for it when you need to call https://api.thirdweb.com directly, build custom extensions, or inspect raw API payloads. The client works everywhere .NET runs, including Unity and MAUI.
Backend first — All of the above accept your project secret via
x-secret-key
. Client-side use cases can opt intox-client-id
+ user JWT flows where supported.
- You need endpoints that aren't yet wrapped by the higher-level SDK helpers.
- You're building backend services that must authenticate with a Thirdweb secret key.
- You want full visibility into contract metadata, ABI definitions, and compilation artifacts.
- You plan to orchestrate auth, payments, or cross-chain flows without managing disparate providers.
Create a reusable ThirdwebClient
instance with your backend secret key. This unlocks every raw API surface exposed by Thirdweb.
Contract metadata is the canonical example for low-level reads. The same pattern applies to other namespaces like /v1/wallets/*
, /v1/payments/*
, or /ai/chat
—swap the method call but keep your authenticated client.