Documentation
API
API Examples cont.

Monetary System Operations

Can Delete Currency

Request:


http://localhost:2022/nxt?
  requestType=canDeleteCurrency&
  account=BLX-2HCZ-6GCJ-2XGV-EDRPH&
  currency=4923907272718555444

Response:

{
  "canDelete": true,
  "requestProcessingTime": 1
}

Currency Buy / Sell

Request:


http://localhost:2022/nxt?
  requestType=currencyBuy&
  currency=6520756875632314476&
  rateNQT=1500000000&
  units=200&
  secretPhrase=IWontTellYou&
  feeNQT=100000000&
  deadline=60

Response:

{
  "signatureHash": "0471907734d4aae7fc708131726f8660a68e66fe873fa17cab4f0cb3f879243f",
  "unsignedTransactionBytes": "051607cb08023c0010f09c34f225d425306e5be55a49469081...",
  "transactionJSON": {
    "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
    "signature": "dda6c065344827bfdecfee179b22dfee1d5280fa5da5431b012d9ea045a0d80b9d4...",
    "feeNQT": "100000000",
    "type": 5,
    "fullHash": "d388798c9ecaf2cd28578cfcb8fb7e8f07d308e36e2a5674bb1c7766595b8435",
    "version": 1,
    "ecBlockId": "10096636210021430702",
    "signatureHash": "0471907734d4aae7fc708131726f8660a68e66fe873fa17cab4f0cb3f879243f",
    "attachment": {
      "currency": "6520756875632314476",
      "version.ExchangeSell": 1,
      "units": "200",
      "rateNQT": "1500000000"
    },
    "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
    "subtype": 6,
    "amountNQT": "0",
    "sender": "15295723609781267838",
    "ecBlockHeight": 162266,
    "deadline": 60,
    "transaction": "14840146504449624275",
    "timestamp": 34130695,
    "height": 2147483647
  },
  "broadcasted": true,
  "requestProcessingTime": 331,
  "transactionBytes": "051607cb08023c0010f09c34f225d425306e5be55a49469081560...",
  "fullHash": "d388798c9ecaf2cd28578cfcb8fb7e8f07d308e36e2a5674bb1c7766595b8435",
  "transaction": "14840146504449624275"
}

Currency Mint

Request:


http://localhost:2022/nxt?
  requestType=currencyMint&
  currency=9207767346829573996&
  nonce=-6757092571753666960&
  units=1&
  counter=26&
  secretPhrase=IWontTellYou&
  feeNQT=100000000&
  deadline=60

Response:

{
  "signatureHash": "f0e9f3b040890043fbc2d1b235377eb566805419f459184bc9290051bacdf80f",
  "unsignedTransactionBytes": "0517655a0c023c0010f09c34f225d425306e5be55a49469081...",
  "transactionJSON": {
    "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
    "signature": "e961f58250dd256bb5f0628df342beb6ce042765d7cdad8d7598495759d7ec00ad8...",
    "feeNQT": "100000000",
    "type": 5,
    "fullHash": "05cbe451cdece14bab56c5684d30cd7eb62e45a86136071e90ae26981d4c1fc3",
    "version": 1,
    "ecBlockId": "12526333689713738846",
    "signatureHash": "f0e9f3b040890043fbc2d1b235377eb566805419f459184bc9290051bacdf80f",
    "attachment": {
      "currency": "9207767346829573996",
      "units": "1",
      "counter": "26",
      "version.CurrencyMinting": 1,
      "nonce": "-6757092571753666960"
    },
    "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
    "subtype": 7,
    "amountNQT": "0",
    "sender": "15295723609781267838",
    "ecBlockHeight": 160721,
    "deadline": 60,
    "transaction": "5467911789190892293",
    "timestamp": 34364005,
    "height": 2147483647
  },
  "broadcasted": true,
  "requestProcessingTime": 815,
  "transactionBytes": "0517655a0c023c0010f09c34f225d425306e5be55a49469081560...",
  "fullHash": "05cbe451cdece14bab56c5684d30cd7eb62e45a86136071e90ae26981d4c1fc3",
  "transaction": "5467911789190892293"
}

Currency Reserve Claim

Request:


http://localhost:2022/nxt?
  requestType=currencyReserveClaim&
  currency=15992040603642022742&
  units=36

Response:

{
  "signatureHash": "6daef8c9b8653a9b78b64e400c2ab64ea201e9888b8bc54ec6c9a28814b0a69e",
  "unsignedTransactionBytes": "0512a7830b023c00169cf83994b0e8c48a152ddc50606d58bd...",
  "transactionJSON": {
    "senderPublicKey": "169cf83994b0e8c48a152ddc50606d58bd4b2b85ec2f5bbbaae93d838443df7f",
    "signature": "5ab6605aca7a958b10e5f0198660eccd01bff1418f2bf172105ba39e9c911d09709...",
    "feeNQT": "100000000",
    "type": 5,
    "fullHash": "f32e02362dce767c6f4b069f793f2cd8c6b89bad04847c8abe98d8998cede94f",
    "version": 1,
    "ecBlockId": "14980969893438059909",
    "signatureHash": "6daef8c9b8653a9b78b64e400c2ab64ea201e9888b8bc54ec6c9a28814b0a69e",
    "attachment": {
      "version.ReserveClaim": 1,
      "currency": "15992040603642022742",
      "units": "36"
    },
    "senderRS": "BLX-BMUV-8QQR-47VK-CR7F3",
    "subtype": 2,
    "amountNQT": "0",
    "sender": "11580081983047651163",
    "ecBlockHeight": 160064,
    "deadline": 60,
    "transaction": "8968582401529884403",
    "timestamp": 34309031,
    "height": 2147483647
  },
  "broadcasted": true,
  "requestProcessingTime": 7,
  "transactionBytes": "0512a7830b023c00169cf83994b0e8c48a152ddc50606d58bd4b2...",
  "fullHash": "f32e02362dce767c6f4b069f793f2cd8c6b89bad04847c8abe98d8998cede94f",
  "transaction": "8968582401529884403"
}

Currency Reserve Increase

Request:


http://localhost:2022/nxt?
  requestType=currencyReserveIncrease&
  currency=11847174313362984527
  amountPerUnitNQT=40000000

Response:

{
  "signatureHash": "0ba69ec678e0d4c4f94ee576d9520bf13a1c88b87e46c79d937b8f998a4a1f54",
  "unsignedTransactionBytes": "05115c930b023c00169cf83994b0e8c48a152ddc50606d58bd...",
  "transactionJSON": {
    "senderPublicKey": "169cf83994b0e8c48a152ddc50606d58bd4b2b85ec2f5bbbaae93d838443df7f",
    "signature": "01ab2e01e8543321bb93baef1cdfd24335b2f98f4898c0203ebb372f6ea2140f609...",
    "feeNQT": "100000000",
    "type": 5,
    "fullHash": "0e583d097aa7832ef97f49bf1c43fe6fa26592cd7b60cd1c652b1139719c9404",
    "version": 1,
    "ecBlockId": "3894856940593871962",
    "signatureHash": "0ba69ec678e0d4c4f94ee576d9520bf13a1c88b87e46c79d937b8f998a4a1f54",
    "attachment": {
      "amountPerUnitNQT": "40000000",
      "currency": "11847174313362984527",
      "version.ReserveIncrease": 1
    },
    "senderRS": "BLX-BMUV-8QQR-47VK-CR7F3",
    "subtype": 1,
    "amountNQT": "0",
    "sender": "11580081983047651163",
    "ecBlockHeight": 160118,
    "deadline": 60,
    "transaction": "3351706690276644878",
    "timestamp": 34313052,
    "height": 2147483647
  },
  "broadcasted": true,
  "requestProcessingTime": 7,
  "transactionBytes": "05115c930b023c00169cf83994b0e8c48a152ddc50606d58bd4b2...",
  "fullHash": "0e583d097aa7832ef97f49bf1c43fe6fa26592cd7b60cd1c652b1139719c9404",
  "transaction": "3351706690276644878"
}

Delete Currency

Request:


http://localhost:2022/nxt?
  requestType=deleteCurrency&
  currency=7103310507724273660&
  secretPhrase=IWontTellYou&
  feeNQT=100000000&
  deadline=60

Response:

{
  "signatureHash": "3f2b029337263728f4d4fed1f774252b06706159659e6ba9116b2d74b67a8435",
  "unsignedTransactionBytes": "05189d7208023c0010f09c34f225d425306e5be55a49469081...",
  "transactionJSON": {
    "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
    "signature": "09c7be5b0742191f3777cc850f9478af21bd42225aec5e0793b57cd188767a0be6f...",
    "feeNQT": "100000000",
    "type": 5,
    "fullHash": "a877379e3f3713e2f8baaa777c9a48af23d7da74e00301f12a4051dcf747243f",
    "version": 1,
    "ecBlockId": "2688066685599408512",
    "signatureHash": "3f2b029337263728f4d4fed1f774252b06706159659e6ba9116b2d74b67a8435",
    "attachment": {
      "version.CurrencyDeletion": 1,
      "currency": "7103310507724273660"
    },
    "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
    "subtype": 8,
    "amountNQT": "0",
    "sender": "15295723609781267838",
    "ecBlockHeight": 162004,
    "deadline": 60,
    "transaction": "16290425023506118568",
    "timestamp": 34108061,
    "height": 2147483647
  },
  "broadcasted": true,
  "requestProcessingTime": 112,
  "transactionBytes": "05189d7208023c0010f09c34f225d425306e5be55a49469081...",
  "fullHash": "a877379e3f3713e2f8baaa777c9a48af23d7da74e00301f12a4051dcf747243f",
  "transaction": "16290425023506118568"
}

Get Account Currencies

Request:


