Polymesh SDK API Reference
beta
beta
  • Globals
  • Classes
    • Account
    • AccountManagement
    • Asset
    • AssetHolders
    • AssetPermissions
    • Assets
    • AuthorizationRequest
    • Authorizations
    • Checkpoint
    • CheckpointSchedule
    • Checkpoints
    • Claims
    • Compliance
    • CorporateAction
    • CorporateActionBase
    • CorporateActions
    • Count
    • CustomPermissionGroup
    • DefaultPortfolio
    • DefaultTrustedClaimIssuer
    • Distributions
    • DividendDistribution
    • Documents
    • Entity
    • Identities
    • Identity
    • IdentityAuthorizations
    • Instruction
    • Issuance
    • KnownPermissionGroup
    • Network
    • NumberedPortfolio
    • Offering
    • Offerings
    • Percentage
    • PermissionGroup
    • Permissions
    • Polymesh
    • PolymeshError
    • PolymeshTransaction
    • PolymeshTransactionBase
    • PolymeshTransactionBatch
    • Portfolio
    • Portfolios
    • Requirements
    • Schedules
    • Settlements
    • Subsidy
    • TickerReservation
    • TransactionQueue
    • TransferRestrictionBase
    • TransferRestrictions
    • TrustedClaimIssuers
    • Venue
  • Enums
  • Interfaces
Powered by GitBook
On this page
  • Hierarchy
  • Index
  • Properties
  • Methods
  • Properties
  • Protected context
  • ticker
  • uuid
  • Methods
  • createAsset
  • details
  • exists
  • extend
  • isEqual
  • toHuman
  • transferOwnership
  • Static generateUuid
  • Static unserialize

Was this helpful?

  1. Classes

TickerReservation

PreviousSubsidyNextTransactionQueue

Last updated 2 years ago

Was this helpful?

Represents a reserved Asset symbol in the Polymesh blockchain. Ticker reservations expire after a set length of time, after which they can be reserved by another Identity. A Ticker must be previously reserved by an Identity for that Identity to be able create an Asset with it

Hierarchy

  • ‹UniqueIdentifiers, string›

    ↳ TickerReservation

Index

Properties

Methods

Properties

Protected context

• context: Context


ticker

• ticker: string

reserved ticker


uuid

• uuid: string

Methods

createAsset

Create an Asset using the reserved ticker

note required role:

  • Ticker Owner

Parameters:

Name
Type

args

opts?


details

Retrieve the Reservation's owner, expiry date and status

note can be subscribed to

Parameters:

Name
Type

callback


exists

▸ exists(): Promise‹boolean›

Determine whether this Ticker Reservation exists on chain

Returns: Promise‹boolean›


extend

Extend the Reservation time period of the ticker for 60 days from now to later use it in the creation of an Asset.

note required role:

  • Ticker Owner

Parameters:

Name
Type

opts?


isEqual

Determine whether this Entity is the same as another one

Parameters:

Name
Type

entity

Returns: boolean


toHuman

â–¸ toHuman(): string

Return the Reservation's ticker

Returns: string


transferOwnership

Transfer ownership of the Ticker Reservation to another Identity. This generates an authorization request that must be accepted by the target

note required role:

  • Ticker Owner

Parameters:

Name
Type

args

opts?


Static generateUuid

▸ generateUuid‹Identifiers›(identifiers: Identifiers): string

Generate the Entity's UUID from its identifying properties

Type parameters:

â–ª Identifiers

Parameters:

Name
Type
Description

identifiers

Identifiers

Returns: string


Static unserialize

▸ unserialize‹Identifiers›(serialized: string): Identifiers

Unserialize a UUID into its Unique Identifiers

Type parameters:

â–ª Identifiers

Parameters:

Name
Type
Description

serialized

string

UUID to unserialize

Returns: Identifiers

Inherited from .

Defined in

Defined in

Inherited from .

Defined in

▸ createAsset(args: , opts?: ): Promise‹‹››

Defined in

note this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it

Returns: Promise‹‹››

▸ details(): Promise‹›

Defined in

Returns: Promise‹›

▸ details(callback: ‹›): Promise‹›

Defined in

‹›

Returns: Promise‹›

Overrides .

Defined in

▸ extend(opts?: ): Promise‹‹››

Defined in

note this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it

Returns: Promise‹‹››

▸ isEqual(entity: ‹unknown, unknown›): boolean

Inherited from .

Defined in

‹unknown, unknown›

Overrides .

Defined in

▸ transferOwnership(args: , opts?: ): Promise‹‹››

Defined in

note this will create which has to be accepted by the target Identity. An or can fetch its pending Authorization Requests by calling . Also, an Account or Identity can directly fetch the details of an Authorization Request by calling

note this method is of type , which means you can call on it to see whether the signing Account and Identity have the required roles and permissions to run it

Returns: Promise‹‹››

Inherited from .

Defined in

Inherited from .

Defined in

src/api/entities/Entity.ts:48
src/api/entities/TickerReservation/index.ts:51
src/api/entities/Entity.ts:46
CreateAssetParams
ProcedureOpts
TransactionQueue
Asset
src/api/entities/TickerReservation/index.ts:196
ProcedureMethod
createAsset.checkAuthorization
TransactionQueue
Asset
TickerReservationDetails
src/api/entities/TickerReservation/index.ts:91
TickerReservationDetails
src/api/entities/TickerReservation/index.ts:92
src/api/entities/TickerReservation/index.ts:221
ProcedureOpts
TransactionQueue
TickerReservation
src/api/entities/TickerReservation/index.ts:183
NoArgsProcedureMethod
extend.checkAuthorization
TransactionQueue
TickerReservation
Entity
src/api/entities/Entity.ts:61
src/api/entities/TickerReservation/index.ts:234
TransferTickerOwnershipParams
ProcedureOpts
TransactionQueue
AuthorizationRequest
src/api/entities/TickerReservation/index.ts:214
ProcedureMethod
transferOwnership.checkAuthorization
TransactionQueue
AuthorizationRequest
src/api/entities/Entity.ts:14
src/api/entities/Entity.ts:23
Entity
context
ticker
uuid
createAsset
details
exists
extend
isEqual
toHuman
transferOwnership
generateUuid
unserialize
CreateAssetParams
ProcedureOpts
ProcedureOpts
Entity
TransferTickerOwnershipParams
ProcedureOpts
CheckpointSchedule
CheckpointSchedule
TickerReservationDetails
Entity
CheckpointSchedule
Entity
Authorization Request
Account
Identity
CheckpointSchedule
CheckpointSchedule
TickerReservationDetails
authorizations.getReceived
authorizations.getOne
context
uuid
isEqual
generateUuid
unserialize
exists
toHuman
SubCallback
UnsubCallback
UnsubCallback
SubCallback