API

Nft Proxy 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

initializeProxyConfigV0

Accounts

NameMutabilitySignerDocs
payermutyes
authorityimmutno
proxyConfigmutno
systemProgramimmutno

Args

NameTypeDocs
argsInitializeProxyConfigArgsV0

assignProxyV0

Accounts

NameMutabilitySignerDocs
payermutyes
assetimmutno
approverimmutyes
voterimmutnoor in the case of a primary proxy (first in the line), Pubkey::default
tokenAccountimmutno
proxyConfigimmutno
currentProxyAssignmentmutno
recipientimmutno
nextProxyAssignmentmutno
systemProgramimmutno

Args

NameTypeDocs
argsAssignProxyArgsV0

unassignProxyV0

Accounts

NameMutabilitySignerDocs
rentRefundmutno
assetimmutno
approverimmutyes
voterimmutnoor in the case of a primary proxy (first in the line), Pubkey::default
tokenAccountimmutno
currentProxyAssignmentimmutno
prevProxyAssignmentmutno
proxyAssignmentmutno
proxyConfigimmutno
systemProgramimmutno

Args

NameTypeDocs

updateProxyConfigV0

Accounts

NameMutabilitySignerDocs
payermutyes
authorityimmutno
proxyConfigmutno
systemProgramimmutno

Args

NameTypeDocs
argsUpdateProxyConfigArgsV0

unassignExpiredProxyV0

Accounts

NameMutabilitySignerDocs
rentRefundmutno
prevProxyAssignmentmutno
proxyAssignmentmutno
systemProgramimmutno

Args

NameTypeDocs

closeExpiredProxyV0

Accounts

NameMutabilitySignerDocs
rentRefundmutno
proxyAssignmentmutno
systemProgramimmutno

Args

NameTypeDocs

Accounts

ProxyConfigV0

FieldType
authoritypublicKey
namestring
maxProxyTimei64
seasonsSeasonV0

ProxyAssignmentV0

FieldType
voterpublicKey
proxyConfigpublicKey
assetpublicKey
indexu16
nextVoterpublicKey
rentRefundpublicKey
expirationTimei64
bumpSeedu8

Types

AssignProxyArgsV0

FieldType
expirationTimei64

InitializeProxyConfigArgsV0

FieldType
namestring
maxProxyTimei64
seasonsSeasonV0

UpdateProxyConfigArgsV0

FieldType
maxProxyTimei64
seasons[object Object]

SeasonV0

FieldType
starti64
endi64
Previous