http://localhost:2022/nxt?
  requestType=getAccountCurrencies&
  account=BLX-4VDY-LNVT-LMAY-FMCKA

Response:

{
  "accountCurrencies": [
    {
      "issuerAccountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "code": "MYSTX",
      "unconfirmedUnits": "10000",
      "decimals": 2,
      "name": "MystcoinX",
      "currency": "6520756875632314476",
      "units": "10000",
      "issuanceHeight": 0,
      "type": 1,
      "issuerAccount": "15295723609781267838"
    }
  ],
  "requestProcessingTime": 1
}

Get Account Currency Count

Request:


http://localhost:2022/nxt?
  requestType=getAccountCurrencyCount&
  account=BLX-4VDY-LNVT-LMAY-FMCKA

Response:

{
  "numberOfCurrencies": 1,
  "requestProcessingTime": 1
}

Get Account Exchange Requests

Request:


http://localhost:2022/nxt?
  requestType=getAccountExchangeRequests&
  account=BLX-4VDY-LNVT-LMAY-FMCKA&
  currency=6520756875632314476

Response:

{
  "exchangeRequests": [
    {
      "issuerAccountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "code": "MYSTX",
      "subtype": 6,
      "decimals": 2,
      "name": "MystcoinX",
      "units": "200",
      "issuanceHeight": 0,
      "type": 1,
      "transaction": "14840146504449624275",
      "timestamp": 34130695,
      "rateNQT": "1500000000",
      "issuerAccount": "15295723609781267838"
    }
  ],
  "requestProcessingTime": 1
}

Get Funding Monitor

Request:


http://localhost:2022/nxt?
 requestType=getFundingMonitor&
 property=funding&
 secretPhrase=IWontTellYou&
 includeMonitoredAccounts:true

Response:

{
  "requestProcessingTime": 0,
  "monitors": [
    {
      "holding": "0",
      "amount": "1000000000",
      "monitoredAccounts": [
        {
          "amount": "1000000000",
          "accountRS": "BLX-5MYN-AP7M-NKMH-CRQJZ",
          "threshold": "15000000000",
          "interval": 10,
          "account": "12664921794733526996"
        },
        {
          "amount": "1000000000",
          "accountRS": "BLX-G885-AKDX-5G2B-BLUCG",
          "threshold": "15000000000",
          "interval": 10,
          "account": "10892890577210644675"
        }
      ],
      "holdingType": 0,
      "accountRS": "BLX-7A48-47JL-T7LD-D5FS3",
      "property": "funding",
      "threshold": "15000000000",
      "interval": 10,
      "account": "12745647715474645062"
    }
  ]
}

Get All Currencies

Request:


http://localhost:2022/nxt?
  requestType=getAllCurrencies&
  firstIndex=2&
  lastIndex=2

Response:

{
  "requestProcessingTime": 3,
  "currencies": [
    {
      "initialSupply": "10000",
      "currentReservePerUnitNQT": "0",
      "types": ["EXCHANGEABLE"],
      "code": "MYSTX",
      "creationHeight": 162067,
      "minDifficulty": 0,
      "numberOfTransfers": 0,
      "description": "Exchangeable",
      "minReservePerUnitNQT": "0",
      "currentSupply": "10000",
      "issuanceHeight": 0,
      "type": 1,
      "reserveSupply": "0",
      "maxDifficulty": 0,
      "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "decimals": 2,
      "name": "MystcoinX",
      "numberOfExchanges": 12,
      "currency": "6520756875632314476",
      "maxSupply": "10000",
      "account": "15295723609781267838",
      "algorithm": 0
    }
  ]
}

Get All Exchanges

Request:


http://localhost:2022/nxt?
  requestType=getAllExchanges&
  firstIndex=7&
  lastIndex=7

Response:

{
  "exchanges": [
    {
      "issuerAccountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "seller": "15295723609781267838",
      "code": "MYSTX",
      "sellerRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "units": "5000",
      "issuanceHeight": 0,
      "type": 1,
      "rateNQT": "10000000",
      "buyer": "11580081983047651163",
      "offer": "17204924627068821879",
      "buyerRS": "BLX-BMUV-8QQR-47VK-CR7F3",
      "decimals": 2,
      "name": "MystcoinX",
      "currency": "6520756875632314476",
      "block": "4816799421151726903",
      "transaction": "2086609620693258113",
      "timestamp": 34206117,
      "height": 163202,
      "issuerAccount": "15295723609781267838"
    }
  ],
  "requestProcessingTime": 1
}

Get Available To Buy

Request:


http://localhost:2022/nxt?
  requestType=getAvailableToBuy&
  currency=4855695375693311301&
  units=1

Response:

{
  "amountNQT": "1087",
  "units": "1",
  "requestProcessingTime": 0,
  "rateNQT": "1087"
}

Get Buy / Sell Offers

Request:


http://localhost:2022/nxt?
  requestType=getSellOffers&
  currency=6520756875632314476

Response:

{
  "offers": [
    {
      "offer": "4813417617929273983",
      "expirationHeight": 163125,
      "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "limit": "1000",
      "currency": "6520756875632314476",
      "supply": "500",
      "account": "15295723609781267838",
      "height": 163110,
      "rateNQT": "20000000"
    }
  ],
  "requestProcessingTime": 1
}

Get Currencies

Request:


http://localhost:2022/nxt?
  requestType=getCurrencies&
  currencies=6520756875632314476

Response:

{
  "requestProcessingTime": 3,
  "currencies": [
    {
      "initialSupply": "10000",
      "currentReservePerUnitNQT": "0",
      "types": ["EXCHANGEABLE"],
      "code": "MYSTX",
      "creationHeight": 162067,
      "minDifficulty": 0,
      "numberOfTransfers": 0,
      "description": "Exchangeable",
      "minReservePerUnitNQT": "0",
      "currentSupply": "10000",
      "issuanceHeight": 0,
      "type": 1,
      "reserveSupply": "0",
      "maxDifficulty": 0,
      "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "decimals": 2,
      "name": "MystcoinX",
      "numberOfExchanges": 12,
      "currency": "6520756875632314476",
      "maxSupply": "10000",
      "account": "15295723609781267838",
      "algorithm": 0
    }
  ]
}

Get Currencies By Issuer

Request:


http://localhost:2022/nxt?
  requestType=getCurrenciesByIssuer&
  account=BLX-4VDY-LNVT-LMAY-FMCKA

Response:

{
  "requestProcessingTime": 334,
  "currencies": [
    [
      {
        "initialSupply": "10000",
        "currentReservePerUnitNQT": "0",
        "types": ["EXCHANGEABLE"],
        "code": "MYSTX",
        "creationHeight": 162067,
        "minDifficulty": 0,
        "numberOfTransfers": 0,
        "description": "Exchangeable",
        "minReservePerUnitNQT": "0",
        "currentSupply": "10000",
        "issuanceHeight": 0,
        "type": 1,
        "reserveSupply": "0",
        "maxDifficulty": 0,
        "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
        "decimals": 2,
        "name": "MystcoinX",
        "numberOfExchanges": 12,
        "currency": "6520756875632314476",
        "maxSupply": "10000",
        "account": "15295723609781267838",
        "algorithm": 0
      }
    ]
  ]
}

Get Currency

Request:


http://localhost:2022/nxt?
  requestType=getCurrency&
  code=MYSTX

Response:

{
  "initialSupply": "10000",
  "currentReservePerUnitNQT": "0",
  "types": ["EXCHANGEABLE"],
  "code": "MYSTX",
  "creationHeight": 162067,
  "minDifficulty": 0,
  "numberOfTransfers": 0,
  "description": "Exchangeable",
  "minReservePerUnitNQT": "0",
  "currentSupply": "10000",
  "issuanceHeight": 0,
  "requestProcessingTime": 0,
  "type": 1,
  "reserveSupply": "0",
  "maxDifficulty": 0,
  "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
  "decimals": 2,
  "name": "MystcoinX",
  "numberOfExchanges": 0,
  "currency": "6520756875632314476",
  "maxSupply": "10000",
  "account": "15295723609781267838",
  "algorithm": 0
}

Get Currency Account Count

Request:


http://localhost:2022/nxt?
  requestType=getCurrencyAccountCount&
  currency=6520756875632314476

Response:

{
  "numberOfAccounts": 2,
  "requestProcessingTime": 1
}

Get Currency Accounts

Request:


http://localhost:2022/nxt?
  requestType=getCurrencyAccounts&
  currency=6520756875632314476

Response:

{
  "accountCurrencies": [
    {
      "unconfirmedUnits": "9000",
      "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "currency": "6520756875632314476",
      "units": "9000",
      "account": "15295723609781267838"
    },
    {
      "unconfirmedUnits": "1000",
      "accountRS": "BLX-BMUV-8QQR-47VK-CR7F3",
      "currency": "6520756875632314476",
      "units": "1000",
      "account": "11580081983047651163"
    }
  ],
  "requestProcessingTime": 1
}

Get Currency Founders

Request:


http://localhost:2022/nxt?
  requestType=getCurrencyFounders&
  currency=16165836410580103964

Response:

{
  "founders": [
    {
      "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "amountPerUnitNQT": "100000000",
      "currency": "16165836410580103964",
      "account": "15295723609781267838"
    }
  ],
  "requestProcessingTime": 1
}

Get Currency Ids

Request:


http://localhost:2022/nxt?
  requestType=getCurrencyIds&
  lastIndex=2

Response:

{
  "currencyIds": ["3543596621551215845", "6520756875632314476", "10304209318415949524"],
  "requestProcessingTime": 2
}

Get Currency Transfers

Request:


http://localhost:2022/nxt?
  requestType=getCurrencyTransfers&
  currency=9387514940677621191

Response:

