- Preparing search index...
 
- The search index is not available
 
Lumos 
 
default: {     anyoneCanPay: {         CellCollector: commons.CellCollectorConstructor;         injectCapacity: injectCapacity;         prepareSigningEntries: prepareSigningEntries;         setupInputCell: setupInputCell;         setupOutputCell: setupOutputCell;         withdraw: withdraw;     };     common: {         __tests__: {             _commonTransfer: ((txSkeleton, 
fromInfos, 
amount, 
minimalChangeCapacity, 
{ config, enableDeductCapacity, }?) => Promise<{                 capacity: bigint;                 changeCapacity: bigint;                 txSkeleton: helpers;             }>);             calculateFee: ((size, 
feeRate) => bigint);             calculateFeeCompatible: ((size, 
feeRate) => @ckb-lumos/bi);             generateLockScriptInfos: (({ config }?) => void);             getLockScriptInfos: (() => {                 _customInfos: commons.LockScriptInfo[];                 _predefinedInfos: commons.LockScriptInfo[];                 configHashCode: number;                 infos: commons.LockScriptInfo[];             });             getTransactionSize: ((txSkeleton) => number);             getTransactionSizeByTx: ((tx) => number);             resetLockScriptInfos: (() => void);         };         injectCapacity: injectCapacity;         payFee: payFee;         payFeeByFeeRate: payFeeByFeeRate;         prepareSigningEntries: prepareSigningEntries;         registerCustomLockScriptInfos: registerCustomLockScriptInfos;         setupInputCell: setupInputCell;         transfer: transfer;     };     dao: {         CellCollector: CellCollector;         calculateDaoEarliestSince: calculateDaoEarliestSince;         calculateDaoEarliestSinceCompatible: calculateDaoEarliestSinceCompatible;         calculateMaximumWithdraw: calculateMaximumWithdraw;         calculateMaximumWithdrawCompatible: calculateMaximumWithdrawCompatible;         deposit: deposit;         listDaoCells: listDaoCells;         unlock: unlock;         withdraw: ((txSkeleton, 
fromInput, 
fromInfo?, 
{ config }?) => Promise<helpers>);     };     locktimePool: {         CellCollector: commons.CellCollectorConstructor;         injectCapacity: injectCapacity;         injectCapacityWithoutChange: ((txSkeleton, 
fromInfos, 
amount, 
tipHeader, 
minimalChangeCapacity, 
{ config, LocktimeCellCollector, enableDeductCapacity, }) => Promise<{             capacity: bigint;             changeCapacity: bigint;             txSkeleton: helpers;         }>);         injectCapacityWithoutChangeCompatible: ((txSkeleton, 
fromInfos, 
amount, 
tipHeader, 
minimalChangeCapacity, 
{ config, LocktimeCellCollector, enableDeductCapacity, }) => Promise<{             capacity: @ckb-lumos/bi;             changeCapacity: @ckb-lumos/bi;             txSkeleton: helpers;         }>);         payFee: payFee;         prepareSigningEntries: prepareSigningEntries;         setupInputCell: setupInputCell;         transfer: transfer;         transferCompatible: transferCompatible;     };     secp256k1Blake160: {         CellCollector: commons.CellCollectorConstructor;         injectCapacity: injectCapacity;         payFee: payFee;         prepareSigningEntries: prepareSigningEntries;         setupInputCell: setupInputCell;         transfer: transfer;         transferCompatible: transferCompatible;     };     secp256k1Blake160Multisig: {         CellCollector: commons.CellCollectorConstructor;         injectCapacity: injectCapacity;         multisigArgs: multisigArgs;         payFee: payFee;         prepareSigningEntries: prepareSigningEntries;         serializeMultisigScript: serializeMultisigScript;         setupInputCell: setupInputCell;         transfer: transfer;         transferCompatible: transferCompatible;     };     sudt: {         issueToken: issueToken;         ownerForSudt: ownerForSudt;         packAmount: packAmount;         transfer: transfer;         unpackAmount: unpackAmount;     }; } 
Type declaration
- 
anyoneCanPay: { 
    CellCollector: commons.CellCollectorConstructor; 
    injectCapacity: injectCapacity; 
    prepareSigningEntries: prepareSigningEntries; 
    setupInputCell: setupInputCell; 
    setupOutputCell: setupOutputCell; 
    withdraw: withdraw; 
}
- 
 
