import { FullySignedTransaction, HalfSignedAccountTransaction, PresignTransactionOptions as BasePresignTransactionOptions, Recipient, SignTransactionOptions as BaseSignTransactionOptions, TransactionFee, TransactionParams, TransactionPrebuild as BaseTransactionPrebuild, VerifyTransactionOptions, Wallet } from '@bitgo-beta/sdk-core'; import { TransactionPrebuild } from '@bitgo-beta/sdk-coin-eth'; export interface PrecreateBitGoOptions { enterprise?: string; newFeeAddress?: string; } export interface ExplainTransactionOptions { txHex?: string; halfSigned?: { txHex: string; }; feeInfo: TransactionFee; } export interface AvaxcTransactionParams extends TransactionParams { gasPrice?: number; gasLimit?: number; hopParams?: HopParams; hop?: boolean; } export interface VerifyAvaxcTransactionOptions extends VerifyTransactionOptions { txPrebuild: TransactionPrebuild; txParams: AvaxcTransactionParams; } export interface PresignTransactionOptions extends TransactionPrebuild, BasePresignTransactionOptions { wallet: Wallet; } export interface EIP1559 { maxPriorityFeePerGas: number; maxFeePerGas: number; } export interface UnformattedTxInfo { recipient: Recipient; } export interface OfflineVaultTxInfo { nextContractSequenceId?: string; contractSequenceId?: string; txHex: string; userKey: string; backupKey: string; coin: string; gasPrice: number; gasLimit: number; recipients: Recipient[]; walletContractAddress: string; amount: string; backupKeyNonce: number; eip1559?: EIP1559; } export interface HopTransactionBuildOptions { wallet: Wallet; recipients: Recipient[]; walletPassphrase: string; } export interface BuildOptions { hop?: boolean; wallet?: Wallet; recipients?: Recipient[]; walletPassphrase?: string; [index: string]: unknown; } export interface FeeEstimate { gasLimitEstimate: number; feeEstimate: number; } /** * The extra parameters to send to platform build route for hop transactions */ export interface HopParams { hopParams: { gasPriceMax: number; userReqSig: string; paymentId: string; }; gasLimit: number; } /** * The prebuilt hop transaction returned from the HSM */ export interface HopPrebuild { tx: string; id: string; signature: string; paymentId: string; gasPrice: number; gasLimit: number; amount: number; recipient: string; nonce: number; userReqSig: string; gasPriceMax: number; } export interface TxInfo { recipients: Recipient[]; from: string; txid: string; } export interface EthTransactionFee { fee: string; gasLimit?: string; } export interface TxPreBuild extends BaseTransactionPrebuild { txHex: string; txInfo: TxInfo; feeInfo: EthTransactionFee; source: string; dataToSign: string; nextContractSequenceId?: string; expireTime?: number; hopTransaction?: string; eip1559?: EIP1559; txPrebuild?: { halfSigned: { txHex: string; }; }; } export interface SignFinalOptions { txPrebuild: { halfSigned: { txHex: string; }; }; prv: string; } export interface AvaxSignTransactionOptions extends BaseSignTransactionOptions { txPrebuild: TxPreBuild; prv: string; custodianTransactionId?: string; isLastSignature?: boolean; } export interface HalfSignedTransaction extends HalfSignedAccountTransaction { halfSigned: { txHex?: never; recipients: Recipient[]; expiration?: number; eip1559?: EIP1559; }; } export declare type SignedTransaction = HalfSignedTransaction | FullySignedTransaction; //# sourceMappingURL=iface.d.ts.map