Preparing search index...
The search index is not available
Stacks.js
Stacks.js
@stacks/profile
Profile
Class Profile
Represents a user profile
Hierarchy
Profile
Index
Constructors
constructor
Properties
_profile
Methods
toJSON
to
Token
from
Token
make
Zone
File
validate
Schema
Constructors
constructor
new
Profile
(
profile
?:
{}
)
:
Profile
Parameters
profile:
{}
= {}
Returns
Profile
Properties
_profile
_profile
:
{
[key:
string
]
:
any
;
}
Type declaration
[
key:
string
]:
any
Methods
toJSON
toJSON
(
)
:
{
[key:
string
]
:
any
;
}
Returns
{
[key:
string
]
:
any
;
}
[
key:
string
]:
any
to
Token
to
Token
(
privateKey
:
string
)
:
string
Parameters
privateKey:
string
Returns
string
Static
from
Token
from
Token
(
token
:
string
, publicKeyOrAddress
?:
null
|
string
)
:
Profile
Parameters
token:
string
publicKeyOrAddress:
null
|
string
= null
Returns
Profile
Static
make
Zone
File
make
Zone
File
(
domainName
:
string
, tokenFileURL
:
string
)
:
string
Parameters
domainName:
string
tokenFileURL:
string
Returns
string
Static
validate
Schema
validate
Schema
(
profile
:
any
, strict
?:
boolean
)
:
any
Parameters
profile:
any
strict:
boolean
= false
Returns
any
@stacks/auth
@stacks/bns
@stacks/common
@stacks/encryption
@stacks/network
@stacks/profile
@stacks/stacking
@stacks/storage
@stacks/transactions
Cl
Pc
@stacks/wallet-
sdk
Profile
constructor
_profile
toJSON
to
Token
from
Token
make
Zone
File
validate
Schema
Theme
OS
Light
Dark
Generated using
TypeDoc
Represents a user profile