Account Control

Get All Phasing Only Controls

Retrieve all accounts subject to phasing control with their respective restrictions.

Method: GET

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

Example response: 200

{
    "phasingOnlyControls": [
        {
            "minDuration": 0,
            "accountRS": "ARDOR-K9KH-YYFT-B5AR-AEH35",
            "controlParams": {
                "phasingHolding": "0",
                "phasingQuorum": "1",
                "phasingWhitelist": [
                    "7264744788567166412"
                ],
                "phasingMinBalance": "0",
                "phasingMinBalanceModel": 0,
                "phasingVotingModel": 0
            },
            "maxFees": {},
            "canFinishEarly": true,
            "account": "9333126351006768687",
            "maxDuration": 0
        },
        {
            "minDuration": 10,
            "accountRS": "ARDOR-72LE-QYEV-D3LE-AM8G7",
            "controlParams": {
                "phasingHolding": "0",
                "phasingQuorum": "1",
                "phasingWhitelist": [
                    "3779418262700019557"
                ],
                "phasingMinBalance": "0",
                "phasingMinBalanceModel": 0,
                "phasingVotingModel": 0
            },
            "maxFees": {
                "2": "0"
            },
            "canFinishEarly": true,
            "account": "9419511406156481100",
            "maxDuration": 100
        },
        {
            "minDuration": 15,
            "accountRS": "ARDOR-X24N-JNAK-8ST6-AQSPC",
            "controlParams": {
                "phasingHolding": "0",
                "phasingQuorum": "2",
                "phasingWhitelist": [
                    "17200533971518770924",
                    "1105936682291063389",
                    "3080753219310546768"
                ],
                "phasingMinBalance": "0",
                "phasingMinBalanceModel": 0,
                "phasingVotingModel": 0
            },
            "maxFees": {
                "2": "1500000000"
            },
            "canFinishEarly": true,
            "account": "9608173090791915604",
            "maxDuration": 30
        },
        {
            "minDuration": 10,
            "accountRS": "ARDOR-PEAC-9FVM-3DEL-ABNWM",
            "controlParams": {
                "phasingHolding": "0",
                "phasingQuorum": "1",
                "phasingWhitelist": [
                    "10068826088529770755"
                ],
                "phasingMinBalance": "0",
                "phasingMinBalanceModel": 0,
                "phasingVotingModel": 0
            },
            "maxFees": {
                "2": "1000000000"
            },
            "canFinishEarly": true,
            "account": "9940158216056516874",
            "maxDuration": 60
        },
...

Get Phasing Only Control

Retrieve phasing control with their respective restrictions for a specific account.

Method: GET

https://ardr.nownodes.io/nxt?requestType=getPhasingOnlyControl&account=ARDOR-AVGK-SKJZ-583G-A689A

Example response: 200

{}

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
chain = 2
period = 1400
secretPhrase = NowNodes
recipient = ARDOR-4VNQ-RWZC-4WWQ-GVM8S

Example response: 200

{
    "amount": "0",
    "chain": 1,
    "errorDescription": "Not enough funds",
    "balance": "0",
    "fee": "100000000",
    "errorCode": 6,
    "diff": "100000000"
}

Set Phasing Only Control

Sets (or removes) phasing control for a specific account.

Method: POST

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

Example body (x-www-form-urlencoded)

requestType = setPhasingOnlyControl
chain = 2
controlVotingModel = 0

Example response: 200

{
    "amount": "0",
    "chain": 2,
    "errorDescription": "Not enough funds",
    "balance": "0",
    "fee": "250000000",
    "errorCode": 6,
    "diff": "250000000"
}

Last updated