PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@hashgraph/sdk/lib/transaction
Просмотр файла: TransactionReceipt.d.ts
/**
* The consensus result for a transaction, which might not be currently known,
* or may succeed or fail.
*/
export default class TransactionReceipt {
/**
* @internal
* @param {HashgraphProto.proto.ITransactionGetReceiptResponse} response
* @returns {TransactionReceipt}
*/
static _fromProtobuf(response: HashgraphProto.proto.ITransactionGetReceiptResponse): TransactionReceipt;
/**
* @param {Uint8Array} bytes
* @returns {TransactionReceipt}
*/
static fromBytes(bytes: Uint8Array): TransactionReceipt;
/**
* @private
* @param {object} props
* @param {Status} props.status
* @param {?AccountId} props.accountId
* @param {?FileId} props.fileId
* @param {?ContractId} props.contractId
* @param {?TopicId} props.topicId
* @param {?TokenId} props.tokenId
* @param {?ScheduleId} props.scheduleId
* @param {?ExchangeRate} props.exchangeRate
* @param {?Long} props.topicSequenceNumber
* @param {?Uint8Array} props.topicRunningHash
* @param {?Long} props.totalSupply
* @param {?TransactionId} props.scheduledTransactionId
* @param {Long[]} props.serials
* @param {TransactionReceipt[]} props.duplicates
* @param {TransactionReceipt[]} props.children
*/
private constructor();
/**
* Whether the transaction succeeded or failed (or is unknown).
*
* @readonly
*/
readonly status: Status;
/**
* The account ID, if a new account was created.
*
* @readonly
*/
readonly accountId: AccountId | null;
/**
* The file ID, if a new file was created.
*
* @readonly
*/
readonly fileId: FileId | null;
/**
* The contract ID, if a new contract was created.
*
* @readonly
*/
readonly contractId: ContractId | null;
/**
* The topic ID, if a new topic was created.
*
* @readonly
*/
readonly topicId: TopicId | null;
/**
* The token ID, if a new token was created.
*
* @readonly
*/
readonly tokenId: TokenId | null;
/**
* The schedule ID, if a new schedule was created.
*
* @readonly
*/
readonly scheduleId: ScheduleId | null;
/**
* The exchange rate of Hbars to cents (USD).
*
* @readonly
*/
readonly exchangeRate: ExchangeRate | null;
/**
* Updated sequence number for a consensus service topic.
*
* @readonly
*/
readonly topicSequenceNumber: Long.Long | null;
/**
* Updated running hash for a consensus service topic.
*
* @readonly
*/
readonly topicRunningHash: Uint8Array | null;
/**
* Updated total supply for a token
*
* @readonly
*/
readonly totalSupply: Long.Long | null;
scheduledTransactionId: TransactionId | null;
serials: Long.Long[];
/**
* @readonly
*/
readonly duplicates: TransactionReceipt[];
/**
* @readonly
*/
readonly children: TransactionReceipt[];
/**
* @internal
* @returns {HashgraphProto.proto.ITransactionGetReceiptResponse}
*/
_toProtobuf(): HashgraphProto.proto.ITransactionGetReceiptResponse;
/**
* @returns {Uint8Array}
*/
toBytes(): Uint8Array;
}
import Status from "../Status.js";
import AccountId from "../account/AccountId.js";
import FileId from "../file/FileId.js";
import ContractId from "../contract/ContractId.js";
import TopicId from "../topic/TopicId.js";
import TokenId from "../token/TokenId.js";
import ScheduleId from "../schedule/ScheduleId.js";
import ExchangeRate from "../ExchangeRate.js";
import Long from "long";
import TransactionId from "../transaction/TransactionId.js";
import * as HashgraphProto from "@hashgraph/proto";
Выполнить команду
Для локальной разработки. Не используйте в интернете!