API

Hexboosting 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

boostV0

Accounts

NameMutabilitySignerDocs
payermutyes
boostConfigimmutno
carrierimmutno
hexboostAuthorityimmutyes
priceOracleimmutno
paymentMintmutno
paymentAccountmutno
boostedHexmutno
systemProgramimmutno
tokenProgramimmutno
associatedTokenProgramimmutno

Args

NameTypeDocs
argsBoostArgsV0

initializeBoostConfigV0

Accounts

NameMutabilitySignerDocs
payermutyes
subDaoimmutno
authorityimmutyes
rentReclaimAuthorityimmutno
startAuthorityimmutno
priceOracleimmutno
dntMintimmutno
boostConfigmutno
systemProgramimmutno

Args

NameTypeDocs
argsInitializeBoostConfigArgsV0

startBoostV0

Accounts

NameMutabilitySignerDocs
startAuthorityimmutyes
boostConfigimmutno
boostedHexmutno

Args

NameTypeDocs
argsStartBoostArgsV0

startBoostV1

Accounts

NameMutabilitySignerDocs
startAuthorityimmutyes
boostConfigimmutno
boostedHexmutno

Args

NameTypeDocs
argsStartBoostArgsV0

closeBoostV0

Accounts

NameMutabilitySignerDocs
rentReclaimAuthorityimmutyes
boostConfigimmutno
boostedHexmutno

Args

NameTypeDocs

updateBoostConfigV0

Accounts

NameMutabilitySignerDocs
subDaoimmutno
authorityimmutyes
boostConfigmutno

Args

NameTypeDocs
argsUpdateBoostConfigArgsV0

Accounts

BoostConfigV0

FieldType
priceOraclepublicKey
paymentMintpublicKey
subDaopublicKey
rentReclaimAuthoritypublicKey
boostPriceu64
periodLengthu32
minimumPeriodsu16
bumpSeedu8
startAuthoritypublicKey

BoostedHexV0

FieldType
boostConfigpublicKey
locationu64
startTsi64
reserved[object Object]
bumpSeedu8
boostsByPeriodbytes
versionu32

BoostedHexV1

FieldType
deviceTypeDeviceTypeV0
boostConfigpublicKey
versionu32
locationu64
startTsi64
bumpSeedu8
boostsByPeriodbytes

Types

BoostArgsV0

FieldType
locationu64
versionu32
amountsBoostAmountV0
deviceTypeDeviceTypeV0

BoostAmountV0

FieldType
periodu16
amountu8

InitializeBoostConfigArgsV0

FieldType
boostPriceu64
periodLengthu32
minimumPeriodsu16

StartBoostArgsV0

FieldType
startTsi64

UpdateBoostConfigArgsV0

FieldType
startAuthoritypublicKey
rentReclaimAuthoritypublicKey
boostPriceu64
minimumPeriodsu16
priceOraclepublicKey

DeviceTypeV0

VariantFields
CbrsIndoor
CbrsOutdoor
WifiIndoor
WifiOutdoor
Previous