{
  "transfers": [
    {
      "issuerAccountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "code": "MYSTX",
      "units": "10",
      "issuanceHeight": 0,
      "type": 1,
      "transfer": "12208608533071682262",
      "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "sender": "15295723609781267838",
      "recipientRS": "BLX-BMUV-8QQR-47VK-CR7F3",
      "decimals": 2,
      "recipient": "11580081983047651163",
      "name": "MystcoinX",
      "currency": "9387514940677621191",
      "issuerAccount": "15295723609781267838",
      "height": 159732,
      "timestamp": 34280949
    }
  ],
  "requestProcessingTime": 0
}

Get Exchanges

Request:


http://localhost:2022/nxt?
  requestType=getExchanges&
  currency=6520756875632314476

Response:

{
  "exchanges": [
    {
      "issuerAccountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "seller": "15295723609781267838",
      "code": "MYSTX",
      "sellerRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "units": "1",
      "issuanceHeight": 0,
      "type": 1,
      "rateNQT": "1500000000",
      "buyer": "11580081983047651163",
      "offer": "7762792906174207279",
      "buyerRS": "BLX-BMUV-8QQR-47VK-CR7F3",
      "decimals": 2,
      "name": "MystcoinX",
      "currency": "6520756875632314476",
      "block": "2329341955641682831",
      "transaction": "12589829502215822061",
      "timestamp": 34137058,
      "height": 162356,
      "issuerAccount": "15295723609781267838"
    }
  ],
  "requestProcessingTime": 0
}

Get Exchanges By Exchange Request

Request:


http://localhost:2022/nxt?
  requestType=getExchangesByExchangeRequest&
  transaction=12589829502215822061

Response:

{
  "exchanges": [
    {
      "issuerAccountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "seller": "15295723609781267838",
      "code": "MYSTX",
      "sellerRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "units": "1",
      "issuanceHeight": 0,
      "type": 1,
      "rateNQT": "1500000000",
      "buyer": "11580081983047651163",
      "offer": "7762792906174207279",
      "buyerRS": "BLX-BMUV-8QQR-47VK-CR7F3",
      "decimals": 2,
      "name": "MystcoinX",
      "currency": "6520756875632314476",
      "block": "2329341955641682831",
      "transaction": "12589829502215822061",
      "timestamp": 34137058,
      "height": 162356,
      "issuerAccount": "15295723609781267838"
    }
  ],
  "requestProcessingTime": 1
}

Get Exchanges By Offer

Request:


http://localhost:2022/nxt?
  requestType=getExchangesByOffer&
  offer=7762792906174207279

Response:

{
  "exchanges": [
    {
      "issuerAccountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "seller": "15295723609781267838",
      "code": "MYSTX",
      "sellerRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "units": "1",
      "issuanceHeight": 0,
      "type": 1,
      "rateNQT": "1500000000",
      "buyer": "11580081983047651163",
      "offer": "7762792906174207279",
      "buyerRS": "BLX-BMUV-8QQR-47VK-CR7F3",
      "decimals": 2,
      "name": "MystcoinX",
      "currency": "6520756875632314476",
      "block": "2329341955641682831",
      "transaction": "12589829502215822061",
      "timestamp": 34137058,
      "height": 162356,
      "issuerAccount": "15295723609781267838"
    }
  ],
  "requestProcessingTime": 1
}

Get Last Exchanges

Request:


http://localhost:2022/nxt?
  requestType=getLastExchanges&
  currencies=12366259387060174981

Response:

{
  "exchanges": [
    {
      "offer": "1659323201112235372",
      "seller": "15295723609781267838",
      "buyerRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "sellerRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "currency": "12366259387060174981",
      "block": "15911141024340031754",
      "units": "2",
      "transaction": "13926698078551037914",
      "timestamp": 35547397,
      "rateNQT": "100000000",
      "buyer": "15295723609781267838",
      "height": 167709
    }
  ],
  "requestProcessingTime": 0
}

Get Minting Target

Request:


http://localhost:2022/nxt?
  requestType=getMintingTarget&
  currency=9207767346829573996&
  account=BLX-4VDY-LNVT-LMAY-FMCKA&
  units=1

Response:

{
  "difficulty": "1024",
  "targetBytes": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f00",
  "currency": "9207767346829573996",
  "counter": 0,
  "requestProcessingTime": 1
}

Get Offer

Request:


http://localhost:2022/nxt?
  requestType=getOffer&
  offer=4813417617929273983

Response:

{
  "sellOffer": {
    "offer": "4813417617929273983",
    "expirationHeight": 163125,
    "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
    "limit": "1000",
    "currency": "6520756875632314476",
    "supply": "500",
    "account": "15295723609781267838",
    "height": 163110,
    "rateNQT": "20000000"
  },
  "buyOffer": {
    "offer": "4813417617929273983",
    "expirationHeight": 163125,
    "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
    "limit": "1000",
    "currency": "6520756875632314476",
    "supply": "500",
    "account": "15295723609781267838",
    "height": 163110,
    "rateNQT": "10000000"
  },
  "requestProcessingTime": 0
}

Issue Currency

Request:


http://localhost:2022/nxt?
  requestType=issueCurrency&
  name=MystcoinX&
  code=MYSTX&
  description=Exchangeable
  type=1&
  initialSupply=10000&
  maxSupply=10000&
  decimals=2&
  secretPhrase=IWontTellYou&
  feeNQT=4000000000&
  deadline=60

Response:

{
  "signatureHash": "c5ec66dd60bcc13fc0fe2cb617b4d7a05e7ef6360aacc591c911969785361491",
  "unsignedTransactionBytes": "05100f8308023c0010f09c34f225d425306e5be55a49469081...",
  "transactionJSON": {
    "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
    "signature": "da27e4bead869d0e96fb9370f0afcd0c49eb17b7da503705384239d9abaec209733...",
    "feeNQT": "4000000000",
    "type": 5,
    "fullHash": "6c08c076d4617e5a4be6f027c9b3e47ddb0e92fab87032d631546051dbdbfe8c",
    "version": 1,
    "ecBlockId": "2004481009157728964",
    "signatureHash": "c5ec66dd60bcc13fc0fe2cb617b4d7a05e7ef6360aacc591c911969785361491",
    "attachment": {
      "initialSupply": "10000",
      "code": "MYSTX",
      "minDifficulty": 0,
      "ruleset": 0,
      "description": "Exchangeable",
      "minReservePerUnitNQT": "0",
      "issuanceHeight": 0,
      "type": 1,
      "reserveSupply": "0",
      "version.CurrencyIssuance": 1,
      "maxDifficulty": 0,
      "decimals": 2,
      "name": "MystcoinX",
      "maxSupply": "10000",
      "algorithm": 0
    },
    "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
    "subtype": 0,
    "amountNQT": "0",
    "sender": "15295723609781267838",
    "ecBlockHeight": 162060,
    "deadline": 60,
    "transaction": "6520756875632314476",
    "timestamp": 34112271,
    "height": 2147483647
  },
  "broadcasted": true,
  "requestProcessingTime": 53,
  "transactionBytes": "05100f8308023c0010f09c34f225d425306e5be55a49469081560...",
  "fullHash": "6c08c076d4617e5a4be6f027c9b3e47ddb0e92fab87032d631546051dbdbfe8c",
  "transaction": "6520756875632314476"
}

Publish Exchange Offer

Request:


http://localhost:2022/nxt?
  requestType=publishExchangeOffer&
  currency=6520756875632314476&
  buyRateNQT=10000000&
  sellRateNQT=20000000&
  totalBuyLimit=1000&
  totalSellLimit=1000&
  initialBuySupply=500&
  initialSellSupply=500&
  expirationHeight=163080&
  secretPhrase=IWontTellYou&
  feeNQT=100000000&
  deadline=60

Response:

{
  "signatureHash": "6fd60fcbc6e7022f12adad82a76c0534d2f79a569b9857b02328bf7573cf93f8",
  "unsignedTransactionBytes": "0514d7c409023c0010f09c34f225d425306e5be55a49469081...",
  "transactionJSON": {
    "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
    "signature": "b204a7d9622ac6b99936447a4314fac1c2f0c67e45f4021f4b1949755c081802a34...",
    "feeNQT": "100000000",
    "type": 5,
    "fullHash": "fccb2c6200a04bbce82b9e623051b8d8ed9d519dbb0a12ec5a354c842da9a664",
    "version": 1,
    "ecBlockId": "6813726597245349906",
    "signatureHash": "6fd60fcbc6e7022f12adad82a76c0534d2f79a569b9857b02328bf7573cf93f8",
    "attachment": {
      "totalSellLimit": "1000",
      "buyRateNQT": "10000000",
      "initialSellSupply": "500",
      "totalBuyLimit": "1000",
      "expirationHeight": 163080,
      "sellRateNQT": "20000000",
      "version.PublishExchangeOffer": 1,
      "currency": "6520756875632314476",
      "initialBuySupply": "500"
    },
    "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
    "subtype": 4,
    "amountNQT": "0",
    "sender": "15295723609781267838",
    "ecBlockHeight": 163049,
    "deadline": 60,
    "transaction": "13568114225891298300",
    "timestamp": 34194647,
    "height": 2147483647
  },
  "broadcasted": true,
  "requestProcessingTime": 54,
  "transactionBytes": "0514d7c409023c0010f09c34f225d425306e5be55a4946908156072...",
  "transaction": "13568114225891298300"
}

Search Currencies

Request:


http://localhost:2022/nxt?
  requestType=searchCurrencies&
  query=MYST?

Response:

