ONT ID
APIs to obtain ONT ID related details
ONT ID description
Value
Type
Description
register OntId
String
register OntId
add publicKey:xxxxx
String
add publicKey
remove publicKey:xxxxx
String
remove publicKey
add attribute:value1&value2
String
add attribute
update attribute:xxxx
String
update attribute
remove attribute:xxxx
String
remove attribute
change recovery:xxxx
String
change recovery
add recovery:xxxx
String
add recovery
create new claim: claimId:xxxxxx
String
create claim
DDO Attribute
Key
Value
Type
Description
Claim
ContextDesc
String
description
ClaimContext
String
claim context
IssuerOntId
String
ONT ID of the issuer
ClaimId
String
hash of the claim
SelfDefined
value
String
user defined DDO info
1. Get latest ONT ID list
Url RequestField
Type
Description
count
int
number of latest ontids (limited between 1 and 50)
ResponseField
Type
Description
ontid
String
ONT ID
tx_hash
String
transaction hash
block_height
int
block height
tx_time
int
UNIX time of the transaction
description
String
transaction description for given ONT ID
tx_type
int
209
fee
String
fee
2. Get ONT ID list by page
Url RequestField
Type
Description
page_size
int
number of records in one page (The page size is limited between 1 and 20)
page_number
int
number of the page (At least 1 or greater)
ResponseField
Type
Description
total
int
total ONT ID
ontid
String
ONT ID
tx_hash
String
transaction hash
block_height
int
block height
tx_time
int
UNIX time of the transaction
description
String
transaction description for given ONT ID
tx_type
int
209
fee
String
fee
3. Get ONT ID transaction list by page
RequestField
Type
Description
ontid
String
ONT ID
page_size
int
number of records in one page (The page size is limited between 1 and 20)
page_number
int
number of the page (At least 1 or greater)
ResponseField
Type
Description
tx_hash
String
transaction hash
block_height
int
block height
tx_type
int
209
fee
String
fee
ontid
String
ONT ID
tx_time
int
UNIX time of the transaction
description
String
transaction description for given ONT ID
total
int
total transactions of the ONT ID
4. Get ONT ID DDO
RequestField
Type
Description
ontid
String
ONT ID
ResponseField
Type
Description
Attributes
list
Attribute of the ONT ID
OntId
String
ONT ID
Owners.Type
String
ECDSA
Owners.Curve
String
P-256
Owners.Value
String
publickey in HEX string
Last updated