Skip to content

JobsClient ​

Functions ​

FunctionDescription
decodeJobAccount-
decodeMarketAccount-
decodeMarketSettingsAccount-
decodeRunAccount-
fetchAllJobAccount-
fetchAllMarketAccount-
fetchAllMarketSettingsAccount-
fetchAllMaybeJobAccount-
fetchAllMaybeMarketAccount-
fetchAllMaybeMarketSettingsAccount-
fetchAllMaybeRunAccount-
fetchAllRunAccount-
fetchJobAccount-
fetchMarketAccount-
fetchMarketSettingsAccount-
fetchMaybeJobAccount-
fetchMaybeMarketAccount-
fetchMaybeMarketSettingsAccount-
fetchMaybeRunAccount-
fetchRunAccount-
getAssignDiscriminatorBytes-
getAssignInstruction-
getAssignInstructionAsync-
getAssignInstructionDataCodec-
getAssignInstructionDataDecoder-
getAssignInstructionDataEncoder-
getCleanAdminDiscriminatorBytes-
getCleanAdminInstruction-
getCleanAdminInstructionDataCodec-
getCleanAdminInstructionDataDecoder-
getCleanAdminInstructionDataEncoder-
getCleanDiscriminatorBytes-
getCleanInstruction-
getCleanInstructionDataCodec-
getCleanInstructionDataDecoder-
getCleanInstructionDataEncoder-
getCloseAdminDiscriminatorBytes-
getCloseAdminInstruction-
getCloseAdminInstructionAsync-
getCloseAdminInstructionDataCodec-
getCloseAdminInstructionDataDecoder-
getCloseAdminInstructionDataEncoder-
getCloseDiscriminatorBytes-
getCloseInstruction-
getCloseInstructionAsync-
getCloseInstructionDataCodec-
getCloseInstructionDataDecoder-
getCloseInstructionDataEncoder-
getCloseSettingsDiscriminatorBytes-
getCloseSettingsInstruction-
getCloseSettingsInstructionAsync-
getCloseSettingsInstructionDataCodec-
getCloseSettingsInstructionDataDecoder-
getCloseSettingsInstructionDataEncoder-
getCompleteDiscriminatorBytes-
getCompleteInstruction-
getCompleteInstructionDataCodec-
getCompleteInstructionDataDecoder-
getCompleteInstructionDataEncoder-
getDelistDiscriminatorBytes-
getDelistInstruction-
getDelistInstructionDataCodec-
getDelistInstructionDataDecoder-
getDelistInstructionDataEncoder-
getEndDiscriminatorBytes-
getEndInstruction-
getEndInstructionDataCodec-
getEndInstructionDataDecoder-
getEndInstructionDataEncoder-
getExtendDiscriminatorBytes-
getExtendInstruction-
getExtendInstructionDataCodec-
getExtendInstructionDataDecoder-
getExtendInstructionDataEncoder-
getFinishDiscriminatorBytes-
getFinishInstruction-
getFinishInstructionDataCodec-
getFinishInstructionDataDecoder-
getFinishInstructionDataEncoder-
getJobAccountCodecGets the codec for JobAccount account data.
getJobAccountDecoderGets the decoder for JobAccount account data.
getJobAccountDiscriminatorBytes-
getJobAccountEncoderGets the encoder for JobAccountArgs account data.
getJobAccountSize-
getListDiscriminatorBytes-
getListInstruction-
getListInstructionAsync-
getListInstructionDataCodec-
getListInstructionDataDecoder-
getListInstructionDataEncoder-
getMarketAccountCodecGets the codec for MarketAccount account data.
getMarketAccountDecoderGets the decoder for MarketAccount account data.
getMarketAccountDiscriminatorBytes-
getMarketAccountEncoderGets the encoder for MarketAccountArgs account data.
getMarketSettingsAccountCodecGets the codec for MarketSettingsAccount account data.
getMarketSettingsAccountDecoderGets the decoder for MarketSettingsAccount account data.
getMarketSettingsAccountDiscriminatorBytes-
getMarketSettingsAccountEncoderGets the encoder for MarketSettingsAccountArgs account data.
getMarketSettingsAccountSize-
getNosanaJobsErrorMessage-
getOpenDiscriminatorBytes-
getOpenInstruction-
getOpenInstructionAsync-
getOpenInstructionDataCodec-
getOpenInstructionDataDecoder-
getOpenInstructionDataEncoder-
getQuitAdminDiscriminatorBytes-
getQuitAdminInstruction-
getQuitAdminInstructionDataCodec-
getQuitAdminInstructionDataDecoder-
getQuitAdminInstructionDataEncoder-
getQuitDiscriminatorBytes-
getQuitInstruction-
getQuitInstructionDataCodec-
getQuitInstructionDataDecoder-
getQuitInstructionDataEncoder-
getRecoverDiscriminatorBytes-
getRecoverInstruction-
getRecoverInstructionDataCodec-
getRecoverInstructionDataDecoder-
getRecoverInstructionDataEncoder-
getReflectionAccountCodec-
getReflectionAccountDecoder-
getReflectionAccountEncoder-
getRunAccountCodecGets the codec for RunAccount account data.
getRunAccountDecoderGets the decoder for RunAccount account data.
getRunAccountDiscriminatorBytes-
getRunAccountEncoderGets the encoder for RunAccountArgs account data.
getRunAccountSize-
getSetSettingsDiscriminatorBytes-
getSetSettingsInstruction-
getSetSettingsInstructionAsync-
getSetSettingsInstructionDataCodec-
getSetSettingsInstructionDataDecoder-
getSetSettingsInstructionDataEncoder-
getStakeAccountCodec-
getStakeAccountDecoder-
getStakeAccountEncoder-
getStopDiscriminatorBytes-
getStopInstruction-
getStopInstructionDataCodec-
getStopInstructionDataDecoder-
getStopInstructionDataEncoder-
getUpdateDiscriminatorBytes-
getUpdateInstruction-
getUpdateInstructionDataCodec-
getUpdateInstructionDataDecoder-
getUpdateInstructionDataEncoder-
getWorkDiscriminatorBytes-
getWorkInstruction-
getWorkInstructionDataCodec-
getWorkInstructionDataDecoder-
getWorkInstructionDataEncoder-
identifyNosanaJobsAccount-
identifyNosanaJobsInstruction-
isNosanaJobsError-
parseAssignInstruction-
parseCleanAdminInstruction-
parseCleanInstruction-
parseCloseAdminInstruction-
parseCloseInstruction-
parseCloseSettingsInstruction-
parseCompleteInstruction-
parseDelistInstruction-
parseEndInstruction-
parseExtendInstruction-
parseFinishInstruction-
parseListInstruction-
parseOpenInstruction-
parseQuitAdminInstruction-
parseQuitInstruction-
parseRecoverInstruction-
parseSetSettingsInstruction-
parseStopInstruction-
parseUpdateInstruction-
parseWorkInstruction-

