Skip to main content
After installing the SDK, initialize a BlackSwanClient instance with the network and RPC URL you want to use. The client is the entry point for all SDK method calls.

BlackSwanClient

Initialize the client with your network and RPC URL.

Parameters

Example

Supported Networks

  • amoy — Polygon Amoy testnet
  • sepolia — Ethereum Sepolia testnet