dash-platform-sdk
Preparing search index...
types
DocumentWASM
Class DocumentWASM
Index
Constructors
constructor
Properties
__
type
data
Contract
Id
document
Type
Name
properties
Accessors
created
At
created
At
Block
Height
created
At
Core
Block
Height
entropy
id
owner
Id
revision
transferred
At
transferred
At
Block
Height
transferred
At
Core
Block
Height
updated
At
updated
At
Block
Height
updated
At
Core
Block
Height
Methods
base64
bytes
hex
from
Base64
from
Bytes
from
Hex
generate
Id
Constructors
constructor
new
DocumentWASM
(
js_raw_document
:
any
,
js_document_type_name
:
string
,
js_revision
:
bigint
,
js_data_contract_id
:
any
,
js_owner_id
:
any
,
js_document_id
:
any
,
)
:
DocumentWASM
Parameters
js_raw_document
:
any
js_document_type_name
:
string
js_revision
:
bigint
js_data_contract_id
:
any
js_owner_id
:
any
js_document_id
:
any
Returns
DocumentWASM
Properties
Readonly
__
type
__type
:
string
Readonly
data
Contract
Id
dataContractId
:
IdentifierWASM
document
Type
Name
documentTypeName
:
string
properties
properties
:
any
Accessors
created
At
get
createdAt
()
:
undefined
|
bigint
Returns
undefined
|
bigint
set
createdAt
(
value
:
undefined
|
null
|
bigint
)
:
void
Parameters
value
:
undefined
|
null
|
bigint
Returns
void
created
At
Block
Height
get
createdAtBlockHeight
()
:
undefined
|
bigint
Returns
undefined
|
bigint
set
createdAtBlockHeight
(
value
:
undefined
|
null
|
bigint
)
:
void
Parameters
value
:
undefined
|
null
|
bigint
Returns
void
created
At
Core
Block
Height
get
createdAtCoreBlockHeight
()
:
undefined
|
number
Returns
undefined
|
number
set
createdAtCoreBlockHeight
(
value
:
undefined
|
null
|
number
)
:
void
Parameters
value
:
undefined
|
null
|
number
Returns
void
entropy
get
entropy
()
:
undefined
|
Uint8Array
<
ArrayBufferLike
>
Returns
undefined
|
Uint8Array
<
ArrayBufferLike
>
set
entropy
(
value
:
any
)
:
void
Parameters
value
:
any
Returns
void
id
get
id
()
:
IdentifierWASM
Returns
IdentifierWASM
set
id
(
value
:
any
)
:
void
Parameters
value
:
any
Returns
void
owner
Id
get
ownerId
()
:
IdentifierWASM
Returns
IdentifierWASM
set
ownerId
(
value
:
any
)
:
void
Parameters
value
:
any
Returns
void
revision
get
revision
()
:
undefined
|
bigint
Returns
undefined
|
bigint
set
revision
(
value
:
undefined
|
null
|
bigint
)
:
void
Parameters
value
:
undefined
|
null
|
bigint
Returns
void
transferred
At
get
transferredAt
()
:
undefined
|
bigint
Returns
undefined
|
bigint
set
transferredAt
(
value
:
undefined
|
null
|
bigint
)
:
void
Parameters
value
:
undefined
|
null
|
bigint
Returns
void
transferred
At
Block
Height
get
transferredAtBlockHeight
()
:
undefined
|
bigint
Returns
undefined
|
bigint
set
transferredAtBlockHeight
(
value
:
undefined
|
null
|
bigint
)
:
void
Parameters
value
:
undefined
|
null
|
bigint
Returns
void
transferred
At
Core
Block
Height
get
transferredAtCoreBlockHeight
()
:
undefined
|
number
Returns
undefined
|
number
set
transferredAtCoreBlockHeight
(
value
:
undefined
|
null
|
number
)
:
void
Parameters
value
:
undefined
|
null
|
number
Returns
void
updated
At
get
updatedAt
()
:
undefined
|
bigint
Returns
undefined
|
bigint
set
updatedAt
(
value
:
undefined
|
null
|
bigint
)
:
void
Parameters
value
:
undefined
|
null
|
bigint
Returns
void
updated
At
Block
Height
get
updatedAtBlockHeight
()
:
undefined
|
bigint
Returns
undefined
|
bigint
set
updatedAtBlockHeight
(
value
:
undefined
|
null
|
bigint
)
:
void
Parameters
value
:
undefined
|
null
|
bigint
Returns
void
updated
At
Core
Block
Height
get
updatedAtCoreBlockHeight
()
:
undefined
|
number
Returns
undefined
|
number
set
updatedAtCoreBlockHeight
(
value
:
undefined
|
null
|
number
)
:
void
Parameters
value
:
undefined
|
null
|
number
Returns
void
Methods
base64
base64
(
data_contract
:
DataContractWASM
,
js_platform_version
:
any
)
:
string
Parameters
data_contract
:
DataContractWASM
js_platform_version
:
any
Returns
string
bytes
bytes
(
data_contract
:
DataContractWASM
,
js_platform_version
:
any
)
:
Uint8Array
Parameters
data_contract
:
DataContractWASM
js_platform_version
:
any
Returns
Uint8Array
hex
hex
(
data_contract
:
DataContractWASM
,
js_platform_version
:
any
)
:
string
Parameters
data_contract
:
DataContractWASM
js_platform_version
:
any
Returns
string
Static
from
Base64
fromBase64
(
base64
:
string
,
data_contract
:
DataContractWASM
,
type_name
:
string
,
js_platform_version
:
any
,
)
:
DocumentWASM
Parameters
base64
:
string
data_contract
:
DataContractWASM
type_name
:
string
js_platform_version
:
any
Returns
DocumentWASM
Static
from
Bytes
fromBytes
(
bytes
:
Uint8Array
,
data_contract
:
DataContractWASM
,
type_name
:
string
,
js_platform_version
:
any
,
)
:
DocumentWASM
Parameters
bytes
:
Uint8Array
data_contract
:
DataContractWASM
type_name
:
string
js_platform_version
:
any
Returns
DocumentWASM
Static
from
Hex
fromHex
(
hex
:
string
,
data_contract
:
DataContractWASM
,
type_name
:
string
,
js_platform_version
:
any
,
)
:
DocumentWASM
Parameters
hex
:
string
data_contract
:
DataContractWASM
type_name
:
string
js_platform_version
:
any
Returns
DocumentWASM
Static
generate
Id
generateId
(
js_document_type_name
:
string
,
js_owner_id
:
any
,
js_data_contract_id
:
any
,
opt_entropy
?:
null
|
Uint8Array
<
ArrayBufferLike
>
,
)
:
Uint8Array
Parameters
js_document_type_name
:
string
js_owner_id
:
any
js_data_contract_id
:
any
Optional
opt_entropy
:
null
|
Uint8Array
<
ArrayBufferLike
>
Returns
Uint8Array
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
__
type
data
Contract
Id
document
Type
Name
properties
Accessors
created
At
created
At
Block
Height
created
At
Core
Block
Height
entropy
id
owner
Id
revision
transferred
At
transferred
At
Block
Height
transferred
At
Core
Block
Height
updated
At
updated
At
Block
Height
updated
At
Core
Block
Height
Methods
base64
bytes
hex
from
Base64
from
Bytes
from
Hex
generate
Id
dash-platform-sdk
Loading...