@avalabs/avalanchejs
Version:
Avalanche Platform JS Library
9 lines • 910 B
TypeScript
import { TransferableOutput } from '../../serializable/avax';
import type { Utxo } from '../../serializable/avax/utxo';
import type { SpendOptions } from '../common/models';
import { UnsignedTx } from '../common/unsignedTx';
import type { Context } from '../context/model';
export declare function newImportTx(context: Context, sourceChainId: string, utxos: Utxo[], toAddresses: Uint8Array[], fromAddressesBytes: Uint8Array[], options?: SpendOptions, threshold?: number, locktime?: bigint): UnsignedTx;
export declare function newExportTx(context: Context, destinationChain: string, fromAddressesBytes: Uint8Array[], utxoSet: Utxo[], outputs: TransferableOutput[], options?: SpendOptions): UnsignedTx;
export declare function newBaseTx(context: Context, fromAddressesBytes: Uint8Array[], utxoSet: Utxo[], outputs: TransferableOutput[], options?: SpendOptions): UnsignedTx;
//# sourceMappingURL=builder.d.ts.map