PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@hashgraph/sdk/lib/system
Просмотр файла: SystemDeleteTransaction.d.ts
/**
* @namespace proto
* @typedef {import("@hashgraph/proto").proto.ITransaction} HashgraphProto.proto.ITransaction
* @typedef {import("@hashgraph/proto").proto.ISignedTransaction} HashgraphProto.proto.ISignedTransaction
* @typedef {import("@hashgraph/proto").proto.TransactionBody} HashgraphProto.proto.TransactionBody
* @typedef {import("@hashgraph/proto").proto.ITransactionBody} HashgraphProto.proto.ITransactionBody
* @typedef {import("@hashgraph/proto").proto.ITransactionResponse} HashgraphProto.proto.ITransactionResponse
* @typedef {import("@hashgraph/proto").proto.ISystemDeleteTransactionBody} HashgraphProto.proto.ISystemDeleteTransactionBody
* @typedef {import("@hashgraph/proto").proto.IContractID} HashgraphProto.proto.IContractID
* @typedef {import("@hashgraph/proto").proto.IFileID} HashgraphProto.proto.IFileID
*/
/**
* @typedef {import("../channel/Channel.js").default} Channel
* @typedef {import("../account/AccountId.js").default} AccountId
* @typedef {import("../transaction/TransactionId.js").default} TransactionId
*/
export default class SystemDeleteTransaction extends Transaction {
/**
* @internal
* @param {HashgraphProto.proto.ITransaction[]} transactions
* @param {HashgraphProto.proto.ISignedTransaction[]} signedTransactions
* @param {TransactionId[]} transactionIds
* @param {AccountId[]} nodeIds
* @param {HashgraphProto.proto.ITransactionBody[]} bodies
* @returns {SystemDeleteTransaction}
*/
static _fromProtobuf(transactions: HashgraphProto.proto.ITransaction[], signedTransactions: HashgraphProto.proto.ISignedTransaction[], transactionIds: TransactionId[], nodeIds: AccountId[], bodies: HashgraphProto.proto.ITransactionBody[]): SystemDeleteTransaction;
/**
* @param {object} [props]
* @param {FileId | string} [props.fileId]
* @param {ContractId | string} [props.contractId]
* @param {Timestamp} [props.expirationTime]
*/
constructor(props?: {
fileId?: string | FileId | undefined;
contractId?: string | ContractId | undefined;
expirationTime?: Timestamp | undefined;
} | undefined);
/**
* @private
* @type {?FileId}
*/
private _fileId;
/**
* @private
* @type {?ContractId}
*/
private _contractId;
/**
* @private
* @type {?Timestamp}
*/
private _expirationTime;
/**
* @returns {?FileId}
*/
get fileId(): FileId | null;
/**
* @param {FileId | string} fileId
* @returns {this}
*/
setFileId(fileId: FileId | string): this;
/**
* @returns {?ContractId}
*/
get contractId(): ContractId | null;
/**
* @param {ContractId | string} contractId
* @returns {this}
*/
setContractId(contractId: ContractId | string): this;
/**
* @returns {?Timestamp}
*/
get expirationTime(): Timestamp | null;
/**
* @param {Timestamp} expirationTime
* @returns {SystemDeleteTransaction}
*/
setExpirationTime(expirationTime: Timestamp): SystemDeleteTransaction;
/**
* @override
* @protected
* @returns {HashgraphProto.proto.ISystemDeleteTransactionBody}
*/
protected override _makeTransactionData(): HashgraphProto.proto.ISystemDeleteTransactionBody;
}
export namespace HashgraphProto {
namespace proto {
type ITransaction = import("@hashgraph/proto").proto.ITransaction;
type ISignedTransaction = import("@hashgraph/proto").proto.ISignedTransaction;
type TransactionBody = import("@hashgraph/proto").proto.TransactionBody;
type ITransactionBody = import("@hashgraph/proto").proto.ITransactionBody;
type ITransactionResponse = import("@hashgraph/proto").proto.ITransactionResponse;
type ISystemDeleteTransactionBody = import("@hashgraph/proto").proto.ISystemDeleteTransactionBody;
type IContractID = import("@hashgraph/proto").proto.IContractID;
type IFileID = import("@hashgraph/proto").proto.IFileID;
}
}
export type Channel = import("../channel/Channel.js").default;
export type AccountId = import("../account/AccountId.js").default;
export type TransactionId = import("../transaction/TransactionId.js").default;
import Transaction from "../transaction/Transaction.js";
import FileId from "../file/FileId.js";
import ContractId from "../contract/ContractId.js";
import Timestamp from "../Timestamp.js";
Выполнить команду
Для локальной разработки. Не используйте в интернете!