- 
injectCapacity: injectCapacity
 
- 
prepareSigningEntries: prepareSigningEntries
 
- 
setupInputCell: setupInputCell
 
- 
setupOutputCell: setupOutputCell
 
- 
withdraw: withdraw
 
 
- 
common: { 
    __tests__: { 
        _commonTransfer: ((txSkeleton, fromInfos, amount, minimalChangeCapacity, { config, enableDeductCapacity, }?) => Promise<{ 
            capacity: bigint; 
            changeCapacity: bigint; 
            txSkeleton: helpers; 
        }>); 
        calculateFee: ((size, feeRate) => bigint); 
        calculateFeeCompatible: ((size, feeRate) => @ckb-lumos/bi); 
        generateLockScriptInfos: (({ config }?) => void); 
        getLockScriptInfos: (() => { 
            _customInfos: commons.LockScriptInfo[]; 
            _predefinedInfos: commons.LockScriptInfo[]; 
            configHashCode: number; 
            infos: commons.LockScriptInfo[]; 
        }); 
        getTransactionSize: ((txSkeleton) => number); 
        getTransactionSizeByTx: ((tx) => number); 
        resetLockScriptInfos: (() => void); 
    }; 
    injectCapacity: injectCapacity; 
    payFee: payFee; 
    payFeeByFeeRate: payFeeByFeeRate; 
    prepareSigningEntries: prepareSigningEntries; 
    registerCustomLockScriptInfos: registerCustomLockScriptInfos; 
    setupInputCell: setupInputCell; 
    transfer: transfer; 
}
- 
__tests__: { 
    _commonTransfer: ((txSkeleton, fromInfos, amount, minimalChangeCapacity, { config, enableDeductCapacity, }?) => Promise<{ 
        capacity: bigint; 
        changeCapacity: bigint; 
        txSkeleton: helpers; 
    }>); 
    calculateFee: ((size, feeRate) => bigint); 
    calculateFeeCompatible: ((size, feeRate) => @ckb-lumos/bi); 
    generateLockScriptInfos: (({ config }?) => void); 
    getLockScriptInfos: (() => { 
        _customInfos: commons.LockScriptInfo[]; 
        _predefinedInfos: commons.LockScriptInfo[]; 
        configHashCode: number; 
        infos: commons.LockScriptInfo[]; 
    }); 
    getTransactionSize: ((txSkeleton) => number); 
    getTransactionSizeByTx: ((tx) => number); 
    resetLockScriptInfos: (() => void); 
}
- 
_commonTransfer: ((txSkeleton, fromInfos, amount, minimalChangeCapacity, { config, enableDeductCapacity, }?) => Promise<{ 
    capacity: bigint; 
    changeCapacity: bigint; 
    txSkeleton: helpers; 
}>)
- 
- (txSkeleton, fromInfos, amount, minimalChangeCapacity, { config, enableDeductCapacity, }?): Promise<{ 
    capacity: bigint; 
    changeCapacity: bigint; 
    txSkeleton: helpers; 
}> 
- 
Parameters
- 
 
- 
 
- 
amount: bigint
 
- 
minimalChangeCapacity: bigint
 
- 
Optional { config, enableDeductCapacity, }: helpers & { 
    enableDeductCapacity?: boolean; 
}
 
 
Returns Promise<{ 
    capacity: bigint; 
    changeCapacity: bigint; 
    txSkeleton: helpers; 
}>
 
 
 
- 
calculateFee: ((size, feeRate) => bigint)
- 
- (size, feeRate): bigint
 
- 
Parameters
- 
size: number
 
- 
feeRate: bigint
 
 
Returns bigint
 
 
 
