Forging

Start Bundler

Start a bundler with an account, or check to see if an account is bundling.

Method: POST

https://ardr.nownodes.io/nxt?requestType=startBundler

Example body (x-www-form-urlencoded)

requestType = startBundler
secretPhrase = IWontTellYou
chain = 2
minRateNQTPerFXT = 1
totalFeesLimitFQT = 1000000

Example response: 200

{
    "errorDescription": "Not enough funds",
    "errorCode": 6
}

Stop Bundler

Stop a bundler with an account.

Method: POST

https://ardr.nownodes.io/nxt?requestType=stopBundler

Example body (x-www-form-urlencoded)

requestType = stopBundler
chain = 2
minRateNQTPerFXT = 1
adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Get Bundlers

Get bundlers running.

Method: POST

https://ardr.nownodes.io/nxt?requestType=getBundlers&chain=2

Example body (x-www-form-urlencoded)

requestType = getBundlers
chain = 2
minRateNQTPerFXT = 1
adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Get All Bundler Rates

Check all bundler rates ordered by chain.

Method: POST

https://ardr.nownodes.io/nxt?requestType=getAllBundlersRates

Example body (x-www-form-urlencoded)

requestType = getAllBundlersRates
chain = 2
minRateNQTPerFXT = 1
adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Get Bundler Rates

Get the most competitive rates per chain.

Method: POST

https://ardr.nownodes.io/nxt?requestType=getBundlersRates

Example body (x-www-form-urlencoded)

requestType = getBundlersRates
chain = 2
minRateNQTPerFXT = 1
adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Add Bundling Rule

Add a bundling rule to an account bundler.

Method: POST

https://ardr.nownodes.io/nxt?requestType=blacklistBundler

Example body (x-www-form-urlencoded)

requestType = blacklistBundler
chain = 2
minRateNQTPerFXT = 1
adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Blacklist Bundler

Blacklist a specific bundler.

Method: POST

https://ardr.nownodes.io/nxt?requestType=blacklistBundler

Example body (x-www-form-urlencoded)

requestType = blacklistBundler
chain = 2
minRateNQTPerFXT = 1
adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Bundle Transactions

Bundle unconfirmed transactions.

Method: POST

https://ardr.nownodes.io/nxt?requestType=bundleTransactions

Example body (x-www-form-urlencoded)

requestType = blacklistBundler
chain = 2
minRateNQTPerFXT = 1
adminPassword = xxx

Example response: 200

{
    "errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
    "errorCode": 4
}

Start / Stop / Get Forging

Start or stop forging with an account, or check to see if an account is forging.

Method: POST

https://ardr.nownodes.io/nxt?requestType=startForging&secretPhrase=IWontTellYou

Example body (x-www-form-urlencoded)

requestType = startForging
secretPhrase = xxx

Example response: 200

{
    "requestProcessingTime": 9,
    "deadline": 0,
    "hitTime": 0
}

Get Guaranteed Balance

Get the balance of an account in ARDR that is confirmed at least a specified number of times.

Method: GET

https://ardr.nownodes.io/nxt?requestType=getGuaranteedBalance&account=7114946486381367146&numberOfConfirmations=1440

Example response: 200

{
    "guaranteedBalanceNQT": "42537785269331",
    "requestProcessingTime": 1
}

Lease Balance

Lease the entire guaranteed balance of ARDR to another account, after 1440 confirmations.

Method: POST

https://ardr.nownodes.io/nxt?requestType=leaseBalance

Example body (x-www-form-urlencoded)

requestType = leaseBalance
period = 1440
recipient = ARDOR-4VNQ-RWZC-4WWQ-GVM8S
secretPhrase = xxx
feeNQT = 100000000
deadline = 60

Example response: 200

{
    "errorDescription": "Unknown account",
    "errorCode": 5
}

Get Next Block Generators

Returns the next block generators ordered by hit time.

Method: GET

https://ardr.nownodes.io/nxt?requestType=getNextBlockGenerators&limit=3

Example response: 200

{
    "activeCount": 162,
    "lastBlock": "3709026344406183812",
    "generators": [
        {
            "accountRS": "ARDOR-C79U-WJV5-KCZK-9RPN7",
            "effectiveBalanceFXT": 1002000,
            "deadline": 165,
            "account": "8273877656222897402",
            "hitTime": 197467778
        },
        {
            "accountRS": "ARDOR-KZU8-BY9Z-NGVB-37RNB",
            "effectiveBalanceFXT": 1001742,
            "deadline": 205,
            "account": "1500513755748433734",
            "hitTime": 197467818
        },
        {
            "accountRS": "ARDOR-MT4P-AHG4-A4NA-CCMM2",
            "effectiveBalanceFXT": 49122259,
            "deadline": 205,
            "account": "11551286933940986965",
            "hitTime": 197467818
        }
    ],
    "requestProcessingTime": 154,
    "timestamp": 197467613,
    "height": 3343954
}

Last updated