Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Account

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new Account(name: string, privateKey?: undefined | string, publicKey?: undefined | string): Account
  • Parameters

    • name: string
    • Optional privateKey: undefined | string
    • Optional publicKey: undefined | string

    Returns Account

Properties

name

name: string

EOSIO account name

permissions

permissions: Permissions

EOSIO account permissions

Optional privateKey

privateKey: undefined | string

EOSIO account private key

Optional publicKey

publicKey: undefined | string

EOSIO account public key

Accessors

active

  • get active(): object[]
  • Returns a configured active key permission

    author

    Kevin Brown <github.com/thekevinbrown>

    Returns object[]

    Valid active key

owner

  • get owner(): object[]
  • Returns a configured owner key permission

    author

    Kevin Brown <github.com/thekevinbrown>

    Returns object[]

    Valid owner key

Methods

addCodePermission

  • addCodePermission(): Promise<void>
  • Adds the eosio.code permission to this account

    Returns Promise<void>

    Add permission transaction promise

Generated using TypeDoc