PHP WebShell
Текущая директория: /opt/BitGoJS/modules/utxo-staking/dist/src
Просмотр файла: transaction.d.ts
import * as utxolib from '@bitgo/utxo-lib';
/**
* Build a staking transaction for a wallet that assumes 2-of-3 multisig for the inputs
*
* Given the inputs and the staking outputs, we will create the PSBT with the desired fee rate.
* We always add the change address as the last output.
*
* @param rootWalletKeys
* @param unspents
* @param createStakingOutputs
* @param changeAddressInfo
* @param feeRateSatKB
* @param network
*/
export declare function buildFixedWalletStakingPsbt({ rootWalletKeys, unspents, outputs, changeAddressInfo, feeRateSatKB, network, skipNonWitnessUtxo, dustAmount, }: {
rootWalletKeys: utxolib.bitgo.RootWalletKeys;
unspents: utxolib.bitgo.WalletUnspent<bigint>[];
outputs: {
script: Buffer;
value: bigint;
}[];
changeAddressInfo: {
chain: utxolib.bitgo.ChainCode;
index: number;
address: string;
};
feeRateSatKB: number;
network: utxolib.Network;
skipNonWitnessUtxo?: boolean;
dustAmount?: bigint;
}): utxolib.bitgo.UtxoPsbt;
//# sourceMappingURL=transaction.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!