Type Aliases ​

Type AliasDescription
AssignAsyncInput-
AssignInput-
AssignInstruction-
AssignInstructionAccountName-
AssignInstructionData-
AssignInstructionDataArgs-
CleanAdminInput-
CleanAdminInstruction-
CleanAdminInstructionAccountName-
CleanAdminInstructionData-
CleanAdminInstructionDataArgs-
CleanInput-
CleanInstruction-
CleanInstructionAccountName-
CleanInstructionData-
CleanInstructionDataArgs-
CloseAdminAsyncInput-
CloseAdminInput-
CloseAdminInstruction-
CloseAdminInstructionAccountName-
CloseAdminInstructionData-
CloseAdminInstructionDataArgs-
CloseAsyncInput-
CloseInput-
CloseInstruction-
CloseInstructionAccountName-
CloseInstructionData-
CloseInstructionDataArgs-
CloseSettingsAsyncInput-
CloseSettingsInput-
CloseSettingsInstruction-
CloseSettingsInstructionAccountName-
CloseSettingsInstructionData-
CloseSettingsInstructionDataArgs-
CompleteInput-
CompleteInstruction-
CompleteInstructionAccountName-
CompleteInstructionData-
CompleteInstructionDataArgs-
DelistInput-
DelistInstruction-
DelistInstructionAccountName-
DelistInstructionData-
DelistInstructionDataArgs-
EndInput-
EndInstruction-
EndInstructionAccountName-
EndInstructionData-
EndInstructionDataArgs-
ExtendInput-
ExtendInstruction-
ExtendInstructionAccountName-
ExtendInstructionData-
ExtendInstructionDataArgs-
FinishInput-
FinishInstruction-
FinishInstructionAccountName-
FinishInstructionData-
FinishInstructionDataArgs-
JobAccount-
JobAccountArgs-
ListAsyncInput-
ListInput-
ListInstruction-
ListInstructionAccountName-
ListInstructionData-
ListInstructionDataArgs-
MarketAccount-
MarketAccountArgs-
MarketSettingsAccount-
MarketSettingsAccountArgs-
NosanaJobsAccount-
NosanaJobsError-
NosanaJobsInstruction-
OpenAsyncInput-
OpenInput-
OpenInstruction-
OpenInstructionAccountName-
OpenInstructionData-
OpenInstructionDataArgs-
ParsedAssignInstruction-
ParsedCleanAdminInstruction-
ParsedCleanInstruction-
ParsedCloseAdminInstruction-
ParsedCloseInstruction-
ParsedCloseSettingsInstruction-
ParsedCompleteInstruction-
ParsedDelistInstruction-
ParsedEndInstruction-
ParsedExtendInstruction-
ParsedFinishInstruction-
ParsedListInstruction-
ParsedNosanaJobsInstruction-
ParsedOpenInstruction-
ParsedQuitAdminInstruction-
ParsedQuitInstruction-
ParsedRecoverInstruction-
ParsedSetSettingsInstruction-
ParsedStopInstruction-
ParsedUpdateInstruction-
ParsedWorkInstruction-
QuitAdminInput-
QuitAdminInstruction-
QuitAdminInstructionAccountName-
QuitAdminInstructionData-
QuitAdminInstructionDataArgs-
QuitInput-
QuitInstruction-
QuitInstructionAccountName-
QuitInstructionData-
QuitInstructionDataArgs-
RecoverInput-
RecoverInstruction-
RecoverInstructionAccountName-
RecoverInstructionData-
RecoverInstructionDataArgs-
ReflectionAccountThe ReflectionAccount struct holds all the information on the reflection pool.
ReflectionAccountArgs-
RunAccount-
RunAccountArgs-
SetSettingsAsyncInput-
SetSettingsInput-
SetSettingsInstruction-
SetSettingsInstructionAccountName-
SetSettingsInstructionData-
SetSettingsInstructionDataArgs-
StakeAccountThe StakeAccount struct holds all the information for any given stake.
StakeAccountArgs-
StopInput-
StopInstruction-
StopInstructionAccountName-
StopInstructionData-
StopInstructionDataArgs-
UpdateInput-
UpdateInstruction-
UpdateInstructionAccountName-
UpdateInstructionData-
UpdateInstructionDataArgs-
WorkInput-
WorkInstruction-
WorkInstructionAccountName-
WorkInstructionData-
WorkInstructionDataArgs-

