Preparing search index...
The search index is not available Lumos
common : { __tests__ : { _commonTransfer : ( ( txSkeleton ,
fromInfos ,
amount ,
minimalChangeCapacity ,
__namedParameters ? ) => Promise < { capacity : bigint ; changeCapacity : bigint ; txSkeleton : TransactionSkeletonType ; } > ) ; calculateFee : ( ( size ,
feeRate ) => bigint ) ; calculateFeeCompatible : ( ( size ,
feeRate ) => BI ) ; generateLockScriptInfos : ( ( __namedParameters ? ) => void ) ; getLockScriptInfos : ( ( ) => LockScriptInfosType ) ; getTransactionSize : ( ( txSkeleton ) => number ) ; getTransactionSizeByTx : ( ( tx ) => number ) ; resetLockScriptInfos : ( ( ) => void ) ; } ; injectCapacity : ( ( txSkeleton ,
fromInfos ,
amount ,
changeAddress ? ,
tipHeader ? ,
__namedParameters ? ) => Promise < TransactionSkeletonType > ) ; payFee : ( ( txSkeleton ,
fromInfos ,
amount ,
tipHeader ? ,
__namedParameters ? ) => Promise < TransactionSkeletonType > ) ; payFeeByFeeRate : ( ( txSkeleton ,
fromInfos ,
feeRate ,
tipHeader ? ,
__namedParameters ? ) => Promise < TransactionSkeletonType > ) ; prepareSigningEntries : ( ( txSkeleton ,
__namedParameters ? ) => TransactionSkeletonType ) ; registerCustomLockScriptInfos : ( ( infos ) => void ) ; setupInputCell : ( ( txSkeleton ,
inputCell ,
fromInfo ? ,
options ? ) => Promise < TransactionSkeletonType > ) ; transfer : ( ( txSkeleton ,
fromInfos ,
toAddress ,
amount ,
changeAddress ? ,
tipHeader ? ,
options ? ) => Promise < TransactionSkeletonType > ) ; }
Type declaration
__tests__ : { _commonTransfer : ( ( txSkeleton , fromInfos , amount , minimalChangeCapacity , __namedParameters ? ) => Promise < { capacity : bigint ; changeCapacity : bigint ; txSkeleton : TransactionSkeletonType ; } > ) ; calculateFee : ( ( size , feeRate ) => bigint ) ; calculateFeeCompatible : ( ( size , feeRate ) => BI ) ; generateLockScriptInfos : ( ( __namedParameters ? ) => void ) ; getLockScriptInfos : ( ( ) => LockScriptInfosType ) ; getTransactionSize : ( ( txSkeleton ) => number ) ; getTransactionSizeByTx : ( ( tx ) => number ) ; resetLockScriptInfos : ( ( ) => void ) ; }
_common Transfer : ( ( txSkeleton , fromInfos , amount , minimalChangeCapacity , __namedParameters ? ) => Promise < { capacity : bigint ; changeCapacity : bigint ; txSkeleton : TransactionSkeletonType ; } > )
( txSkeleton , fromInfos , amount , minimalChangeCapacity , __namedParameters ? ) : Promise < { capacity : bigint ; changeCapacity : bigint ; txSkeleton : TransactionSkeletonType ; } >
Parameters
amount : bigint
minimalChangeCapacity : bigint
__namedParameters : Options & { enableDeductCapacity ?: boolean ; } = {}
Returns Promise < { capacity : bigint ; changeCapacity : bigint ; txSkeleton : TransactionSkeletonType ; } >
calculate Fee : ( ( size , feeRate ) => bigint )
( size , feeRate ) : bigint
Parameters
size : number
feeRate : bigint
Returns bigint
calculate Fee Compatible : ( ( size , feeRate ) => BI )
( size , feeRate ) : BI
Returns BI
generate Lock Script Infos : ( ( __namedParameters ? ) => void )
( __namedParameters ? ) : void
Returns void
get Lock Script Infos : ( ( ) => LockScriptInfosType )
( ) : LockScriptInfosType
Returns LockScriptInfosType
get Transaction Size : ( ( txSkeleton ) => number )
( txSkeleton ) : number
Returns number
get Transaction Size By Tx : ( ( tx ) => number )
( tx ) : number
Returns number
reset Lock Script Infos : ( ( ) => void )
inject Capacity : ( ( txSkeleton , fromInfos , amount , changeAddress ? , tipHeader ? , __namedParameters ? ) => Promise < TransactionSkeletonType > )
( txSkeleton , fromInfos , amount , changeAddress ? , tipHeader ? , __namedParameters ? ) : Promise < TransactionSkeletonType >
Parameters
Optional
changeAddress : string
Optional
tipHeader : Header
__namedParameters : { LocktimePoolCellCollector ?: CellCollectorConstructor ; config ?: Config ; enableDeductCapacity ?: boolean ; useLocktimeCellsFirst ?: boolean ; } = {}
Optional
config ?: Config
Optional
enable Deduct Capacity ?: boolean
Optional
use Locktime Cells First ?: boolean
pay Fee : ( ( txSkeleton , fromInfos , amount , tipHeader ? , __namedParameters ? ) => Promise < TransactionSkeletonType > )
( txSkeleton , fromInfos , amount , tipHeader ? , __namedParameters ? ) : Promise < TransactionSkeletonType >
Parameters
Optional
tipHeader : Header
__namedParameters : { config ?: Config ; enableDeductCapacity ?: boolean ; useLocktimeCellsFirst ?: boolean ; } = {}
Optional
config ?: Config
Optional
enable Deduct Capacity ?: boolean
Optional
use Locktime Cells First ?: boolean
pay Fee By Fee Rate : ( ( txSkeleton , fromInfos , feeRate , tipHeader ? , __namedParameters ? ) => Promise < TransactionSkeletonType > )
( txSkeleton , fromInfos , feeRate , tipHeader ? , __namedParameters ? ) : Promise < TransactionSkeletonType >
Parameters
Optional
tipHeader : Header
__namedParameters : { config ?: Config ; enableDeductCapacity ?: boolean ; useLocktimeCellsFirst ?: boolean ; } = {}
Optional
config ?: Config
Optional
enable Deduct Capacity ?: boolean
Optional
use Locktime Cells First ?: boolean
prepare Signing Entries : ( ( txSkeleton , __namedParameters ? ) => TransactionSkeletonType )
register Custom Lock Script Infos : ( ( infos ) => void )
( infos ) : void
Returns void
setup Input Cell : ( ( txSkeleton , inputCell , fromInfo ? , options ? ) => Promise < TransactionSkeletonType > )
transfer : ( ( txSkeleton , fromInfos , toAddress , amount , changeAddress ? , tipHeader ? , options ? ) => Promise < TransactionSkeletonType > )
( txSkeleton , fromInfos , toAddress , amount , changeAddress ? , tipHeader ? , options ? ) : Promise < TransactionSkeletonType >
Parameters
toAddress : string
Optional
changeAddress : string
Optional
tipHeader : Header
options : { LocktimePoolCellCollector ?: CellCollectorConstructor ; config ?: Config ; useLocktimeCellsFirst ?: boolean ; } = {}
Optional
config ?: Config
Optional
use Locktime Cells First ?: boolean
Defined in common-scripts/src/common.ts:939
Registers LockScriptInfo for custom scripts.