import BigNumber from 'bignumber.js'; import { TransactionArgumentType } from '../types'; /** * Maximum amount of decimals for on-chain values */ export declare const MAX_DECIMALS = 6; export declare const MAX_TICKER_LENGTH = 12; export declare const MAX_MODULE_LENGTH = 32; export declare const MAX_MEMO_LENGTH = 32; export declare const MAX_OFF_CHAIN_METADATA_LENGTH = 32; export declare const MAX_BATCH_SIZE_SUPPORTING_SUBSIDY = 7; export declare const MAX_META_LENGTH = 2048; /** * Maximum amount of required mediators. See MESH-2156 to see if this is queryable instead */ export declare const MAX_ASSET_MEDIATORS = 4; /** * Biggest possible number for on-chain balances */ export declare const MAX_BALANCE: BigNumber; /** * Account ID used for certain calls that require it when the SDK is instanced without one */ export declare const DUMMY_ACCOUNT_ID = "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"; /** * Whether or not to ignore the checksum when encoding/decoding polkadot addresses */ export declare const IGNORE_CHECKSUM = true; /** * Default SS58 format for encoding addresses (used when the chain doesn't specify one) */ export declare const DEFAULT_SS58_FORMAT = 42; export declare const MAX_CONCURRENT_REQUESTS = 200; export declare const TREASURY_MODULE_ADDRESS = "modlpm/trsry"; export declare const DEFAULT_GQL_PAGE_SIZE = 25; /** * Limit to the page size used when fetching large amounts of data from the chain (same goes for `.multi` calls) */ export declare const MAX_PAGE_SIZE: BigNumber; /** * The number of blocks a transaction is valid for by default */ export declare const DEFAULT_LIFETIME_PERIOD = 64; /** * Maps chain types to more human-readable `TransactionArgumentType`s */ export declare const ROOT_TYPES: Record; /** * The Polymesh chain spec version range that is compatible with this version of the SDK */ export declare const SUPPORTED_SPEC_VERSION_RANGE = "8.0 || 8.1"; /** * The Polymesh private chain spec version range that is compatible with this version of the SDK */ export declare const PRIVATE_SUPPORTED_SPEC_VERSION_RANGE = "1.0 || 1.1 || 2.0"; export declare const SUPPORTED_SPEC_SEMVER: string; export declare const PRIVATE_SUPPORTED_SPEC_SEMVER: string; export declare const STATE_RUNTIME_VERSION_CALL: { jsonrpc: string; method: string; params: never[]; id: string; }; export declare const CONFIDENTIAL_ASSETS_SUPPORTED_CALL: { jsonrpc: string; method: string; params: string[]; id: string; }; /** * Maximum amount of legs allowed in a single instruction */ export declare const MAX_LEGS_LENGTH = 10; /** * Default CDD ID associated with an Identity on chain. Used for Identities onboarded without PUIS */ export declare const DEFAULT_CDD_ID = "0x0000000000000000000000000000000000000000000000000000000000000000"; /** * Minimum version of Middleware V2 GraphQL Service (SubQuery) that is compatible with this version of the SDK */ export declare const MINIMUM_SQ_VERSION = "v19.6.0-alpha.2 "; /** * Global metadata key used to conventionally register an NFT image */ export declare const GLOBAL_IMAGE_URI_NAME = "imageUri"; /** * Global metadata key used to conventionally register an NFT collection base image */ export declare const GLOBAL_BASE_IMAGE_URI_NAME = "baseImageUri"; /** * Global metadata key used to conventionally register token information */ export declare const GLOBAL_TOKEN_URI_NAME = "tokenUri"; /** * Global metadata key used to conventionally register token information */ export declare const GLOBAL_BASE_TOKEN_URI_NAME = "baseTokenUri"; export declare const ASSET_ID_PREFIX = "modlpy/pallet_asset"; export declare const TX_TAG_VALUES: string[]; export declare const MODULE_NAMES: string[]; //# sourceMappingURL=constants.d.ts.map