Skip to content

Interface: NosanaClient

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

Properties

PropertyModifierTypeDescription
apireadonlyNosanaApiWithApiKey-
authorizationreadonlyNosanaAuthorization-
configreadonlyClientConfig-
ipfsreadonlyobject-
ipfs.pinpublic(data) => Promise<string>-
ipfs.pinFilepublic(path) => Promise<string>-
ipfs.retrievepublic<T>(hash) => Promise<T>-
jobsreadonlyJobsProgram-
loggerreadonlyLogger-
merkleDistributorreadonlyMerkleDistributorProgram-
nosreadonlyTokenService-
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;