PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@hashgraph/sdk/lib/schedule
Просмотр файла: ScheduleDeleteTransaction.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.IScheduleDeleteTransactionBody} HashgraphProto.proto.IScheduleDeleteTransactionBody
* @typedef {import("@hashgraph/proto").proto.IScheduleID} HashgraphProto.proto.IScheduleID
*/
/**
* @typedef {import("bignumber.js").default} BigNumber
* @typedef {import("@hashgraph/cryptography").Key} Key
* @typedef {import("../channel/Channel.js").default} Channel
* @typedef {import("../client/Client.js").default<*, *>} Client
* @typedef {import("../Timestamp.js").default} Timestamp
* @typedef {import("../transaction/TransactionId.js").default} TransactionId
* @typedef {import("../account/AccountId.js").default} AccountId
*/
/**
* Create a new Hedera™ crypto-currency account.
*/
export default class ScheduleDeleteTransaction 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 {ScheduleDeleteTransaction}
*/
static _fromProtobuf(transactions: HashgraphProto.proto.ITransaction[], signedTransactions: HashgraphProto.proto.ISignedTransaction[], transactionIds: TransactionId[], nodeIds: AccountId[], bodies: HashgraphProto.proto.ITransactionBody[]): ScheduleDeleteTransaction;
/**
* @param {object} [props]
* @param {ScheduleId | string} [props.scheduleId]
*/
constructor(props?: {
scheduleId?: string | ScheduleId | undefined;
} | undefined);
/**
* @private
* @type {?ScheduleId}
*/
private _scheduleId;
/**
* @returns {?ScheduleId}
*/
get scheduleId(): ScheduleId | null;
/**
* @param {ScheduleId | string} scheduleId
* @returns {this}
*/
setScheduleId(scheduleId: ScheduleId | string): this;
/**
* @override
* @protected
* @returns {HashgraphProto.proto.IScheduleDeleteTransactionBody}
*/
protected override _makeTransactionData(): HashgraphProto.proto.IScheduleDeleteTransactionBody;
}
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 IScheduleDeleteTransactionBody = import("@hashgraph/proto").proto.IScheduleDeleteTransactionBody;
type IScheduleID = import("@hashgraph/proto").proto.IScheduleID;
}
}
export type BigNumber = import("bignumber.js").default;
export type Key = import("@hashgraph/cryptography").Key;
export type Channel = import("../channel/Channel.js").default;
export type Client = import("../client/Client.js").default<any, any>;
export type Timestamp = import("../Timestamp.js").default;
export type TransactionId = import("../transaction/TransactionId.js").default;
export type AccountId = import("../account/AccountId.js").default;
import Transaction from "../transaction/Transaction.js";
import ScheduleId from "./ScheduleId.js";
Выполнить команду
Для локальной разработки. Не используйте в интернете!