Interface: NosanaClient
The Nosana client interface. Contains all the services and programs needed to interact with the Nosana network.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
api | readonly | NosanaApiClient | - |
authorization | readonly | NosanaAuthorization | - |
config | readonly | ClientConfig | - |
connect? | readonly | ConnectSession | The "Connect with Nosana" session — present when a connect input is provided. Its token is wired into the API client automatically, so client.api.* calls are authenticated once signed in. Typed as the common ConnectSession (a token source); for the browser login flow, drive it from the createBrowserConnect(...) reference you pass in (or cast this). |
ipfs | readonly | NosanaIpfsClient | - |
jobs | readonly | JobsProgram | - |
logger | readonly | Logger | - |
merkleDistributor | readonly | MerkleDistributorProgram | - |
nos | readonly | TokenService | - |
rewards | readonly | RewardsProgram | - |
solana | readonly | SolanaService | - |
stake | readonly | StakeProgram | - |
wallet | public | Wallet | undefined | The wallet. Must be a Wallet (supports both message and transaction signing). Set this property directly to configure the wallet. Example import { createNosanaClient, NosanaNetwork } from '@nosana/kit'; const client = createNosanaClient(NosanaNetwork.MAINNET); client.wallet = myWallet; |