UNPKG

ecash-lib

Version:

Library for eCash transaction building

33 lines 1.16 kB
/** Default dust limit on the eCash network. */ export declare const DEFAULT_DUST_SATS = 546n; /** Default fee per kB on the eCash network. */ export declare const DEFAULT_FEE_SATS_PER_KB = 1000n; /** Derivation path for non-HD token aware XEC wallets, like ecash-wallet or Cashtab */ export declare const XEC_TOKEN_AWARE_DERIVATION_PATH = "m/44'/1899'/0'/0/0"; /** * Confirmations required before coinbase utxos * are spendable * * On eCash, coinbase utxos may be * * - mining rewards * - staking rewards * - IFP rewards */ export declare const COINBASE_MATURITY = 100; /** * As of May 5, 2025, the max bytes permitted in an OP_RETURN * output on the eCash (XEC) network * * NB SLP spec works within this limit, ALP spec supports actions * beyond this limit. For now, ecash-wallet is written accounting * for this limit in ALP token action validation. */ export declare const OP_RETURN_MAX_BYTES = 223; /** * The node will throw an error on broadcasting a tx * with serSize() greater than this value in bytes */ export declare const MAX_TX_SERSIZE = 100000; export declare const P2PKH_OUTPUT_SIZE = 34; //# sourceMappingURL=consts.d.ts.map