API

Organization SDK

Quick tip

If you are looking for a quick start guide, check out the Getting Started guide. We also have some react examples here.

Instructions

initializeOrganizationV0

Accounts

NameMutabilitySignerDocs
payermutyes
organizationmutno
systemProgramimmutno

Args

NameTypeDocs
argsInitializeOrganizationArgsV0

initializeProposalV0

Accounts

NameMutabilitySignerDocs
payermutyes
authorityimmutyes
ownerimmutno
proposalmutno
proposalConfigimmutno
organizationmutno
proposalProgramimmutno
systemProgramimmutno

Args

NameTypeDocs
argsInitializeProposalArgsV0

updateOrganizationV0

Accounts

NameMutabilitySignerDocs
organizationmutno
authorityimmutyes

Args

NameTypeDocs
argsUpdateOrganizationArgsV0

Accounts

OrganizationV0

FieldType
numProposalsu32
authoritypublicKey
defaultProposalConfigpublicKey
proposalProgrampublicKey
namestring
uristring
bumpSeedu8

Types

InitializeOrganizationArgsV0

FieldType
namestring
authoritypublicKey
defaultProposalConfigpublicKey
proposalProgrampublicKey
uristring

ChoiceArg

FieldType
namestring
uristring

InitializeProposalArgsV0

FieldType
namestring
uristring
maxChoicesPerVoteru16
choicesChoiceArg
tagsstring

UpdateOrganizationArgsV0

FieldType
authoritypublicKey
defaultProposalConfigpublicKey
proposalProgrampublicKey
uristring
Previous