Variables ​

VariableDescription
ASSIGN_DISCRIMINATOR-
ASSIGN_INSTRUCTION_ACCOUNTS-
CLEAN_ADMIN_DISCRIMINATOR-
CLEAN_ADMIN_INSTRUCTION_ACCOUNTS-
CLEAN_DISCRIMINATOR-
CLEAN_INSTRUCTION_ACCOUNTS-
CLOSE_ADMIN_DISCRIMINATOR-
CLOSE_ADMIN_INSTRUCTION_ACCOUNTS-
CLOSE_DISCRIMINATOR-
CLOSE_INSTRUCTION_ACCOUNTS-
CLOSE_SETTINGS_DISCRIMINATOR-
CLOSE_SETTINGS_INSTRUCTION_ACCOUNTS-
COMPLETE_DISCRIMINATOR-
COMPLETE_INSTRUCTION_ACCOUNTS-
DELIST_DISCRIMINATOR-
DELIST_INSTRUCTION_ACCOUNTS-
END_DISCRIMINATOR-
END_INSTRUCTION_ACCOUNTS-
EXTEND_DISCRIMINATOR-
EXTEND_INSTRUCTION_ACCOUNTS-
FINISH_DISCRIMINATOR-
FINISH_INSTRUCTION_ACCOUNTS-
JOB_ACCOUNT_DISCRIMINATOR-
LIST_DISCRIMINATOR-
LIST_INSTRUCTION_ACCOUNTS-
MARKET_ACCOUNT_DISCRIMINATOR-
MARKET_SETTINGS_ACCOUNT_DISCRIMINATOR-
NOSANA_JOBS_ERROR__ACCESS_KEY_INVALID_COLLECTIONAccessKeyInvalidCollection: This access key NFT does not belong to the verified collection.
NOSANA_JOBS_ERROR__ACCESS_KEY_MISSINGAccessKeyMissing: This market requires an access key NFT.
NOSANA_JOBS_ERROR__ACCESS_NFT_INVALID_AMOUNTAccessNftInvalidAmount: Access key NFT amount cannot be 0.
NOSANA_JOBS_ERROR__ACCESS_NFT_WRONG_OWNERAccessNftWrongOwner: This access key NFT is not owned by the signer.
NOSANA_JOBS_ERROR__INVALID_JOB_ACCOUNTInvalidJobAccount: This job account is not valid.
NOSANA_JOBS_ERROR__INVALID_MARKET_ACCOUNTInvalidMarketAccount: This market account is not valid.
NOSANA_JOBS_ERROR__JOB_IN_WRONG_STATEJobInWrongState: This job does not have the right status.
NOSANA_JOBS_ERROR__JOB_INVALID_PROJECTJobInvalidProject: The job has a different project owner.
NOSANA_JOBS_ERROR__JOB_INVALID_RUN_ACCOUNTJobInvalidRunAccount: The run account does not match the job.
NOSANA_JOBS_ERROR__JOB_NOT_EXPIREDJobNotExpired: The job has not yet expired.
NOSANA_JOBS_ERROR__JOB_RESULT_NULLJobResultNull: The job result can not be null.
NOSANA_JOBS_ERROR__JOB_RESULTS_ALREADY_SETJobResultsAlreadySet: The job results are already set.
NOSANA_JOBS_ERROR__JOB_TIMEOUT_NOT_GREATERJobTimeoutNotGreater: The new job timeout should be larger than the current one.
NOSANA_JOBS_ERROR__MARKET_IN_WRONG_STATEMarketInWrongState: This market does not have the right status.
NOSANA_JOBS_ERROR__MARKET_SETTINGS_MISSINGMarketSettingsMissing: This market has settings that must be closed with it.
NOSANA_JOBS_ERROR__NODE_ALREADY_QUEUEDNodeAlreadyQueued: This node is already present in the queue.
NOSANA_JOBS_ERROR__NODE_KEY_INVALID_COLLECTIONNodeKeyInvalidCollection: This access key does not belong to a verified collection.
NOSANA_JOBS_ERROR__NODE_NFT_INVALID_AMOUNTNodeNftInvalidAmount: Access NFT amount cannot be 0.
NOSANA_JOBS_ERROR__NODE_NFT_WRONG_METADATANodeNftWrongMetadata: This metadata does not have the correct address.
NOSANA_JOBS_ERROR__NODE_NFT_WRONG_OWNERNodeNftWrongOwner: This NFT is not owned by this node.
NOSANA_JOBS_ERROR__NODE_NOT_ENOUGH_STAKENodeNotEnoughStake: This node has not staked enough tokens.
NOSANA_JOBS_ERROR__NODE_QUEUE_DOES_NOT_MATCHNodeQueueDoesNotMatch: This node queue does not match.
NOSANA_JOBS_ERROR__NODE_STAKE_UNAUTHORIZEDNodeStakeUnauthorized: This node is not authorizing this stake.
NOSANA_JOBS_ERROR__NOT_IN_MARKET_QUEUENotInMarketQueue: Account cannot be find account in market queue.
NOSANA_JOBS_PROGRAM_ADDRESS-
NosanaJobsAccount-
NosanaJobsInstruction-
OPEN_DISCRIMINATOR-
OPEN_INSTRUCTION_ACCOUNTS-
QUIT_ADMIN_DISCRIMINATOR-
QUIT_ADMIN_INSTRUCTION_ACCOUNTS-
QUIT_DISCRIMINATOR-
QUIT_INSTRUCTION_ACCOUNTS-
RECOVER_DISCRIMINATOR-
RECOVER_INSTRUCTION_ACCOUNTS-
RUN_ACCOUNT_DISCRIMINATOR-
SET_SETTINGS_DISCRIMINATOR-
SET_SETTINGS_INSTRUCTION_ACCOUNTS-
STOP_DISCRIMINATOR-
STOP_INSTRUCTION_ACCOUNTS-
UPDATE_DISCRIMINATOR-
UPDATE_INSTRUCTION_ACCOUNTS-
WORK_DISCRIMINATOR-
WORK_INSTRUCTION_ACCOUNTS-