@nervosnetwork/ckb-sdk-utils
Version:
Utils module of @nervosnetwork/ckb-sdk-core
17 lines (16 loc) • 545 B
TypeScript
/// <reference types="@nervosnetwork/ckb-types" />
declare namespace Reconciliation {
type Cell = {
capacity: string;
outPoint: CKBComponents.OutPoint;
};
interface ExtraInputsParams {
tx: CKBComponents.RawTransactionToSign;
feeRate: string | bigint;
changeThreshold: string | bigint;
cells: Array<Cell>;
extraCount: number;
}
}
export declare const extraInputs: (params: Reconciliation.ExtraInputsParams) => CKBComponents.RawTransactionToSign;
export default extraInputs;