Buy / Sell Alias
Buy or sell an alias.
Method: POST
https://ardr.nownodes.io/nxt?requestType=sellAlias
Example body (x-www-form-urlencoded)
requestType = sellAlias
secretPhrase = IWontTellYou
chain = 2
aliasName = nextus
recipient = ARDOR-4VNQ-RWZC-4WWQ-GVM8S
priceNQT = 5
feeNQT = 100000000
deadline = 60
Example response: 200
{
"errorDescription": "Unknown account",
"errorCode": 5
}
Set Alias
Create and/or assign an alias.
Method: POST
https://ardr.nownodes.io/nxt?requestType=setAlias
Example body (x-www-form-urlencoded)
requestType = setAlias
secretPhrase = IWontTellYou
chain = 2
aliasName = nextus
aliasURI = acct:ardor-l6fm-89wk-vk8p-fcrbb@nxt
priceNQT = 5
feeNQT = 100000000
deadline = 60
Example response: 200
{
"errorDescription": "Unknown account",
"errorCode": 5
}
Delete Alias
Delete an alias given an alias ID or name.
Method: POST
https://ardr.nownodes.io/nxt?requestType=deleteAlias
Example body (x-www-form-urlencoded)
requestType = deleteAlias
secretPhrase = IWontTellYou
chain = 2
aliasName = mystical
Example response: 200
{
"errorDescription": "Unknown account",
"errorCode": 5
}
Get Alias
Get information about a given alias.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getAlias&chain=2&alias=15515279700680480368
Example response: 200
{
"errorDescription": "Unknown alias",
"errorCode": 5
}
Get Alias Count
Get the number of aliases owned by an account given the account ID.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getAliasCount&chain=2&account=ARDOR-FLVS-VRBV-LDPD-6DZ9W
Example response: 200
{
"numberOfAliases": 200,
"requestProcessingTime": 24
}
Get Aliases
Get information on aliases owned by a given account in alias name order.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getAliases&account=5629477397208681336&chain=2&lastIndex=1
Example response: 200
{
"aliases": [
{
"aliasURI": "",
"aliasName": "101",
"accountRS": "ARDOR-FLVS-VRBV-LDPD-6DZ9W",
"alias": "27896",
"account": "5629477397208681336",
"timestamp": 0
},
{
"aliasURI": "",
"aliasName": "42",
"accountRS": "ARDOR-FLVS-VRBV-LDPD-6DZ9W",
"alias": "1125",
"account": "5629477397208681336",
"timestamp": 0
}
],
"requestProcessingTime": 10
}
Get Aliases Like
Get all aliases starting with a given prefix in alias name order.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getAliasesLike&chain=2&aliasPrefix=mysteri
Example response: 200
{
"aliases": [
{
"aliasURI": "",
"aliasName": "mysteries",
"accountRS": "ARDOR-9DZL-XFE2-EWE5-HVVAY",
"alias": "7086",
"account": "18384674354580664306",
"timestamp": 0
},
{
"aliasURI": "anm",
"aliasName": "mysterious",
"accountRS": "ARDOR-AHBB-DSVC-WS2L-EW8BC",
"alias": "22914",
"account": "14205721421835156777",
"timestamp": 0
},
{
"aliasURI": "http://",
"aliasName": "Mysteriousness",
"accountRS": "ARDOR-D528-WWLE-XFL8-2FHQY",
"alias": "131547",
"account": "1106176760506321926",
"timestamp": 0
},
{
"aliasURI": "http://",
"aliasName": "MysteriousStranger",
"accountRS": "ARDOR-9TNK-QXJ6-YPMY-32CTA",
"alias": "141956",
"account": "1469652009744590481",
"timestamp": 0
}
],
"requestProcessingTime": 7
}
Last updated