- 
calculateFeeCompatible: ((size, feeRate) => @ckb-lumos/bi)
 
- 
generateLockScriptInfos: (({ config }?) => void)
- 
- ({ config }?): void
 
- 
Returns void
 
 
 
- 
 
- 
getTransactionSize: ((txSkeleton) => number)
- 
- (txSkeleton): number
 
- 
Returns number
 
 
 
- 
getTransactionSizeByTx: ((tx) => number)
- 
- (tx): number
 
- 
Returns number
 
 
 
- 
resetLockScriptInfos: (() => void)
 
 
- 
injectCapacity: injectCapacity
 
- 
payFee: payFee
 
- 
payFeeByFeeRate: payFeeByFeeRate
 
- 
prepareSigningEntries: prepareSigningEntries
 
- 
registerCustomLockScriptInfos: registerCustomLockScriptInfos
 
- 
setupInputCell: setupInputCell
 
- 
transfer: transfer
 
 
- 
dao: { 
    CellCollector: CellCollector; 
    calculateDaoEarliestSince: calculateDaoEarliestSince; 
    calculateDaoEarliestSinceCompatible: calculateDaoEarliestSinceCompatible; 
    calculateMaximumWithdraw: calculateMaximumWithdraw; 
    calculateMaximumWithdrawCompatible: calculateMaximumWithdrawCompatible; 
    deposit: deposit; 
    listDaoCells: listDaoCells; 
    unlock: unlock; 
    withdraw: ((txSkeleton, fromInput, fromInfo?, { config }?) => Promise<helpers>); 
}
- 
CellCollector: CellCollector
 
- 
calculateDaoEarliestSince: calculateDaoEarliestSince
 
- 
calculateDaoEarliestSinceCompatible: calculateDaoEarliestSinceCompatible
 
- 
calculateMaximumWithdraw: calculateMaximumWithdraw
 
- 
calculateMaximumWithdrawCompatible: calculateMaximumWithdrawCompatible
 
- 
deposit: deposit
 
- 
listDaoCells: listDaoCells
 
- 
unlock: unlock
 
- 
withdraw: ((txSkeleton, fromInput, fromInfo?, { config }?) => Promise<helpers>)
- 
- (txSkeleton, fromInput, fromInfo?, { config }?): Promise<helpers>
 
- 
Returns Promise<helpers>
 
 
 
 
- 
locktimePool: { 
    CellCollector: commons.CellCollectorConstructor; 
    injectCapacity: injectCapacity; 
    injectCapacityWithoutChange: ((txSkeleton, fromInfos, amount, tipHeader, minimalChangeCapacity, { config, LocktimeCellCollector, enableDeductCapacity, }) => Promise<{ 
        capacity: bigint; 
        changeCapacity: bigint; 
        txSkeleton: helpers; 
    }>); 
    injectCapacityWithoutChangeCompatible: ((txSkeleton, fromInfos, amount, tipHeader, minimalChangeCapacity, { config, LocktimeCellCollector, enableDeductCapacity, }) => Promise<{ 
        capacity: @ckb-lumos/bi; 
        changeCapacity: @ckb-lumos/bi; 
        txSkeleton: helpers; 
    }>); 
    payFee: payFee; 
    prepareSigningEntries: prepareSigningEntries; 
    setupInputCell: setupInputCell; 
    transfer: transfer; 
    transferCompatible: transferCompatible; 
}
- 
 
- 
injectCapacity: injectCapacity
 
- 
injectCapacityWithoutChange: ((txSkeleton, fromInfos, amount, tipHeader, minimalChangeCapacity, { config, LocktimeCellCollector, enableDeductCapacity, }) => Promise<{ 
    capacity: bigint; 
    changeCapacity: bigint; 
    txSkeleton: helpers; 
}>)
- 
- (txSkeleton, fromInfos, amount, tipHeader, minimalChangeCapacity, { config, LocktimeCellCollector, enableDeductCapacity, }): Promise<{ 
    capacity: bigint; 
    changeCapacity: bigint; 
    txSkeleton: helpers; 
}> 
- 
Parameters
- 
 
