PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-hbar/node_modules/@hashgraph/sdk/lib/token

Просмотр файла: TokenNftInfoQuery.d.ts

/**
 * @namespace proto
 * @typedef {import("@hashgraph/proto").proto.IQuery} HashgraphProto.proto.IQuery
 * @typedef {import("@hashgraph/proto").proto.IQueryHeader} HashgraphProto.proto.IQueryHeader
 * @typedef {import("@hashgraph/proto").proto.IResponse} HashgraphProto.proto.IResponse
 * @typedef {import("@hashgraph/proto").proto.ITokenNftInfo} HashgraphProto.proto.ITokenNftInfo
 * @typedef {import("@hashgraph/proto").proto.IResponseHeader} HashgraphProto.proto.IResponseHeader
 * @typedef {import("@hashgraph/proto").proto.ITokenGetNftInfoQuery} HashgraphProto.proto.ITokenGetNftInfoQuery
 * @typedef {import("@hashgraph/proto").proto.ITokenGetNftInfosQuery} HashgraphProto.proto.ITokenGetNftInfosQuery
 * @typedef {import("@hashgraph/proto").proto.ITokenGetAccountNftInfosQuery} HashgraphProto.proto.ITokenGetAccountNftInfosQuery
 * @typedef {import("@hashgraph/proto").proto.ITokenGetNftInfoResponse} HashgraphProto.proto.ITokenGetNftInfoResponse
 * @typedef {import("@hashgraph/proto").proto.ITokenGetNftInfosResponse} HashgraphProto.proto.ITokenGetNftInfosResponse
 * @typedef {import("@hashgraph/proto").proto.ITokenGetAccountNftInfosResponse} HashgraphProto.proto.ITokenGetAccountNftInfosResponse
 */
/**
 * @typedef {import("../channel/Channel.js").default} Channel
 */
/**
 * @augments {Query<TokenNftInfo[]>}
 */
export default class TokenNftInfoQuery extends Query<TokenNftInfo[]> {
    /**
     * @internal
     * @param {HashgraphProto.proto.IQuery} query
     * @returns {TokenNftInfoQuery}
     */
    static _fromProtobuf(query: HashgraphProto.proto.IQuery): TokenNftInfoQuery;
    /**
     * @param {object} properties
     * @param {NftId | string} [properties.nftId]
     * @param {AccountId | string} [properties.accountId]
     * @param {TokenId | string} [properties.tokenId]
     * @param {Long | number} [properties.start]
     * @param {Long | number} [properties.end]
     */
    constructor(properties?: {
        nftId?: string | NftId | undefined;
        accountId?: string | AccountId | undefined;
        tokenId?: string | TokenId | undefined;
        start?: number | Long.Long | undefined;
        end?: number | Long.Long | undefined;
    });
    /**
     * @private
     * @type {?NftId}
     */
    private _nftId;
    /**
     * @private
     * @type {?AccountId}
     */
    private _accountId;
    /**
     * @private
     * @type {?TokenId}
     */
    private _tokenId;
    /**
     * @private
     * @type {?Long}
     */
    private _start;
    /**
     * @private
     * @type {?Long}
     */
    private _end;
    /**
     * @returns {?NftId}
     */
    get nftId(): NftId | null;
    /**
     * Set the token ID for which the info is being requested.
     *
     * @param {NftId | string} nftId
     * @returns {TokenNftInfoQuery}
     */
    setNftId(nftId: NftId | string): TokenNftInfoQuery;
    /**
     * @deprecated with no replacement
     * @returns {?AccountId}
     */
    get accountId(): AccountId | null;
    /**
     * @deprecated with no replacement
     * Set the token ID for which the info is being requested.
     * @param {AccountId | string} accountId
     * @returns {TokenNftInfoQuery}
     */
    setAccountId(accountId: AccountId | string): TokenNftInfoQuery;
    /**
     * @deprecated with no replacement
     * @returns {?TokenId}
     */
    get tokenId(): TokenId | null;
    /**
     * @deprecated with no replacement
     * Set the token ID for which the info is being requested.
     * @param {TokenId | string} tokenId
     * @returns {TokenNftInfoQuery}
     */
    setTokenId(tokenId: TokenId | string): TokenNftInfoQuery;
    /**
     * @deprecated with no replacement
     * @returns {?Long}
     */
    get start(): Long.Long | null;
    /**
     * @deprecated with no replacement
     * Set the token ID for which the info is being requested.
     * @param {Long | number} start
     * @returns {TokenNftInfoQuery}
     */
    setStart(start: Long | number): TokenNftInfoQuery;
    /**
     * @deprecated with no replacement
     * @returns {?Long}
     */
    get end(): Long.Long | null;
    /**
     * @deprecated with no replacement
     * Set the token ID for which the info is being requested.
     * @param {Long | number} end
     * @returns {TokenNftInfoQuery}
     */
    setEnd(end: Long | number): TokenNftInfoQuery;
}
export namespace HashgraphProto {
    namespace proto {
        type IQuery = import("@hashgraph/proto").proto.IQuery;
        type IQueryHeader = import("@hashgraph/proto").proto.IQueryHeader;
        type IResponse = import("@hashgraph/proto").proto.IResponse;
        type ITokenNftInfo = import("@hashgraph/proto").proto.ITokenNftInfo;
        type IResponseHeader = import("@hashgraph/proto").proto.IResponseHeader;
        type ITokenGetNftInfoQuery = import("@hashgraph/proto").proto.ITokenGetNftInfoQuery;
        type ITokenGetNftInfosQuery = import("@hashgraph/proto").proto.ITokenGetNftInfosQuery;
        type ITokenGetAccountNftInfosQuery = import("@hashgraph/proto").proto.ITokenGetAccountNftInfosQuery;
        type ITokenGetNftInfoResponse = import("@hashgraph/proto").proto.ITokenGetNftInfoResponse;
        type ITokenGetNftInfosResponse = import("@hashgraph/proto").proto.ITokenGetNftInfosResponse;
        type ITokenGetAccountNftInfosResponse = import("@hashgraph/proto").proto.ITokenGetAccountNftInfosResponse;
    }
}
export type Channel = import("../channel/Channel.js").default;
import TokenNftInfo from "./TokenNftInfo.js";
import Query from "../query/Query.js";
import NftId from "./NftId.js";
import AccountId from "../account/AccountId.js";
import TokenId from "../token/TokenId.js";
import Long from "long";

Выполнить команду


Для локальной разработки. Не используйте в интернете!