{
  "requestProcessingTime": 5,
  "currencies": [
    {
      "initialSupply": "10000",
      "currentReservePerUnitNQT": "0",
      "types": ["EXCHANGEABLE"],
      "code": "MYSTX",
      "creationHeight": 159726,
      "minDifficulty": 0,
      "numberOfTransfers": 3,
      "description": "Exchangeable",
      "minReservePerUnitNQT": "0",
      "currentSupply": "10000",
      "issuanceHeight": 0,
      "type": 1,
      "reserveSupply": "0",
      "maxDifficulty": 0,
      "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "decimals": 2,
      "name": "MystcoinX",
      "numberOfExchanges": 0,
      "currency": "9387514940677621191",
      "maxSupply": "10000",
      "account": "15295723609781267838",
      "algorithm": 0
    }
  ]
}

Transfer Currency

Request:


http://localhost:2022/nxt?
  requestType=transferCurrency&
  recipient=BLX-BMUV-8QQR-47VK-CR7F3&
  currency=9387514940677621191&
  units=10&
  secretPhrase=IWontTellYou&
  feeNQT=100000000&
  deadline=60

Response:

{
  "signatureHash": "eda8f238d164074170ddb8163d7d71f08062f1f1a51712f05670a670e64e5eff",
  "unsignedTransactionBytes": "0513ad150b023c0010f09c34f225d425306e5be55a49469081...",
  "transactionJSON": {
    "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
    "signature": "7629cba6e776685c9e134f8d96c54a5bcad6915c433f833b1ca792c69e75ee0ac6f...",
    "feeNQT": "100000000",
    "type": 5,
    "fullHash": "d65a8adfc6b06da98ce50bb36d52305a8c9300b8defbeed9f2582628d9e258f0",
    "version": 1,
    "ecBlockId": "13770841487927223834",
    "signatureHash": "eda8f238d164074170ddb8163d7d71f08062f1f1a51712f05670a670e64e5eff",
    "attachment": {
      "currency": "9387514940677621191",
      "version.CurrencyTransfer": 1,
      "units": "10"
    },
    "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
    "subtype": 3,
    "amountNQT": "0",
    "sender": "15295723609781267838",
    "recipientRS": "BLX-BMUV-8QQR-47VK-CR7F3",
    "recipient": "11580081983047651163",
    "ecBlockHeight": 159721,
    "deadline": 60,
    "transaction": "12208608533071682262",
    "timestamp": 34280877,
    "height": 2147483647
  },
  "broadcasted": true,
  "requestProcessingTime": 8,
  "transactionBytes": "0513ad150b023c0010f09c34f225d425306e5be55a49469081560...",
  "fullHash": "d65a8adfc6b06da98ce50bb36d52305a8c9300b8defbeed9f2582628d9e258f0",
  "transaction": "12208608533071682262"
}

Networking Operations

Add Peer

Request:


http://localhost:2022/nxt?
  requestType=addPeer&
  peer=nxt9.webice.ru

Response:

{
  "hallmark": "4a8fd0f2af5f511e041ad7bee1625ae3a711ddcc056c60cf7ab3523e2c99092f0e006e...",
  "downloadedVolume": 155414,
  "address": "23.95.51.154",
  "weight": 19829,
  "uploadedVolume": 63532,
  "requestProcessingTime": 478,
  "version": "1.4.8",
  "platform": "webice.ru",
  "lastUpdated": 37014605,
  "blacklisted": false,
  "announcedAddress": "nxt9.webice.ru",
  "application": "NRS",
  "state": 1,
  "shareAddress": true
}

Blacklist API Proxy Peer

Request:


http://localhost:2022/nxt?
  requestType=blacklistAPIProxyPeer&
  peer=52.0.72.67

Response:

{
  "requestProcessingTime": 24,
  "done": true
}

Blacklist Peer

Request:


http://localhost:2022/nxt?
  requestType=blacklistPeer&
  peer=nxt9.webice.ru

Response:

{
  "requestProcessingTime": 0,
  "done": true
}

Get Inbound Peers

Request:


http://localhost:2022/nxt?
  requestType=getInboundPeers

Response:

{
  "peers": [],
  "requestProcessingTime": 1
}

Get My Info

Request:


http://localhost:2022/nxt?
  requestType=getMyInfo

Response:

{
  "address": "127.0.0.1",
  "host": "127.0.0.1",
  "requestProcessingTime": 1
}

Get Peer

Request:


http://localhost:2022/nxt?
  requestType=getPeer&
  peer=nxtx.ru

Response:

{
  "hallmark": "5f107c33097fc8241f55b9eb23615fe80ed3f87c87dc8c23ed6a08ab9273417a07006...",
  "downloadedVolume": 352,
  "address": "188.226.174.169",
  "inbound": false,
  "weight": 53,
  "uploadedVolume": 2165,
  "requestProcessingTime": 30,
  "version": "1.5.11",
  "platform": "VPS",
  "inboundWebSocket": false,
  "lastUpdated": 48540348,
  "blacklisted": false,
  "announcedAddress": "nxtx.ru",
  "application": "NRS",
  "port": 7874,
  "outboundWebSocket": true,
  "lastConnectAttempt": 48540348,
  "state": 1,
  "shareAddress": true
}

Get Peers

Request:


http://localhost:2022/nxt?
  requestType=getPeers&
  state=DISCONNECTED

Response:

{
  "peers": ["198.50.146.93", "213.46.57.77"],
  "requestProcessingTime": 1
}

Set API Proxy Peer

Request:


http://localhost:2022/nxt?
  requestType=setAPIProxyPeer&
  peer=163.172.154.74

Response:

{
  "downloadedVolume": 6176,
  "address": "104.223.53.14",
  "inbound": false,
  "blockchainState": "UP`TO`DATE",
  "weight": 0,
  "uploadedVolume": 323,
  "services": ["HALLMARK", "PRUNABLE", "API", "API`SSL", "CORS"],
  "requestProcessingTime": 77,
  "version": "1.11.5",
  "platform": "BLX-TGFQ-U33C-C37U-CMKWF",
  "inboundWebSocket": false,
  "apiSSLPort": 7878,
  "lastUpdated": 112610887,
  "blacklisted": false,
  "announcedAddress": "104.223.53.14",
  "apiPort": 2022,
  "application": "NRS",
  "port": 7874,
  "outboundWebSocket": true,
  "lastConnectAttempt": 112610887,
  "state": 1,
  "shareAddress": true
}

Phasing Operations

Approve Transaction

Request:


http://localhost:2022/nxt?
  requestType=approveTransaction&
  transactionFullHash=5016cc59b0665675f00513e8c647288e0a668a78c4964c84d0de8f768b89060a&
  revealedSecretText=secret&
  secretPhrase=secretPhrase&
  feeNQT=100000000&
  deadline=60

Response:

{
  "signatureHash": "db429ccecd7d13b54b43cf9db7656cef6df6152c60e626b393000ed00a652c95",
  "transactionJSON": {
    "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
    "signature": "380e1a94e40d58e9382aa742ca998373e27c5d30890d91a74d83bfead849e507e93c51...",
    "feeNQT": "100000000",
    "type": 1,
    "fullHash": "2bb80af156e70067f509df9ad5a88b687040cff4a8c778c69aef77863d3d15ef",
    "version": 1,
    "phased": false,
    "ecBlockId": "704052112466096836",
    "signatureHash": "db429ccecd7d13b54b43cf9db7656cef6df6152c60e626b393000ed00a652c95",
    "attachment": {
      "transactionFullHashes": ["5016cc59b0665675f00513e8c647288e0a668a78c4964c84d0de8f768b89060a"],
      "version.PhasingVoteCasting": 1,
      "revealedSecret": "736563726574"
    },
    "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
    "subtype": 9,
    "amountNQT": "0",
    "sender": "15295723609781267838",
    "ecBlockHeight": 262493,
    "deadline": 60,
    "transaction": "7422186546503792683",
    "timestamp": 43965004,
    "height": 2147483647
  },
  "unsignedTransactionBytes": "01194cda9e023c0010f09c34f225d425306e5be55a494690...",
  "broadcasted": true,
  "requestProcessingTime": 20,
  "transactionBytes": "01194cda9e023c0010f09c34f225d425306e5be55a4946908156072a...",
  "fullHash": "2bb80af156e70067f509df9ad5a88b687040cff4a8c778c69aef77863d3d15ef",
  "transaction": "7422186546503792683"
}

Create Phasing Poll

Request:


http://localhost:2022/nxt?
  requestType=sendMoney&
  recipient=BLX-BMUV-8QQR-47VK-CR7F3&
  secretPhrase=secretPhrase&
  feeNQT=200000000&
  deadline=60&
  phased=true&
  phasingFinishHeight=261550&
  phasingVotingModel=0&
  phasingQuorum=2

Response:

{
  "signatureHash": "df6c2dfcaf17f83256cfe388f408e091c08f208a060d54d1fbdb407ffdca121c",
  "transactionJSON": {
    "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
    "signature": "418a5453329d6c8d29b1b49dff30653a7f1e66992cece404d8ae997413deaa015b749a...",
    "feeNQT": "200000000",
    "type": 0,
    "fullHash": "6fd876512477ef4fab089ec2ffa084d6db75ba3cd0cef2541675515470dca374",
    "version": 1,
    "phased": true,
    "ecBlockId": "17522485785088843392",
    "signatureHash": "df6c2dfcaf17f83256cfe388f408e091c08f208a060d54d1fbdb407ffdca121c",
    "attachment": {
      "phasingFinishHeight": 261550,
      "phasingHolding": "0",
      "phasingQuorum": "2",
      "version.Phasing": 1,
      "phasingMinBalance": "0",
      "phasingMinBalanceModel": 0,
      "version.OrdinaryPayment": 0,
      "phasingVotingModel": 0
    },
    "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
    "subtype": 0,
    "amountNQT": "2000000000",
    "sender": "15295723609781267838",
    "recipientRS": "BLX-BMUV-8QQR-47VK-CR7F3",
    "recipient": "11580081983047651163",
    "ecBlockHeight": 261454,
    "deadline": 60,
    "transaction": "5759953446299424879",
    "timestamp": 43874749,
    "height": 2147483647
  },
  "unsignedTransactionBytes": "0010bd799d023c0010f09c34f225d425306e5be55a494690...",
  "broadcasted": true,
  "requestProcessingTime": 760,
  "transactionBytes": "0010bd799d023c0010f09c34f225d425306e5be55a4946908156072a...",
  "fullHash": "6fd876512477ef4fab089ec2ffa084d6db75ba3cd0cef2541675515470dca374",
  "transaction": "5759953446299424879"
}