- 
 
- 
amount: bigint
 
- 
 
- 
minimalChangeCapacity: bigint
 
- 
{ config, LocktimeCellCollector, enableDeductCapacity, }: { 
    LocktimeCellCollector?: commons.CellCollectorConstructor; 
    config?: config; 
    enableDeductCapacity?: boolean; 
}
- 
 
- 
Optional config?: config
 
- 
Optional enableDeductCapacity?: boolean
 
 
 
Returns Promise<{ 
    capacity: bigint; 
    changeCapacity: bigint; 
    txSkeleton: helpers; 
}>
 
 
 
- 
injectCapacityWithoutChangeCompatible: ((txSkeleton, fromInfos, amount, tipHeader, minimalChangeCapacity, { config, LocktimeCellCollector, enableDeductCapacity, }) => Promise<{ 
    capacity: @ckb-lumos/bi; 
    changeCapacity: @ckb-lumos/bi; 
    txSkeleton: helpers; 
}>)
- 
- (txSkeleton, fromInfos, amount, tipHeader, minimalChangeCapacity, { config, LocktimeCellCollector, enableDeductCapacity, }): Promise<{ 
    capacity: @ckb-lumos/bi; 
    changeCapacity: @ckb-lumos/bi; 
    txSkeleton: helpers; 
}> 
- 
Parameters
- 
 
- 
 
- 
 
- 
 
- 
 
- 
{ config, LocktimeCellCollector, enableDeductCapacity, }: { 
    LocktimeCellCollector?: commons.CellCollectorConstructor; 
    config?: config; 
    enableDeductCapacity?: boolean; 
}
- 
 
- 
Optional config?: config
 
- 
Optional enableDeductCapacity?: boolean
 
 
 
 
 
 
- 
payFee: payFee
 
- 
prepareSigningEntries: prepareSigningEntries
 
- 
setupInputCell: setupInputCell
 
- 
transfer: transfer
 
- 
transferCompatible: transferCompatible
 
 
- 
secp256k1Blake160: { 
    CellCollector: commons.CellCollectorConstructor; 
    injectCapacity: injectCapacity; 
    payFee: payFee; 
    prepareSigningEntries: prepareSigningEntries; 
    setupInputCell: setupInputCell; 
    transfer: transfer; 
    transferCompatible: transferCompatible; 
}
- 
 
- 
injectCapacity: injectCapacity
 
- 
payFee: payFee
 
- 
prepareSigningEntries: prepareSigningEntries
 
- 
setupInputCell: setupInputCell
 
- 
transfer: transfer
 
- 
transferCompatible: transferCompatible
 
 
- 
secp256k1Blake160Multisig: { 
    CellCollector: commons.CellCollectorConstructor; 
    injectCapacity: injectCapacity; 
    multisigArgs: multisigArgs; 
    payFee: payFee; 
    prepareSigningEntries: prepareSigningEntries; 
    serializeMultisigScript: serializeMultisigScript; 
    setupInputCell: setupInputCell; 
    transfer: transfer; 
    transferCompatible: transferCompatible; 
}
- 
 
- 
injectCapacity: injectCapacity
 
- 
multisigArgs: multisigArgs
 
- 
payFee: payFee
 
- 
prepareSigningEntries: prepareSigningEntries
 
- 
serializeMultisigScript: serializeMultisigScript
 
- 
setupInputCell: setupInputCell
 
- 
transfer: transfer
 
- 
transferCompatible: transferCompatible
 
 
- 
sudt: { 
    issueToken: issueToken; 
    ownerForSudt: ownerForSudt; 
    packAmount: packAmount; 
    transfer: transfer; 
    unpackAmount: unpackAmount; 
}
- 
issueToken: issueToken
 
- 
ownerForSudt: ownerForSudt
 
- 
packAmount: packAmount
 
- 
transfer: transfer
 
- 
unpackAmount: unpackAmount