UNPKG

bns-v2-sdk

Version:

The official BNS V2 SDK for interacting with Stacks Blockchain

100 lines (96 loc) 2.21 kB
// Read-only functions export { canRegisterName, getLastTokenId, getRenewalHeight, canResolveName, getOwner, getOwnerById, getNamespacePrice, getNamePrice, canNamespaceBeRegistered, getNamespaceProperties, getNameInfo, getBnsFromId, getPrimaryName, fetchUserOwnedNames, resolveNameZonefile, getIdFromBns, getZonefileRaw, getZonefileProfile, } from "./readOnlyCalls"; // Contract interaction functions export { buildTransferNameTx, buildListInUstxTx, buildUnlistInUstxTx, buildBuyInUstxTx, buildSetPrimaryNameTx, buildFreezeManagerTx, buildPreorderNamespaceTx, buildRevealNamespaceTx, buildLaunchNamespaceTx, buildTurnOffManagerTransfersTx, buildImportNameTx, buildNamespaceUpdatePriceTx, buildNamespaceFreezePriceTx, buildNameClaimFastTx, buildPreorderNameTx, buildRegisterNameTx, buildPreviousRegisterNameTx, buildClaimPreorderTx, buildRenewNameTx, buildUpdateZonefileTx, buildUpdateZonefileFlexibleTx, buildUpdateZonefileFormattedTx, } from "./contractCalls"; // Types export type { PriceFunction, BnsReadOnlyOptions, CanRegisterNameOptions, GetLastTokenIdOptions, GetRenewalHeightOptions, CanResolveNameOptions, GetOwnerOptions, GetNamespacePriceOptions, GetNamePriceOptions, CanNamespaceBeRegisteredOptions, GetNamespacePropertiesOptions, NamespaceProperties, NameInfo, GetIdFromBnsOptions, GetBnsFromIdOptions, GetPrimaryNameOptions, TransferNameOptions, ListInUstxOptions, UnlistInUstxOptions, BuyInUstxOptions, SetPrimaryNameOptions, FreezeManagerOptions, PreorderNamespaceOptions, RevealNamespaceOptions, LaunchNamespaceOptions, TurnOffManagerTransfersOptions, ImportNameOptions, NamespaceUpdatePriceOptions, NamespaceFreezePriceOptions, NameFastClaimOptions, PreorderNameOptions, RegisterNameOptions, ClaimPreorderOptions, RenewNameOptions, ResolveNameOptions, FetchUserOwnedNamesOptions, UpdateZonefileOptions, SubdomainMap, ZonefileData, FlexibleUpdateZonefileOptions, FormattedUpdateZonefileOptions, NewZonefileData, SocialEntry, AddressEntry, MetaEntry, SubdomainEntry, } from "./interfaces"; export { debug } from "./debug";