Get Account Phased Transaction Count

Request:


http://localhost:2022/nxt?
  requestType=getAccountPhasedTransactionCount&
  account=15295723609781267838

Response:

{
  "requestProcessingTime": 1,
  "numberOfPhasedTransactions": 3
}

Get Account Phased Transactions

Request:


http://localhost:2022/nxt?
  requestType=getAccountPhasedTransactions&
  account=15295723609781267838&
  lastIndex=0

Response:

{
  "requestProcessingTime": 2,
  "transactions": [
    {
      "signature": "803d3fad7076bfe3f48a8ced40bb7075539858bf2b9d23b7653671a7204e6108234d...",
      "transactionIndex": 0,
      "type": 0,
      "phased": true,
      "ecBlockId": "14167949999961480077",
      "signatureHash": "693b18675d813dcc2de1a889fd919d0c4a0eaa679df0b0f8b0ec703bc2e278d4",
      "attachment": {
        "phasingFinishHeight": 262450,
        "phasingHolding": "17091401215301664836",
        "phasingQuorum": "500",
        "version.Phasing": 1,
        "phasingMinBalance": "100",
        "phasingMinBalanceModel": 2,
        "version.OrdinaryPayment": 0,
        "phasingVotingModel": 2
      },
      "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "subtype": 0,
      "amountNQT": "500000000",
      "recipientRS": "BLX-BMUV-8QQR-47VK-CR7F3",
      "block": "11015494088798322289",
      "blockTimestamp": 43952022,
      "deadline": 60,
      "timestamp": 43957682,
      "height": 262418,
      "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
      "feeNQT": "2100000000",
      "confirmations": 27,
      "fullHash": "e57462c46447f8bd7a0bafd9ab65bde8743ca6c13213185271d7ea6c48118861",
      "version": 1,
      "sender": "15295723609781267838",
      "recipient": "11580081983047651163",
      "ecBlockHeight": 262409,
      "transaction": "13688769565509711077"
    }
  ]
}

Get Asset Phased Transactions

Request:


http://localhost:2022/nxt?
  requestType=getAssetPhasedTransactions&
  asset=17091401215301664836

Response:

{
  "requestProcessingTime": 2,
  "transactions": [
    {
      "signature": "803d3fad7076bfe3f48a8ced40bb7075539858bf2b9d23b7653671a7204e6108234d...",
      "transactionIndex": 0,
      "type": 0,
      "phased": true,
      "ecBlockId": "14167949999961480077",
      "signatureHash": "693b18675d813dcc2de1a889fd919d0c4a0eaa679df0b0f8b0ec703bc2e278d4",
      "attachment": {
        "phasingFinishHeight": 262450,
        "phasingHolding": "",
        "phasingQuorum": "500",
        "version.Phasing": 1,
        "phasingMinBalance": "100",
        "phasingMinBalanceModel": 2,
        "version.OrdinaryPayment": 0,
        "phasingVotingModel": 2
      },
      "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "subtype": 0,
      "amountNQT": "500000000",
      "recipientRS": "BLX-BMUV-8QQR-47VK-CR7F3",
      "block": "11015494088798322289",
      "blockTimestamp": 43952022,
      "deadline": 60,
      "timestamp": 43957682,
      "height": 262418,
      "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
      "feeNQT": "2100000000",
      "confirmations": 27,
      "fullHash": "e57462c46447f8bd7a0bafd9ab65bde8743ca6c13213185271d7ea6c48118861",
      "version": 1,
      "sender": "15295723609781267838",
      "recipient": "11580081983047651163",
      "ecBlockHeight": 262409,
      "transaction": "13688769565509711077"
    }
  ]
}

Get Currency Phased Transactions

Request:


http://localhost:2022/nxt?
  requestType=getCurrencyPhasedTransactions&
  currency=12366259387060174981

Response:

{
  "requestProcessingTime": 2,
  "transactions": [
    {
      "signature": "ec467483307c73c08e7e9195eeddf23ce129ce30d703881cca505cbb0569c2009...",
      "transactionIndex": 0,
      "type": 0,
      "phased": true,
      "ecBlockId": "7353294686633135686",
      "signatureHash": "12cc1d54a453c3d1231b991a54f3323db6a51c00387ca5480db268164d5b7cfa",
      "attachment": {
        "phasingFinishHeight": 263500,
        "phasingHolding": "12366259387060174981",
        "phasingQuorum": "100",
        "version.Phasing": 1,
        "phasingMinBalance": "10",
        "phasingMinBalanceModel": 3,
        "version.OrdinaryPayment": 0,
        "phasingVotingModel": 3
      },
      "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "subtype": 0,
      "amountNQT": "800000000",
      "recipientRS": "BLX-BMUV-8QQR-47VK-CR7F3",
      "block": "699750272975612223",
      "blockTimestamp": 44042909,
      "deadline": 60,
      "timestamp": 44042827,
      "height": 263430,
      "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
      "feeNQT": "4100000000",
      "confirmations": 2,
      "fullHash": "5799d135aacf48a317c813fea405c317e7ab90888afb701b92c17914744f244f",
      "version": 1,
      "sender": "15295723609781267838",
      "recipient": "11580081983047651163",
      "ecBlockHeight": 263424,
      "transaction": "11765882356459739479"
    }
  ]
}

Get Linked Phased Transactions

Request:


http://localhost:2022/nxt?
  requestType=getLinkedPhasedTransactions&
  linkedFullHash=083eba49bb481c38752a14493f0d40b3c60635935f13dd1fb33f6831fb997079

Response:

{
  "requestProcessingTime": 1,
  "transactions": [
    {
      "signature": "d20a8bb84dcb335182ddc81ceaa1c5464881137d32eb195805ad460c9fcdba0...",
      "transactionIndex": 0,
      "type": 0,
      "phased": true,
      "ecBlockId": "4351283327032663440",
      "signatureHash": "77dfa3ff467a3b253530ad1b7a227633fa21fa064efe1df8206690bafb06f42c",
      "attachment": {
        "phasingFinishHeight": 770000,
        "version.Message": 1,
        "phasingHolding": "0",
        "phasingQuorum": "1",
        "version.Phasing": 1,
        "messageIsText": true,
        "phasingLinkedFullHashes": [
          "083eba49bb481c38752a14493f0d40b3c60635935f13dd1fb33f6831fb997079"
        ],
        "phasingMinBalance": "0",
        "message": "Hello",
        "phasingMinBalanceModel": 0,
        "version.OrdinaryPayment": 0,
        "phasingVotingModel": 4
      },
      "senderRS": "BLX-7A48-47JL-T7LD-D5FS3",
      "subtype": 0,
      "amountNQT": "500000000",
      "recipientRS": "BLX-5MYN-AP7M-NKMH-CRQJZ",
      "block": "13425992991123879393",
      "blockTimestamp": 80870662,
      "deadline": 1440,
      "timestamp": 80870626,
      "height": 768864,
      "senderPublicKey": "373522bcd8904f4707472e590cbb67976d40e7af39650ea11cb2be...",
      "feeNQT": "300000000",
      "confirmations": 11,
      "fullHash": "a1d845b3daf08493a2b299639b71422a41fcf923e1b68a4533d2bd0e22ad694d",
      "version": 1,
      "sender": "12745647715474645062",
      "recipient": "12664921794733526996",
      "ecBlockHeight": 768850,
      "transaction": "10629885842602449057"
    }
  ]
}

Get Phasing Poll

Request:


http://localhost:2022/nxt?
  requestType=getPhasingPoll&
  transaction=15402897900571339064

Response:

{
  "votingModel": 0,
  "quorum": "2",
  "transactionFullHash": "38292a530816c2d5693bf5d0afb20847a3c4d2f37c3665fd294a7d2fdc278d56",
  "finished": true,
  "whitelist": [
    {
      "whitelistedRS": "BLX-BMUV-8QQR-47VK-CR7F3",
      "whitelisted": "11580081983047651163"
    },
    {
      "whitelistedRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "whitelisted": "15295723609781267838"
    }
  ],
  "requestProcessingTime": 1,
  "result": "2",
  "approved": true,
  "minBalance": "0",
  "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
  "finishHeight": 259600,
  "minBalanceModel": 0,
  "transaction": "15402897900571339064",
  "account": "15295723609781267838",
  "hashedSecret": ""
}

Get Phasing Poll Vote

Request:


http://localhost:2022/nxt?
  requestType=getPhasingPollVote&
  transaction=12580288379938056583&
  account=15295723609781267838

Response:

{
  "voterRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
  "voter": "15295723609781267838",
  "requestProcessingTime": 1,
  "transaction": "9761138556025135837"
}

Get Phasing Poll Votes

Request:


http://localhost:2022/nxt?
  requestType=getPhasingPollVotes&
  account=12580288379938056583

Response:

{
  "votes": [
    {
      "voterRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "voter": "15295723609781267838",
      "transaction": "9761138556025135837"
    }
  ],
  "requestProcessingTime": 2
}

Get Phasing Polls

Request:


http://localhost:2022/nxt?
  requestType=getPhasingPolls&
  transaction=12580288379938056583&
  transaction=13688769565509711077&
  countVotes=true

