PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-hbar/node_modules/@hashgraph/sdk/lib/token
Просмотр файла: NftId.d.ts
/**
* The ID for a crypto-currency token on Hedera.
*
* @augments {EntityId<HashgraphProto.proto.INftID>}
*/
export default class NftId {
/**
* @param {string} text
* @returns {NftId}
*/
static fromString(text: string): NftId;
/**
* @internal
* @param {HashgraphProto.proto.INftID} id
* @returns {NftId}
*/
static _fromProtobuf(id: HashgraphProto.proto.INftID): NftId;
/**
* @param {Uint8Array} bytes
* @returns {NftId}
*/
static fromBytes(bytes: Uint8Array): NftId;
/**
* @param {TokenId} token
* @param {number | Long} serial
*/
constructor(token: TokenId, serial: number | Long);
tokenId: TokenId;
serial: Long.Long;
/**
* @internal
* @returns {HashgraphProto.proto.INftID}
*/
_toProtobuf(): HashgraphProto.proto.INftID;
/**
* @returns {string}
*/
toString(): string;
/**
* @returns {Uint8Array}
*/
toBytes(): Uint8Array;
}
import TokenId from "../token/TokenId.js";
import Long from "long";
import * as HashgraphProto from "@hashgraph/proto";
Выполнить команду
Для локальной разработки. Не используйте в интернете!