Skip to content

Interface: NosanaClient ​

The Nosana client interface. Contains all the services and programs needed to interact with the Nosana network.

Properties ​

PropertyModifierTypeDescription
apireadonlyNosanaApiClient-
authorizationreadonlyNosanaAuthorization-
configreadonlyClientConfig-
connect?readonlyConnectSessionThe "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).
ipfsreadonlyNosanaIpfsClient-
jobsreadonlyJobsProgram-
loggerreadonlyLogger-
merkleDistributorreadonlyMerkleDistributorProgram-
nosreadonlyTokenService-
rewardsreadonlyRewardsProgram-
solanareadonlySolanaService-
stakereadonlyStakeProgram-
walletpublicWallet | undefinedThe 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;