Response:

{
  "polls": [
    {
      "votingModel": 1,
      "quorum": "100000000000",
      "transactionFullHash": "87a92edaa02996aeaf59a619ca513563775870c2b8ca490b61b02535745cdd34",
      "finished": true,
      "whitelist": [],
      "result": "186700000000",
      "approved": true,
      "minBalance": "10000000000",
      "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "finishHeight": 262450,
      "minBalanceModel": 1,
      "transaction": "12580288379938056583",
      "account": "15295723609781267838",
      "hashedSecret": ""
    },
    {
      "votingModel": 2,
      "quorum": "500",
      "transactionFullHash": "e57462c46447f8bd7a0bafd9ab65bde8743ca6c13213185271d7ea6c48118861",
      "finished": true,
      "whitelist": [],
      "result": "500",
      "holding": "17091401215301664836",
      "approved": true,
      "minBalance": "100",
      "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "finishHeight": 262450,
      "minBalanceModel": 2,
      "transaction": "13688769565509711077",
      "account": "15295723609781267838",
      "hashedSecret": ""
    }
  ],
  "requestProcessingTime": 1
}

Get Voter Phased Transactions

Request:


http://localhost:2022/nxt?
  requestType=getVoterPhasedTransactions&
  account=15295723609781267838

Response:

{
  "requestProcessingTime": 1,
  "transactions": [
    {
      "signature": "e527fce6591049b61d232ebbf4171319ae4e208f34d8a055ffb09f07dec7d9033527...",
      "transactionIndex": 0,
      "type": 0,
      "phased": true,
      "ecBlockId": "13625660527605830055",
      "signatureHash": "2a3cc644b1cb48130a172de92a418d48522b45a25a36d4d48c2347f032e430ab",
      "attachment": {
        "phasingFinishHeight": 263850,
        "phasingHolding": "0",
        "phasingQuorum": "2",
        "version.Phasing": 1,
        "phasingWhitelist": ["11580081983047651163", "15295723609781267838"],
        "phasingMinBalance": "0",
        "phasingMinBalanceModel": 0,
        "version.OrdinaryPayment": 0,
        "phasingVotingModel": 0
      },
      "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "subtype": 0,
      "amountNQT": "1100000000",
      "recipientRS": "BLX-BMUV-8QQR-47VK-CR7F3",
      "block": "16550954176569210781",
      "blockTimestamp": 44074579,
      "deadline": 1440,
      "timestamp": 44074556,
      "height": 263813,
      "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
      "feeNQT": "200000000",
      "confirmations": 0,
      "fullHash": "b54a7e14c910e0750af0b29c0328347e27411dbe5d158d5d358ee2165b781968",
      "version": 1,
      "sender": "15295723609781267838",
      "recipient": "11580081983047651163",
      "ecBlockHeight": 263804,
      "transaction": "8493807353039047349"
    }
  ]
}

Server Information Operations

Event Register

Request:


http://localhost:2022/nxt?
  requestType=eventRegister

Response:

{
  "registered": true,
  "requestProcessingTime": 5780
}

Event Wait

Request:


http://localhost:2022/nxt?
  requestType=eventWait

Response:

{
  "requestProcessingTime": 0,
  "events": [
    {
      "name": "Block.BLOCK`PUSHED",
      "ids": ["11748297033830700369"]
    },
    {
      "name": "Transaction.REMOVED`UNCONFIRMED`TRANSACTIONS",
      "ids": []
    },
    {
      "name": "Peer.ADDED`ACTIVE`PEER",
      "ids": ["178.150.207.53"]
    }
  ]
}

Get Blockchain Status

Request:


http://localhost:2022/nxt?
  requestType=getBlockchainStatus

Response:

{
  "currentMinRollbackHeight": 445745,
  "numberOfBlocks": 446546,
  "isTestnet": false,
  "includeExpiredPrunable": false,
  "requestProcessingTime": 1,
  "version": "1.5.11",
  "maxRollback": 800,
  "lastBlock": "2164693711802180410",
  "application": "NRS",
  "isScanning": false,
  "isDownloading": false,
  "cumulativeDifficulty": "17966254519242206",
  "lastBlockchainFeederHeight": 446597,
  "maxPrunableLifetime": 1209600,
  "time": 48539846,
  "lastBlockchainFeeder": "84.253.125.186"
}

Get Plugins

Request:


http://localhost:2022/nxt?
  requestType=getPlugins

Response:

{
  "plugins": ["hello`world"],
  "requestProcessingTime": 9
}

Get State

Request:


http://localhost:2022/nxt?
  requestType=getState

Response:

{
  "numberOfPolls": 19,
  "numberOfTransfers": 124216,
  "maxMemory": 900726784,
  "numberOfOffers": 90,
  "isDownloading": false,
  "cumulativeDifficulty": "17966254519242206",
  "numberOfCurrencies": 1833,
  "freeMemory": 36399744,
  "peerPort": 7874,
  "availableProcessors": 4,
  "numberOfTaggedData": 1,
  "numberOfActiveAccountLeases": 216,
  "currentMinRollbackHeight": 445745,
  "requestProcessingTime": 125533,
  "version": "1.5.11",
  "numberOfAliases": 142415,
  "numberOfActivePeers": 10,
  "maxPrunableLifetime": 1209600,
  "numberOfExchanges": 1750,
  "numberOfPurchases": 770,
  "numberOfAskOrders": 3536,
  "lastBlockchainFeeder": "84.253.125.186",
  "numberOfPeers": 289,
  "numberOfGoods": 990,
  "numberOfUnlockedAccounts": 0,
  "includeExpiredPrunable": false,
  "numberOfOrders": 4781,
  "numberOfTransactions": 1325666,
  "maxRollback": 800,
  "isScanning": false,
  "numberOfAssets": 539,
  "numberOfPrunableMessages": 45,
  "numberOfVotes": 106,
  "numberOfAccounts": 111301,
  "numberOfDataTags": 3,
  "needsAdminPassword": false,
  "numberOfBlocks": 446546,
  "isTestnet": false,
  "numberOfCurrencyTransfers": 719,
  "numberOfPhasedTransactions": 5,
  "numberOfAccountLeases": 231,
  "numberOfBidOrders": 1245,
  "lastBlock": "2164693711802180410",
  "totalMemory": 235929600,
  "application": "NRS",
  "lastBlockchainFeederHeight": 446597,
  "numberOfTrades": 102458,
  "numberOfTags": 723,
  "isOffline": false,
  "time": 48539770
}

Get Time

Request:


http://localhost:2022/nxt?
  requestType=getTime

Response:

{
  "time": 31184078,
  "requestProcessingTime": 1
}

Shuffling Operations

Get Account Shufflings

Request:


http://localhost:2022/nxt?
 getAccountShufflings&
 account=BLX-UZNP-6LBA-YQ38-3TEY8

Response:

{
  "requestProcessingTime": 91,
  "shufflings": [
    {
      "blocksRemaining": 4372,
      "amount": "25000000000000",
      "shufflingStateHash": "be12c737ad86e551621f57ebddaaaa61e66cf0a206fabfe40538304ff674c7a7",
      "issuer": "11802441287912491934",
      "holding": "0",
      "stage": 0,
      "holdingType": 0,
      "participantCount": 7,
      "assigneeRS": "BLX-UZNP-6LBA-YQ38-3TEY8",
      "shuffling": "5901270965262160574",
      "registrantCount": 2,
      "assignee": "1403321141259239061",
      "issuerRS": "BLX-V4WY-U928-GRN8-CKPL9",
      "shufflingFullHash": "be12c737ad86e551621f57ebddaaaa61e66cf0a206fabfe40538304ff674c7a7"
    }
  ]
}

Get All Shufflings

Request:


http://localhost:2022/nxt?
 requestType=getAllShufflings

Response:

{
  "requestProcessingTime": 81,
  "shufflings": [
    {
      "blocksRemaining": 226,
      "amount": "5000000000000",
      "shufflingStateHash": "9be2ed518e46d921df9f9f6425cc16a399f72a7833c58dbeb2a261e04620c392",
      "issuer": "16667202175165271068",
      "holding": "0",
      "stage": 0,
      "holdingType": 0,
      "participantCount": 5,
      "assigneeRS": "BLX-V4WY-U928-GRN8-CKPL9",
      "shuffling": "2439058250271679131",
      "registrantCount": 3,
      "assignee": "11802441287912491934",
      "issuerRS": "BLX-J52W-4BF7-L4J9-GEGMG",
      "shufflingFullHash": "9be2ed518e46d921df9f9f6425cc16a399f72a7833c58dbeb2a261e04620c392"
    }
  ]
}

Get Assigned Shufflings

Request:


http://localhost:2022/nxt?
 requestType=getAssignedShufflings&
 account=BLX-V4WY-U928-GRN8-CKPL9

Response:

{
  "blocksRemaining": 20,
  "amount": "5000000000000",
  "shufflingStateHash": "9be2ed518e46d921df9f9f6425cc1...",
  "requestProcessingTime": 3,
  "issuer": "16667202175165271068",
  "holding": "0",
  "stage": 1,
  "holdingType": 0,
  "participantCount": 5,
  "assigneeRS": "BLX-V4WY-U928-GRN8-CKPL9",
  "shuffling": "2439058250271679131",
  "registrantCount": 5,
  "assignee": "11802441287912491934",
  "issuerRS": "BLX-J52W-4BF7-L4J9-GEGMG",
  "shufflingFullHash": "9be2ed518e46d921df9f9f6425cc16a399..."
}

Get Holding Shufflings

Request:


http://localhost:2022/nxt?
 requestType=getHoldingShufflings&
 holding=15344649963748848799&
 includeFinished=true

Response:

