Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AliasApi

Alias API

Work in Progress

Hierarchy

  • AliasApi

Index

Properties

buyAlias

buyAlias: function

Buys an Alias

param

The args

returns

The Transaction Id or Unsigned Bytes as Hex String if no private key was sent

Type declaration

getAliasById

getAliasById: function

Get alias by its id, i.e. get basic account info for given alias name

param

The alias id

returns

The Alias object

Type declaration

    • (aliasId: string): Promise<Alias>
    • Parameters

      • aliasId: string

      Returns Promise<Alias>

getAliasByName

getAliasByName: function

Get alias by name, i.e. get basic account info for given alias name

param

The alias name

returns

The Alias object

Type declaration

    • (aliasName: string): Promise<Alias>
    • Parameters

      • aliasName: string

      Returns Promise<Alias>

getAliasesOnSale

getAliasesOnSale: function

Get all aliases, which are on sale.

param

The arguments

returns

The Alias List (at maximum 500 per page)

Type declaration

sellAlias

sellAlias: function

Sells an Alias. Sales can be public if no recipient is defined, i.e. everybody can buy it, or only per account in case the recipient is given.

param

The args

returns

The Transaction Id or Unsigned Bytes as Hex String if no private key was sent

Type declaration

setAlias

setAlias: function

Sets or Updates an Alias

param

The arguments

returns

The Transaction Id or Unsigned Bytes as Hex String if no private key was sent

Type declaration