UserAccount

Interface
UserAccount is the base abstraction on which all of the @neo-one/client APIs work with.
export interface UserAccount { 
  readonly id: UserAccountID; 
  readonly name: string; 
  readonly publicKey: PublicKeyString; 
  readonly contract: AccountContract; 
} 

Properties

id
Uniquely identifies a UserAccount by its address and the network its used on.
name
string
The name to use when displaying this account in a user-facing UI. Can be a user configured name or just the address.
publicKey
The public key for the address.
contract
AccountContract
The signature redemption contract of the account.
  • @neo-one/client
  • @neo-one/smart-contract
DOCS
InstallationMain ConceptsAdvanced GuidesAPI ReferenceContributing
CHANNELS
GitHubStack OverflowDiscord ChatTwitterYouTube
COPYRIGHT © 2021 NEO•ONE