{
  "requestProcessingTime": 4,
  "shufflings": [
    {
      "holding": "15344649963748848799",
      "blocksRemaining": 0,
      "amount": "1000",
      "stage": 4,
      "shufflingStateHash": "57ed7cc02fa5b1f289d2a345314be5ec557ad093a5fd3070a16aba952d30656f",
      "holdingType": 1,
      "participantCount": 5,
      "shuffling": "144176732027925694",
      "registrantCount": 1,
      "issuer": "17417706268123203912",
      "issuerRS": "BLX-A4CA-L7JT-ZYGU-HZ2G5",
      "shufflingFullHash": "beb46651f937000259819298872f1721170a4c2e1af7f7900cb2ca01188fd942"
    }
  ]
}

Get Shufflers

Request:


http://localhost:2022/nxt?
 requestType=getShufflers&
 adminPassword=IWontTellYou

Response:

{
  "shufflers": [
    {
      "accountRS": "BLX-7A48-47JL-T7LD-D5FS3",
      "recipientRS": "BLX-H42E-48UL-FM7A-AVEC2",
      "recipient": "9235083011255928844",
      "shuffling": "9534657251385467319",
      "account": "12745647715474645062",
      "shufflingFullHash": "b7e1eedb40e851849cb77a53075ce74aa..."
    }
  ],
  "requestProcessingTime": 0
}

Get Shuffling

Request:


http://localhost:2022/nxt?
 requestType=getShuffling&
 shuffling=3347171811359602131

Response:

{
  "blocksRemaining": 956,
  "amount": "100000000000",
  "shufflingStateHash": "d3354a42078b732e16561b67a37d699d0410c564a4d18568319170665bf5dd9b",
  "requestProcessingTime": 2,
  "issuer": "10740484011813680725",
  "holding": "0",
  "stage": 0,
  "holdingType": 0,
  "participantCount": 5,
  "assigneeRS": "BLX-V4WY-U928-GRN8-CKPL9",
  "shuffling": "3347171811359602131",
  "registrantCount": 2,
  "assignee": "11802441287912491934",
  "issuerRS": "BLX-PFLP-BQHY-NG4J-BXG5C",
  "shufflingFullHash": "d3354a42078b732e16561b67a37d699d0410c564a4d18568319170665bf5dd9b"
}

Get Shuffling Participants

Request:


http://localhost:2022/nxt?
 requestType=getShufflingParticipants&
 shuffling=16292433427943984172

Response:

{
  "requestProcessingTime": 5,
  "participants": [
    {
      "nextAccountRS": "BLX-KTTY-WRE6-2B5Y-4CYWR",
      "accountRS": "BLX-3ZXY-KWR5-LR8V-2PYAT",
      "shuffling": "16292433427943984172",
      "state": 2,
      "nextAccount": "3167098051496568638",
      "account": "910806360590974910"
    },
    {
      "nextAccountRS": "BLX-L8VW-NRUG-LZ6Q-62WWW",
      "accountRS": "BLX-KTTY-WRE6-2B5Y-4CYWR",
      "shuffling": "16292433427943984172",
      "state": 2,
      "nextAccount": "5653003407546981244",
      "account": "3167098051496568638"
    },
    {
      "nextAccountRS": "BLX-XC7L-35JW-FZCL-24NUT",
      "accountRS": "BLX-L8VW-NRUG-LZ6Q-62WWW",
      "shuffling": "16292433427943984172",
      "state": 2,
      "nextAccount": "930699247665195186",
      "account": "5653003407546981244"
    },
    {
      "nextAccountRS": "BLX-2222-2222-2222-22222",
      "accountRS": "BLX-XC7L-35JW-FZCL-24NUT",
      "shuffling": "16292433427943984172",
      "state": 2,
      "nextAccount": "0",
      "account": "930699247665195186"
    }
  ]
}

Shuffling Create

Request:


http://localhost:2022/nxt?
 requestType=shufflingCreate&
 amount=10000000000000&
 participantCount=7&
 registrationPeriod=9757&
 secretPhrase=IWontTellYou&
 feeNQT=100000000&
 deadline=1440

Response:

{
  "senderPublicKey": "ffcafb6de1ec93db5fe0475a6e2efd82faa3cb89a47a7d96f5579b0deadd5c10",
  "signature": "36b410b83abb4e373bf77c715c8ef3b06ba6c872e621e3f5f412dc1424eb6a0710ed8...",
  "feeNQT": "100000000",
  "transactionIndex": 0,
  "requestProcessingTime": 5,
  "type": 7,
  "confirmations": 9906,
  "fullHash": "2d10f4e18f808aa8d0de06d5cddcd77828eb6e7548f62e48de83f58fdf0629d5",
  "version": 1,
  "phased": false,
  "ecBlockId": "13021232786632787054",
  "signatureHash": "18956d76e3ed20937027373615e5fb49f11d1ac86eed279176856b59644899f5",
  "attachment": {
    "holding": "0",
    "amount": "10000000000000",
    "registrationPeriod": 9757,
    "holdingType": 0,
    "participantCount": 7,
    "version.ShufflingCreation": 1
  },
  "senderRS": "BLX-V4WY-U928-GRN8-CKPL9",
  "subtype": 0,
  "amountNQT": "0",
  "sender": "11802441287912491934",
  "ecBlockHeight": 817230,
  "block": "435349863926964285",
  "blockTimestamp": 80029572,
  "deadline": 1440,
  "transaction": "12144660700617510957",
  "timestamp": 80029541,
  "height": 817245
}

Shuffling Process

Request:


http://localhost:2022/nxt?
 requestType=shufflingProcess&
 shuffling=12144660700617510957&
 recipientSecretPhrase=IWontTellYou&
 secretPhrase=IWontTellYou&
 feeNQT=100000000&
 deadline=1440

Response:

{
  "senderPublicKey": "ffcafb6de1ec93db5fe0475a6e2efd82faa3cb89a47a7d96f5579b0deadd5c10",
  "signature": "fb6112d759cedfefe14a7bdbe19b2fac73d334566f05fc20d7d79933879b140...",
  "feeNQT": "1000000000",
  "transactionIndex": 1,
  "type": 7,
  "confirmations": 251,
  "fullHash": "0d0855396fa1a60c8b50507069abdb5a7c6af3fdb49f12766c8630ec66309642",
  "version": 1,
  "phased": false,
  "ecBlockId": "17529486445813261105",
  "signatureHash": "a7c1d67e2ff01dd8e3cf72869428a708a6ad087bb6247e628fb1964456eea66b",
  "attachment": {
    "shuffling": "12144660700617510957",
    "shufflingStateHash": "e98b2810531c6e807e5e89bb2537025bc7b4fb72e79ab675deb6fec2b8ec6d78",
    "data": ["438e2560cd958a173dc3b7adc3eb3c02a69ea5..."],
    "version.ShufflingProcessing": 1,
    "hash": "2e3cecabbf59a47d55399649be89d1bcd1b56264dca32cb269f88b30cbe2c262"
  },
  "senderRS": "BLX-V4WY-U928-GRN8-CKPL9",
  "subtype": 2,
  "amountNQT": "0",
  "sender": "11802441287912491934",
  "ecBlockHeight": 826902,
  "block": "15948287569415806210",
  "blockTimestamp": 80611249,
  "deadline": 1440,
  "transaction": "911593473664419853",
  "timestamp": 80611213,
  "height": 826917
}

Shuffling Verify

Request:


http://localhost:2022/nxt?
 requestType=shufflingVerify&
 shuffling=12144660700617510957&
 shufflingStateHash=90832470918374087102938470198234&
 recipientSecretPhrase=IWontTellYou&
 secretPhrase=IWontTellYou&
 feeNQT=100000000&
 deadline=1440

Response:

{
  "senderPublicKey": "f050f86b050c1de933d8094c9a05a346b2319912313a04b822bba15d6d256505",
  "signature": "a23968d9cf5313e745fa4b50102f7f6d664c1b574d8ff2fbcc721cb967a42a0225f1e...",
  "feeNQT": "100000000",
  "transactionIndex": 3,
  "requestProcessingTime": 3,
  "type": 7,
  "confirmations": 287,
  "fullHash": "296a76a1601da4a06c6524df5791553b5d305cb266f71afb6e9d7aa0149c04ff",
  "version": 1,
  "phased": false,
  "ecBlockId": "3207126357685519085",
  "signatureHash": "7b69ba9ffb10d725b693abb53157f274cbf42f2435e919821cda67f889f44e96",
  "attachment": {
    "version.ShufflingVerification": 1,
    "shuffling": "12144660700617510957",
    "shufflingStateHash": "fbc8b99c99c4e09203f1237771e38c7ee484c18a72572c3d1adae04da858fe92"
  },
  "senderRS": "BLX-KHDF-9KSG-2UCY-BUQZ4",
  "subtype": 4,
  "amountNQT": "0",
  "sender": "10484056935692287341",
  "ecBlockHeight": 826914,
  "block": "1046003298185760668",
  "blockTimestamp": 80612146,
  "deadline": 1440,
  "transaction": "11575409243111975465",
  "timestamp": 80611663,
  "height": 826925
}

Shuffling Register

Request:


http://localhost:2022/nxt?
 requestType=shufflingRegister&
 shufflingFullHash=2d10f4e18f808aa8d0de06d5cddcd77828eb6e7548f62e48de83f58fdf0629d5&
 secretPhrase=IWontTellYou&
 feeNQT=100000000&
 deadline=1440

Response:

