- Preparing search index...
- The search index is not available
Lumos
Variable secp256k1Blake160
secp256k1Blake160: { CellCollector: CellCollectorConstructor; injectCapacity: ((txSkeleton,
outputIndex,
fromAddress,
options?) => Promise<TransactionSkeletonType>); payFee: ((txSkeleton,
fromAddress,
amount,
options?) => Promise<TransactionSkeletonType>); prepareSigningEntries: ((txSkeleton,
options?) => TransactionSkeletonType); setupInputCell: ((txSkeleton,
inputCell,
_fromInfo?,
options?) => Promise<TransactionSkeletonType>); transfer: { (txSkeleton,
fromAddress,
toAddress,
amount,
options?): Promise<TransactionSkeletonType>; (txSkeleton,
fromAddress,
toAddress,
amount,
options): Promise<[TransactionSkeletonType, bigint]>; }; transferCompatible: { (txSkeleton,
fromAddress,
toAddress,
amount,
options?): Promise<TransactionSkeletonType>; (txSkeleton,
fromAddress,
toAddress,
amount,
options): Promise<[TransactionSkeletonType, BI]>; }; }
Type declaration
-
-
injectCapacity: ((txSkeleton, outputIndex, fromAddress, options?) => Promise<TransactionSkeletonType>)
-
- (txSkeleton, outputIndex, fromAddress, options?): Promise<TransactionSkeletonType>
-
Parameters
-
-
outputIndex: number
-
fromAddress: string
-
-
payFee: ((txSkeleton, fromAddress, amount, options?) => Promise<TransactionSkeletonType>)
-
prepareSigningEntries: ((txSkeleton, options?) => TransactionSkeletonType)
-
setupInputCell: ((txSkeleton, inputCell, _fromInfo?, options?) => Promise<TransactionSkeletonType>)
-
transfer: {
(txSkeleton, fromAddress, toAddress, amount, options?): Promise<TransactionSkeletonType>;
(txSkeleton, fromAddress, toAddress, amount, options): Promise<[TransactionSkeletonType, bigint]>;
}
-
- (txSkeleton, fromAddress, toAddress, amount, options?): Promise<TransactionSkeletonType>
-
Parameters
-
-
fromAddress: string
-
toAddress: undefined | null | string
-
amount: bigint
-
Optional
options: {
assertAmountEnough?: true;
config?: Config;
requireToAddress?: boolean;
}
-
Optional
assertAmountEnough?: true
-
Optional
config?: Config
-
Optional
requireToAddress?: boolean
- (txSkeleton, fromAddress, toAddress, amount, options): Promise<[TransactionSkeletonType, bigint]>
-
Parameters
-
-
fromAddress: string
-
toAddress: undefined | null | string
-
amount: bigint
-
options: {
assertAmountEnough: false;
config?: Config;
requireToAddress?: boolean;
}
-
assertAmountEnough: false
-
Optional
config?: Config
-
Optional
requireToAddress?: boolean
-
transferCompatible: {
(txSkeleton, fromAddress, toAddress, amount, options?): Promise<TransactionSkeletonType>;
(txSkeleton, fromAddress, toAddress, amount, options): Promise<[TransactionSkeletonType, BI]>;
}
-
- (txSkeleton, fromAddress, toAddress, amount, options?): Promise<TransactionSkeletonType>
-
Parameters
-
-
fromAddress: string
-
toAddress: undefined | null | string
-
-
Optional
options: {
assertAmountEnough?: true;
config?: Config;
requireToAddress?: boolean;
}
-
Optional
assertAmountEnough?: true
-
Optional
config?: Config
-
Optional
requireToAddress?: boolean
- (txSkeleton, fromAddress, toAddress, amount, options): Promise<[TransactionSkeletonType, BI]>
-
Parameters
-
-
fromAddress: string
-
toAddress: undefined | null | string
-
-
options: {
assertAmountEnough: false;
config?: Config;
requireToAddress?: boolean;
}
-
assertAmountEnough: false
-
Optional
config?: Config
-
Optional
requireToAddress?: boolean
Inject capacity from
fromAddress
to target output.