API

Organization Wallet 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

initializeOrganizationWalletV0

Accounts

NameMutabilitySignerDocs
payermutyes
organizationWalletmutno
organizationimmutno
authorityimmutyes
systemProgramimmutno

Args

NameTypeDocs
argsInitializeOrganizationWalletArgsV0

setTransactionsV0

Accounts

NameMutabilitySignerDocs
payermutyes
ownerimmutyes
organizationWalletimmutno
proposalimmutno
walletProposalmutno
choiceTransactionmutno
systemProgramimmutno

Args

NameTypeDocs
argsSetTransactionsArgsV0

executeTransactionV0

Accounts

NameMutabilitySignerDocs
organizationWalletimmutno
proposalimmutno
choiceTransactionmutno
walletmutno
refundmutno

Args

NameTypeDocs

updateOrganizationWalletV0

Accounts

NameMutabilitySignerDocs
payermutyes
organizationWalletmutno
organizationimmutno
authorityimmutyes
systemProgramimmutno

Args

NameTypeDocs
argsUpdateOrganizationWalletArgsV0

Accounts

OrganizationWalletV0

FieldType
indexu16
organizationpublicKey
walletpublicKey
proposalConfigspublicKey
namestring
bumpSeedu8
walletBumpSeedu8

WalletProposalV0

FieldType
proposalpublicKey
organizationWalletpublicKey
numTransactionsByChoiceu16

ChoiceTransactionV0

FieldType
walletProposalpublicKey
proposalpublicKey
organizationWalletpublicKey
choiceIndexu16
allowExecutionOffsetu32
disableExecutionOffsetu32
bumpSeedu8
transactionCompiledTransactionV0

OrganizationWalletPropoalV0

FieldType
organizationWalletpublicKey
proposalpublicKey
accountspublicKey
transactionsByChoice[object Object]
bumpSeedu8

Types

InitializeOrganizationWalletArgsV0

FieldType
namestring
proposalConfigspublicKey
indexu16

CompiledTransactionArgV0

FieldType
numRwSignersu8
numRoSignersu8
numRwu8
instructionsCompiledInstructionV0
signerSeedsbytes

SetTransactionsArgsV0

FieldType
choiceIndexu16
transactionIndexu16
allowExecutionOffsetu32
disableExecutionOffsetu32
transactionCompiledTransactionArgV0

UpdateOrganizationWalletArgsV0

FieldType
namestring
proposalConfigs[object Object]

CompiledInstructionV0

FieldType
programIdIndexu8
accountsbytes
databytes

CompiledTransactionV0

FieldType
numRwSignersu8
numRoSignersu8
numRwu8
accountspublicKey
instructionsCompiledInstructionV0
signerSeedsbytes
Previous