UNPKG

@ledgerhq/coin-ton

Version:
50 lines 1.6 kB
/** * Maximum commission fee for jetton transactions in TON units. * Any excess fee will be returned to the user. */ export declare const TOKEN_TRANSFER_MAX_FEE = "0.1"; /** * Minimum required balance in TON units. * This is the minimum balance required to perform transactions. */ export declare const MINIMUM_REQUIRED_BALANCE = "0.02"; /** * Forward amount for token transfers in nanoTON units. */ export declare const TOKEN_TRANSFER_FORWARD_AMOUNT = 1; /** * Query ID for token transfers. */ export declare const TOKEN_TRANSFER_QUERY_ID = 0; /** * Maximum allowed bytes for a comment in a transaction. * Comments exceeding this limit will be considered invalid. */ export declare const MAX_COMMENT_BYTES = 120; /** * Operation codes for Jetton (TON token standard) transactions. * These codes are used to identify different types of token operations. */ export declare enum JettonOpCode { Transfer = 260734629, TransferNotification = 1935855772, InternalTransfer = 395134233, Excesses = 3576854235, Burn = 1499400124, BurnNotification = 2078119902 } /** * TON blockchain workchain identifiers. * MasterChain (-1) is used for validator operations and governance. * BaseChain (0) is the main workchain used for regular accounts and smart contracts. */ export declare enum Workchain { MasterChain = -1, BaseChain = 0 } /** * Default workchain used for TON addresses. * BaseChain (0) is the standard workchain for user accounts and transactions. */ export declare const WORKCHAIN = Workchain.BaseChain; //# sourceMappingURL=constants.d.ts.map