Intégration .NET

Connectez-vous à 256 Blocks en utilisant .NET et C#

256 Blocks offre une compatibilité totale avec les applications .NET via la bibliothèque Nethereum, la bibliothèque d'intégration Ethereum la plus populaire pour l'écosystème .NET.

Bibliothèques Disponibles

BibliothèqueDescription
NethereumLa bibliothèque d'intégration .NET pour Ethereum

Authentification

Toutes les intégrations .NET utilisent l'en-tête X-API-Key pour l'authentification. Utilisez votre Endpoint Key depuis l'écran des paramètres du endpoint :

// Configure HttpClient with Endpoint Key header
var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Add("X-API-Key", "your-endpoint-key");

Point de Terminaison RPC

Utilisez le format de point de terminaison suivant :

https://rpc.256blocks.com/{chain}

Les chaînes supportées incluent ethereum, base, arbitrum, optimism, polygon et bsc.

Intégration .NET | 256 Blocks