{
  "senderPublicKey": "6351706ab8ea5c94243e6b0bff3be05f2e1b9accc83004af3e655a8fbc104735",
  "signature": "23bb57aee566ba2c27fe8c83ea4e88821f9f23c820371a39b5d49dbd327...",
  "feeNQT": "100000000",
  "transactionIndex": 1,
  "requestProcessingTime": 3,
  "type": 7,
  "confirmations": 9924,
  "fullHash": "467e60696e598fe5c075446897ff636886bf7c0e9...",
  "version": 1,
  "phased": false,
  "ecBlockId": "4928509411801335816",
  "signatureHash": "b0e945000b9010814f5399d9006a21939089db5616...",
  "attachment": {
    "version.ShufflingRegistration": 1,
    "shufflingFullHash": "2d10f4e18f808aa8d0de06d5cddcd77828eb6e7..."
  },
  "senderRS": "BLX-D78H-8QHV-DEP2-5TAGA",
  "subtype": 1,
  "amountNQT": "0",
  "sender": "3763066681748198607",
  "ecBlockHeight": 817256,
  "block": "12642960475175742738",
  "blockTimestamp": 80031214,
  "deadline": 1440,
  "transaction": "16541538287104327238",
  "timestamp": 80031109,
  "height": 817265
}

Start Shuffler

Request:


http://localhost:2022/nxt?
 requestType=startShuffler&
 shufflingFullHash=2d10f4e18f808aa8d0de06d5cddcd77828eb6e7548f62e48de83f58fdf0629d5&
 secretPhrase=IWontTellYou&
 recipientSecretPhrase=IWontTellYou

Response:

{
  "shuffling": "12144660700617510957",
  "shufflingFullHash": "2d10f4e18f808aa8d0de06d5cddcd77828eb6e7548f62e48de83f58fdf0629d5",
  "account": "11802441287912491934",
  "accountRS": "BLX-V4WY-U928-GRN8-CKPL9",
  "recipient": "3763066681748198607",
  "recipientRS": "BLX-D78H-8QHV-DEP2-5TAGA",
  "requestProcessingTime": 7
}

Stop Shuffler

Request:


http://localhost:2022/nxt?
 requestType=stopShuffler&
 shufflingFullHash=2d10f4e18f808aa8d0de06d5cddcd77828eb6e7548f62e48de83f58fdf0629d5&
 secretPhrase=IWontTellYou

Response:

{
  "stoppedShuffler": true,
  "requestProcessingTime": 7
}

Tagged Data Operations

Download Tagged Data

Request:


http://localhost:2022/nxt?
  requestType=downloadTaggedData&
  transaction=9169681701986886056

Response:

Downloaded file named nxt with contents:

d4f167249340d6d746f49441b8ccdb1bd3521feb

Extend Tagged Data

Request:


http://localhost:2022/nxt?
  requestType=extendTaggedData&
  transaction=9086193976300572942&
  secretPhrase=secretPhrase&
  feeNQT=100000000&
  deadline=60

Response:

{
  "signatureHash": "96cee31072bcdc82c85710c78e86d42aa8eac34e90960d97dcb87e9212534cc4",
  "transactionJSON": {
    "senderPublicKey": "10f09c34f225d425306e5be55a4946908156072afbead4d574a512d7e086ef5c",
    "signature": "1be49ba648dcb242620d34762243399053837a32e5c2f0a392b27e70fcf823073f0...",
    "feeNQT": "100000000",
    "type": 6,
    "fullHash": "77c6dcbf770f2ce04ca8ed14ba52cdff8f7e35515bc0a8440079acd156700fb6",
    "version": 1,
    "phased": false,
    "ecBlockId": "9233989544625577248",
    "signatureHash": "96cee31072bcdc82c85710c78e86d42aa8eac34e90960d97dcb87e9212534cc4",
    "attachment": {
      "version.TaggedDataExtend": 1,
      "filename": "",
      "data": "d4f167249340d6d746f49441b8ccdb1bd3521feb",
      "name": "Stargate SG1 full series",
      "channel": "torrent",
      "description": "Hash of the torrent.",
      "type": "",
      "taggedData": "9086193976300572942",
      "isText": true,
      "tags": "video, scifi, torrent"
    },
    "senderRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
    "subtype": 1,
    "amountNQT": "0",
    "sender": "15295723609781267838",
    "ecBlockHeight": 304612,
    "deadline": 60,
    "transaction": "16153302970465568375",
    "timestamp": 47672016,
    "height": 2147483647
  },
  "unsignedTransactionBytes": "0611d06ad7023c0010f09c34f225d425306e5be55a494...",
  "broadcasted": true,
  "requestProcessingTime": 28,
  "transactionBytes": "0611d06ad7023c0010f09c34f225d425306e5be55a49469081560...",
  "fullHash": "77c6dcbf770f2ce04ca8ed14ba52cdff8f7e35515bc0a8440079acd156700fb6",
  "transaction": "16153302970465568375"
}

Get Account Tagged Data

Request:


http://localhost:2022/nxt?
  requestType=getAccountTaggedData&
  account=BLX-4VDY-LNVT-LMAY-FMCKA&
  lastIndex=0

Response:

{
  "data": [
    {
      "data": "d4f167249340d6d746f49441b8ccdb1bd3521feb",
      "channel": "torrent",
      "description": "Hash of the torrent.",
      "type": "",
      "parsedTags": ["video", "scifi", "torrent"],
      "transactionTimestamp": 47843875,
      "tags": "video, scifi, torrent",
      "filename": "",
      "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "name": "Stargate SG1 full series",
      "blockTimestamp": 47672045,
      "transaction": "9086193976300572942",
      "account": "15295723609781267838",
      "isText": true
    }
  ],
  "requestProcessingTime": 2
}

Get All Tagged Data

Request:


http://localhost:2022/nxt?
  requestType=getAllTaggedData&
  lastIndex=0

Response:

{
  "requestProcessingTime": 1,
  "data": [
    {
      "data": "d4f167249340d6d746f49441b8ccdb1bd3521feb",
      "channel": "torrent",
      "description": "Hash of the torrent.",
      "type": "",
      "parsedTags": ["video", "scifi", "torrent"],
      "transactionTimestamp": 47843875,
      "tags": "video, scifi, torrent",
      "filename": "",
      "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "name": "Stargate SG1 full series",
      "blockTimestamp": 47672045,
      "transaction": "9086193976300572942",
      "account": "15295723609781267838",
      "isText": true
    }
  ]
}

Get Channel Tagged Data

Request:


http://localhost:2022/nxt?
  requestType=getChannelTaggedData&
  channel=torrent&
  lastIndex=0

Response:

{
  "data": [
    {
      "data": "d4f167249340d6d746f49441b8ccdb1bd3521feb",
      "channel": "torrent",
      "description": "Hash of the torrent.",
      "type": "",
      "parsedTags": ["video", "scifi", "torrent"],
      "transactionTimestamp": 47843875,
      "tags": "video, scifi, torrent",
      "filename": "",
      "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
      "name": "Stargate SG1 full series",
      "blockTimestamp": 47672045,
      "transaction": "9086193976300572942",
      "account": "15295723609781267838",
      "isText": true
    }
  ],
  "requestProcessingTime": 1
}

Get Data Tag Count

Request:


http://localhost:2022/nxt?
  requestType=getDataTagCount

Response:

{
  "numberOfDataTags": 3,
  "requestProcessingTime": 2
}

Get Data Tags

Request:


http://localhost:2022/nxt?
  requestType=getDataTags

Response:

{
  "requestProcessingTime": 5,
  "tags": [
    {
      "count": 2,
      "tag": "video"
    },
    {
      "count": 1,
      "tag": "scifi"
    },
    {
      "count": 1,
      "tag": "torrent"
    }
  ]
}

Get Data Tags Like

Request:


http://localhost:2022/nxt?
  requestType=getDataTagsLike&
  tagPrefix=sci

Response:

{
  "requestProcessingTime": 9,
  "tags": [
    {
      "count": 1,
      "tag": "scifi"
    }
  ]
}

Get Tagged Data

Request:


http://localhost:2022/nxt?
  requestType=getTaggedData&
  transaction=9086193976300572942

Response:

{
  "data": "d4f167249340d6d746f49441b8ccdb1bd3521feb",
  "channel": "torrent",
  "description": "Hash of the torrent.",
  "requestProcessingTime": 3,
  "type": "",
  "parsedTags": ["video", "scifi", "torrent"],
  "transactionTimestamp": 47843875,
  "tags": "video, scifi, torrent",
  "filename": "",
  "accountRS": "BLX-4VDY-LNVT-LMAY-FMCKA",
  "name": "Stargate SG1 full series",
  "blockTimestamp": 47672045,
  "transaction": "9086193976300572942",
  "account": "15295723609781267838",
  "isText": true
}

Get Tagged Data Extend Transactions

Request:


http://localhost:2022/nxt?
  requestType=getTaggedDataExtendTransactions&
  transaction=4344513120863790923

Response:

{
  "extendTransactions": [
    {
      "senderPublicKey": "631110059365218234cc28fb6c91019f4563cf910471a9e43221795f40ab6e3a",
      "signature": "e4fe406198843207f5255e2c98119b3130b9810812934e0406a4de97a3443b0b205c907284c2e2cfd2534e8dcc17f08afb707db338e557d02673a2e6b0010186",
      "feeNQT": "150000000",
      "transactionIndex": 0,
      "type": 6,
      "confirmations": 31778,
      "fullHash": "86e8bc8c891e1556dfb9114a0ba9c4e119e6df6ba241016a1e9a85223dea42f8",
      "version": 1,
      "phased": false,
      "ecBlockId": "14132969248050944989",
      "signatureHash": "2ed7b6a5d579a66596409b2619375fa0edd54ace2e7d10f0bdbc0a7126f1776c",
      "senderRS": "BLX-G885-AKDX-5G2B-BLUCG",
      "subtype": 1,
      "amountNQT": "0",
      "sender": "10892890577210644675",
      "ecBlockHeight": 725746,
      "block": "18314376737060578519",