Methods

init(endpoint, cluster, programId)

Initialize the Nina Client Class Object

Parameters:
NameTypeDescription
endpointString

API endpoint URL (https://api.ninaprotocol.com/v1/)

clusterString

Solana RPC URL (https://api.mainnet-beta.solana.com)

programIdString

Nina Program Id (ninaN2tm9vUkxoanvGcNApEeWiidLMM2TdBX8HoJuL4)

Example
Nina.client.init(endpoint, cluster, programId)