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

boost_v0

Accounts

NameMutabilitySignerDocs
payerimmutno
boost_configimmutno
carrierimmutno
hexboost_authorityimmutno
data_creditsimmutno
dc_mintimmutno
payment_accountimmutno
boosted_heximmutno
system_programimmutno
token_programimmutno
associated_token_programimmutno
data_credits_programimmutno

Args

NameTypeDocs
args[object Object]

close_boost_v0

Accounts

NameMutabilitySignerDocs
rent_reclaim_authorityimmutno
boost_configimmutno
boosted_heximmutno

Args

NameTypeDocs

initialize_boost_config_v0

Accounts

NameMutabilitySignerDocs
payerimmutno
sub_daoimmutno
authorityimmutno
rent_reclaim_authorityimmutno
start_authorityimmutno
price_oracleimmutno
dc_mintimmutno
boost_configimmutno
system_programimmutno
daoimmutno

Args

NameTypeDocs
args[object Object]

start_boost_v0

Accounts

NameMutabilitySignerDocs
start_authorityimmutno
boost_configimmutno
boosted_heximmutno

Args

NameTypeDocs
args[object Object]

start_boost_v1

Accounts

NameMutabilitySignerDocs
start_authorityimmutno
boost_configimmutno
boosted_heximmutno

Args

NameTypeDocs
args[object Object]

update_boost_config_v0

Accounts

NameMutabilitySignerDocs
sub_daoimmutno
authorityimmutno
boost_configimmutno

Args

NameTypeDocs
args[object Object]

Accounts

BoostConfigV0

undefined

BoostedHexV0

undefined

BoostedHexV1

undefined

CarrierV0

undefined

DaoV0

undefined

DataCreditsV0

undefined

SubDaoV0

undefined

Types

BoostAmountV0

FieldType
periodu16
amountu8

BoostArgsV0

FieldType
locationu64
versionu32
amounts[object Object]
device_type[object Object]

BoostConfigV0

FieldType
price_oraclepubkey
payment_mintpubkey
sub_daopubkey
rent_reclaim_authoritypubkey
boost_priceu64
period_lengthu32
minimum_periodsu16
bump_seedu8
start_authoritypubkey
dc_mintpubkey

BoostedHexV0

FieldType
boost_configpubkey
locationu64
start_tsi64
reserved[object Object]
bump_seedu8
boosts_by_periodbytes
versionu32

BoostedHexV1

FieldType
device_type[object Object]
boost_configpubkey
versionu32
locationu64
start_tsi64
bump_seedu8
boosts_by_periodbytes

CarrierV0

FieldType
sub_daopubkey
update_authoritypubkey
issuing_authoritypubkey
collectionpubkey
escrowpubkey
namestring
merkle_treepubkey
approvedbool
collection_bump_seedu8
bump_seedu8
hexboost_authoritypubkey
incentive_escrow_fund_bpsu16

DaoV0

FieldType
hnt_mintpubkey
dc_mintpubkey
authoritypubkey
registrarpubkey
hst_poolpubkey
net_emissions_capu64
num_sub_daosu32
emission_schedule[object Object]
hst_emission_schedule[object Object]
bump_seedu8
rewards_escrowpubkey
delegator_poolpubkey
delegator_rewards_percentu64
proposal_namespacepubkey
recent_proposals[object Object]

DataCreditsV0

FieldType
dc_mintpubkey
hnt_mintpubkey
authoritypubkey
hnt_price_oraclepubkey
data_credits_bumpu8
account_payerpubkey
account_payer_bumpu8

DeviceTypeV0

VariantFields
CbrsIndoor
CbrsOutdoor
WifiIndoor
WifiOutdoor

EmissionScheduleItem

FieldType
start_unix_timei64
emissions_per_epochu64

InitializeBoostConfigArgsV0

FieldType
boost_priceu64
period_lengthu32
minimum_periodsu16

PercentItem

FieldType
start_unix_timei64
percentu8

RecentProposal

FieldType
proposalpubkey
tsi64

StartBoostArgsV0

FieldType
start_tsi64

SubDaoV0

FieldType
daopubkey
dnt_mintpubkey
treasurypubkey
rewards_escrowpubkey
delegator_poolpubkey
vehnt_delegatedu128
vehnt_last_calculated_tsi64
vehnt_fall_rateu128
authoritypubkey
_deprecated_active_device_aggregatorpubkey
dc_burn_authoritypubkey
onboarding_dc_feeu64
emission_schedule[object Object]
bump_seedu8
registrarpubkey
_deprecated_delegator_rewards_percentu64
onboarding_data_only_dc_feeu64
dc_onboarding_fees_paidu64
active_device_authoritypubkey

UpdateBoostConfigArgsV0

FieldType
start_authoritypubkey
rent_reclaim_authoritypubkey
boost_priceu64
minimum_periodsu16
price_oraclepubkey
dc_mintpubkey
Previous