Developing tools for ARO (Arionum) is easy. All that is required is some basic PHP skills to connect to an Arionum node that is running the API. So, here’s a guide on how to use the ARO API and extract info from the node.

First, you need to have your own wallet address so you can begin querying the API for information.

If you don’t one yet, then you have to create one.

You can download a wallet on a number of platforms including Windows, Mac, and Linux here.

This sample guide will not explain everything in detail. It is advised that you utilize the ARO API Documentation that comes installed on every Arionum node.

  • Note: Replace {} with the appropriate data.

getAddress

  • $url = 'http://peer1.arionum.com/api.php?q=getAddress&public_key={Public Key}';
    
    // set of curl options
    $options = array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERAGENT => "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    );
    $curl = curl_init(); // initialize curl
    curl_setopt_array($curl, $options); // setting the curl options array
    $response = curl_exec($curl); // execute curl
    curl_close($curl); // dismiss curl action

Sample Response:

  • {
        "status": "ok",
        "data": "69GzLiZJ95BXBVBJDVkTQWJWmTjbfMKWdGiG5bRWskYRqWHUq6gQsaYZ7yCV1fUtT9o8UaWqTuNszy79ipLoniB",
        "coin": "arionum"
    }

getBalance

  • $url = 'http://peer1.arionum.com/api.php?q=getBalance&account={Account ID | Address}';
    
    // set of curl options
    $options = array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERAGENT => "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    );
    $curl = curl_init(); // initialize curl
    curl_setopt_array($curl, $options); // setting the curl options array
    $response = curl_exec($curl); // execute curl
    curl_close($curl); // dismiss curl action

Sample Response:

  • {
        "status": "ok",
        "data": "96396.49044542",
        "coin": "arionum"
    }

 

getPendingBalance

  • $url = 'http://peer1.arionum.com/api.php?q=getPendingBalance&account={Account ID | Address}';
    
    // set of curl options
    $options = array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERAGENT => "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    );
    $curl = curl_init(); // initialize curl
    curl_setopt_array($curl, $options); // setting the curl options array
    $response = curl_exec($curl); // execute curl
    curl_close($curl); // dismiss curl action

Sample Response:

  • {
        "status": "ok",
        "data": "96396.49044542",
        "coin": "arionum"
    }

 

getTransactions

  • $url = 'http://peer1.arionum.com/api.php?q=getTransactions&account={Account ID | Address}&limit=5';
    
    // set of curl options
    $options = array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERAGENT => "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    );
    $curl = curl_init(); // initialize curl
    curl_setopt_array($curl, $options); // setting the curl options array
    $response = curl_exec($curl); // execute curl
    curl_close($curl); // dismiss curl action

Sample Response:

  • {
        "status": "ok",
        "data": [
            {
                "block": "5F8H3493hhtVMcMVCSkwiMXTu4t1UoaV87nppbnpzbhtbjzYxP5NRh5ex9xur2iWpqjeMqpsQScYBheWHC3fs8Fe",
                "confirmations": 5,
                "date": 1522745402,
                "dst": "27nwx2aeKNsDxvmSzBiraD9uSNCxFPgVFJWh3BRseHUArexvsDNECGcBH6tDY843ZpwRmVX1YzPSxxPeHiQP5WU7",
                "fee": "0.00851352",
                "height": 31618,
                "id": "2adBZ7PvVCoVe9TeKvXzmxEBDapK1o1wJ43CFH3JMpvq2WGtFT2vVfvm1GFLXwJHAQJ2EDNgctjtGKqCVLKnK59T",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "AN1rKosygMk6N3R6a4vHp6WWXTfX9LbyDVUNLR8Gg5yfSjQTkCbpJqbHbfDHQBzeJgHFSgkPJA5khEB39p1yFYFwJKHpAFxai",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "credit",
                "val": "3.40540930",
                "version": 1
            },
            {
                "block": "5iLfZhHx7bojpNumhWP4tLWtehuiAsBPCkXnucB6Q42xS7Fwyp8k6s4HL5hCmoTkYG4hix7ESYRkKXs8UWkUMGGv",
                "confirmations": 28,
                "date": 1522741801,
                "dst": "27nwx2aeKNsDxvmSzBiraD9uSNCxFPgVFJWh3BRseHUArexvsDNECGcBH6tDY843ZpwRmVX1YzPSxxPeHiQP5WU7",
                "fee": "0.00841874",
                "height": 31595,
                "id": "4Lrbq83egwmcD9fSG6rhBGAW4GMqZnWRYAaEPv5677iL3j2B1DLGr9EPwJKr7cmTJbLB1KDEKphBmxizUzaFBfkh",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "AN1rKrzcbLCoRxF9PTbSmgbJ2J5d1F8hQpWPU8zycjUujTirwYGpjwMWbs1ptJsq4yCTNY4hYrbER16KjgAoPUdsc4bQHQFxU",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "credit",
                "val": "3.36749654",
                "version": 1
            },
            {
                "block": "2UwNZj8axV5b5jxV519VQipcUvDc9Kk8qqWcwHs6t2G2ykmeX32kdTacWboz3n7upEvAoABLhJpbL8E5TjbYP4mZ",
                "confirmations": 49,
                "date": 1522737002,
                "dst": "27nwx2aeKNsDxvmSzBiraD9uSNCxFPgVFJWh3BRseHUArexvsDNECGcBH6tDY843ZpwRmVX1YzPSxxPeHiQP5WU7",
                "fee": "0.00920080",
                "height": 31574,
                "id": "xeh5rBgu8kNYeCsdffxvhQD9FaDRZ3Zm6zRd4NKSXEdJb45U9p7cbu2gNZT9QvYFvJfiDKAJjRboDba1aVLK8H5",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "iKx1CJLaYxQW6Mc155Laz28pZmpPFMiHTjyTh6MMbNBqiLQDjwc3FSvvjwru8Wr2y34MQLK2Veq7bvk5XP5pVTKUNrGDYRQpa8",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "credit",
                "val": "3.68032129",
                "version": 1
            },
            {
                "block": "5mP1pBqsh4Lhg1mg9EJyQMtsX4JC7thAZBR2ovpwxqecFuUAJMhNEC792nHanH4V1aEmELNGaez1UUF6j4C2Gnxd",
                "confirmations": 75,
                "date": 1522732202,
                "dst": "27nwx2aeKNsDxvmSzBiraD9uSNCxFPgVFJWh3BRseHUArexvsDNECGcBH6tDY843ZpwRmVX1YzPSxxPeHiQP5WU7",
                "fee": "0.00759991",
                "height": 31548,
                "id": "2kfsQwnQdWwweX8vjNggsgQkHWr2UGBGbddpMcSuZJQvM9Mb4jNgKjELvzGcMSNBpDpmd94ZU45yqzQ25WHcKDet",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "381yXYoexLESRKS8UGQDWu6scnGKa8JV487ogmFPYPUq4DDQTWVKNsYWKiUZEoTnVwhEv4V5UJyY7n4FFNoXQ7tMu8mga6ED",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "credit",
                "val": "3.03996594",
                "version": 1
            },
            {
                "block": "3u7rRjgMKBYBiw9W5MfGeRRAH154L1gsR6Vz5gaoVZxL4JbHaAorR7Er9REdXqv5EDw7KC5NTkVQo2ExsfCGGviG",
                "confirmations": 95,
                "date": 1522726801,
                "dst": "27nwx2aeKNsDxvmSzBiraD9uSNCxFPgVFJWh3BRseHUArexvsDNECGcBH6tDY843ZpwRmVX1YzPSxxPeHiQP5WU7",
                "fee": "0.00775220",
                "height": 31528,
                "id": "4kdfdPDf3NjXwp5u4gBxupfm189acvSoUbRnfqQPW8k6Yi71jfotQMnWkfyiYSrJfrHKkW7JGnMwZHNA44S9Ufiq",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "AN1rKoQjbFcSYmW4vJ4fHtuXB7JGnoPr99qNMtZ3L3tyjuD5Y8D6PycypmBZFuCq4oJFULaVmTj3s2Pak9NH4cXwucB99WQzW",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "credit",
                "val": "3.10087964",
                "version": 1
            }
        ],
        "coin": "arionum"
    }

 

getTransaction

  • $url = 'http://peer1.arionum.com/api.php?q=getTransaction&transaction={Transaction ID}';
    
    // set of curl options
    $options = array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERAGENT => "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    );
    $curl = curl_init(); // initialize curl
    curl_setopt_array($curl, $options); // setting the curl options array
    $response = curl_exec($curl); // execute curl
    curl_close($curl); // dismiss curl action

Sample Response:

  • {
        "status": "ok",
        "data": {
            "block": "5iLfZhHx7bojpNumhWP4tLWtehuiAsBPCkXnucB6Q42xS7Fwyp8k6s4HL5hCmoTkYG4hix7ESYRkKXs8UWkUMGGv",
            "confirmations": 40,
            "date": 1522741801,
            "dst": "27nwx2aeKNsDxvmSzBiraD9uSNCxFPgVFJWh3BRseHUArexvsDNECGcBH6tDY843ZpwRmVX1YzPSxxPeHiQP5WU7",
            "fee": "0.00841874",
            "height": 31595,
            "id": "4Lrbq83egwmcD9fSG6rhBGAW4GMqZnWRYAaEPv5677iL3j2B1DLGr9EPwJKr7cmTJbLB1KDEKphBmxizUzaFBfkh",
            "message": null,
            "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
            "signature": "AN1rKrzcbLCoRxF9PTbSmgbJ2J5d1F8hQpWPU8zycjUujTirwYGpjwMWbs1ptJsq4yCTNY4hYrbER16KjgAoPUdsc4bQHQFxU",
            "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
            "type": "debit",
            "val": "3.36749654",
            "version": 1
        },
        "coin": "arionum"
    }

 

getPublicKey

  • $url = 'http://peer1.arionum.com/api.php?q=getPublicKey&account={Account ID | Address}';
    
    // set of curl options
    $options = array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERAGENT => "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    );
    $curl = curl_init(); // initialize curl
    curl_setopt_array($curl, $options); // setting the curl options array
    $response = curl_exec($curl); // execute curl
    curl_close($curl); // dismiss curl action

Sample Response:

  • {
        "status": "ok",
        "data": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCxgwbY1p9apZg5DeBn1BFU5HepERfhaQey9zG9X4PqE8CAw5du93YMzXbdExGyPeRSt1koR2tpjj4NTqwV79tdcWk",
        "coin": "arionum"
    }

 

currentBlock

  • $url = 'http://peer1.arionum.com/api.php?q=currentBlock';
    
    // set of curl options
    $options = array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERAGENT => "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    );
    $curl = curl_init(); // initialize curl
    curl_setopt_array($curl, $options); // setting the curl options array
    $response = curl_exec($curl); // execute curl
    curl_close($curl); // dismiss curl action

Sample Response:

  • {
        "status": "ok",
        "data": {
            "id": "2tMLYKPwqGLMwWFCrC6At4Y9LY9UDLxA8kLKfNXpYi3gZDisPUB8ck44gaovRACXCKRCNUf6JYkR7TyLvWoe29Be",
            "generator": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
            "height": 31897,
            "date": 1522812867,
            "nonce": "YPC1lCNnNZ9euhIAVGLN0agB4sde7GxOfLHHUE8pW7",
            "signature": "381yXZ3CTYGiR9Qm6ePwANqaWta8J143pX8YSGyA2UuDEDoh7omVUgADfnzZmubLDGAWhmHsjA86qPoWoZiT7ZW56DZPZwU3",
            "difficulty": "24241784",
            "argon": "$cDA5amEwQ1VQYURxSUdLKw$aJSYnjU8kULFQ3MVaqY0D9QJmB5zlTn3e6DBB9pbjLs",
            "transactions": 100
        },
        "coin": "arionum"
    }

 

getBlock

  • $url = 'http://peer1.arionum.com/api.php?q=getBlock&height={Height}';
    
    // set of curl options
    $options = array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERAGENT => "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    );
    $curl = curl_init(); // initialize curl
    curl_setopt_array($curl, $options); // setting the curl options array
    $response = curl_exec($curl); // execute curl
    curl_close($curl); // dismiss curl action

 

Sample Response:

  • {
        "status": "ok",
        "data": {
            "id": "2ao5BzRe17eBNKu9SS55RtRbsUuUDdAuvmpKPFwJtjSWBX3oZCJtSTNp8vFnChd64TYMdocPrpzvCRYUfin6wGXy",
            "generator": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
            "height": 31896,
            "date": 1522812497,
            "nonce": "B7mfyjLSmKhS94bodBgRHn9mUGFWAHgFHDljzjyCjS",
            "signature": "381yXZVX9UhPJTvFjJ88MsJH9WZcpx7bEvznAmFdMQ2bDpWQmZanyiwWR1uAs42RyqqLp4Aj1DGAi178oWA3zNQJMLDXnuXe",
            "difficulty": "25517668",
            "argon": "$aXM2bXFsS2szTmE5dUQ5bw$IKSKzx5lt/J2RpTbPA+n5S0AbC7GOy4To27MsaD4Ras",
            "transactions": 0
        },
        "coin": "arionum"
    }

 

getBlockTransactions

  • $url = 'http://peer1.arionum.com/api.php?q=getBlockTransactions&height={Height}&block={Block ID}';
    
    // set of curl options
    $options = array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERAGENT => "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    );
    $curl = curl_init(); // initialize curl
    curl_setopt_array($curl, $options); // setting the curl options array
    $response = curl_exec($curl); // execute curl
    curl_close($curl); // dismiss curl action

Sample Response:

  • {
        "status": "ok",
        "data": [
            {
                "block": "5DChnPah97jtSwz2js92Z3M3QyiE8ARZA7QdrgAP9uj5F2Uh6J1irLYEaTCvYYwLGeteqYcG3kUr5xWKLdT7imPs",
                "confirmations": 9,
                "date": 1522811404,
                "dst": "37WULuPEkLoYcLE8uqEW8s9D1ZQu4LDFMTqRRoVpimwia796zeC83x2eWrbPPf2WBMH5rEoRrPE5AmERx39ZELZY",
                "fee": "0.00878474",
                "height": 31889,
                "id": "2JHFtw7scVsmGXu6uJ1DcStimhqJ5PkaAvWAmCcm1GugHb4e5eFR5CM9i7irXiibrKyqvgtcZWnEmueCxk59tgUK",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "AN1rKvtmWoD6iBrA291SGw5RyDpjp2j4VmjrztwsYJxCXizvuqEbrqqcQqeEuvuVu6PwKms8t41StFe88c8DwqKGaDpUecKuo",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "debit",
                "val": "3.51389405",
                "version": 1
            },
            {
                "block": "5DChnPah97jtSwz2js92Z3M3QyiE8ARZA7QdrgAP9uj5F2Uh6J1irLYEaTCvYYwLGeteqYcG3kUr5xWKLdT7imPs",
                "confirmations": 9,
                "date": 1522811405,
                "dst": "3gjcUiWoNNinNvb7EXVg4rSjLmWJxMNzRSe3sE5HzYSRrrxvn3S87D6maxYHt8sqW3KWGRZAHH7C4E4HLsepcYsm",
                "fee": "0.00759893",
                "height": 31889,
                "id": "2L1zxPB2vcWaNgzFPackmDC8MDXPtcHtWRNyfDgaXS2QPdALKjUWhuUEY5BzZK11tSXUnVpCTQuTNm5qEZ38zdAN",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "381yXZ2XdDUn7T1hrrQyEipTz1Rkx4zAagquJ5BXToj4JPFd3QKBjq3SKVWfsziKPWei3WNvNuY2egCXXuN5aPZE9C2yooYm",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "debit",
                "val": "3.03957009",
                "version": 1
            },
            {
                "block": "5DChnPah97jtSwz2js92Z3M3QyiE8ARZA7QdrgAP9uj5F2Uh6J1irLYEaTCvYYwLGeteqYcG3kUr5xWKLdT7imPs",
                "confirmations": 9,
                "date": 1522811412,
                "dst": "yQ3DYZjBWTVxLLSAYcqwSimMwd4y9pGWJC7p76j6BYscbJ8tJeqaDBmx3AmgYypovMTrXPwcfMXGjZxx2AqbYDy",
                "fee": "0.00780104",
                "height": 31889,
                "id": "2d1C4ZCMGhFFgScUp8XzpWKm3b82ftcyKxUHeutpmUBm6xSu7Ev7wEKdaFsjAcjSRA3Q1Jyg2eFZa1X3cU4oa4es",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "AN1rKrEtnQNCoK6wgv7nm1krzn8hCNkc1pdau6T6Dm9oYcHSiobHZF3BvUQP9wvUwHUgjsnoJbyFwExBqZpvk47yNsYkFNaCh",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "debit",
                "val": "3.12041429",
                "version": 1
            },
            {
                "block": "5DChnPah97jtSwz2js92Z3M3QyiE8ARZA7QdrgAP9uj5F2Uh6J1irLYEaTCvYYwLGeteqYcG3kUr5xWKLdT7imPs",
                "confirmations": 9,
                "date": 1522811403,
                "dst": "2bwkQpU6LNrs4E7BeBBHwZwT9ZHXeYQgfNLre8j8axJyyUZ7gvaTEn86zz47tZR5H1nScKp19ycTc87iM2UmibFt",
                "fee": "0.01053136",
                "height": 31889,
                "id": "4EqDiPCJziL8wrxLHUnZ5ueqqujNzhbma6W1TDvBnG3EKGN2Kz1YPVfmFL1HLkbLV2VGmGpcm5yaUYYGzqPN4FmD",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "iKx1CJNoY7qzywezry7zZXkGeJLzzaf9jVJjDpNN9kK9Vu7GrrzebZvxC5GX7bDc6rigNqcFXG48JRz3FP8D5rzmf3F9FxMwnB",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "debit",
                "val": "4.21254202",
                "version": 1
            },
            {
                "block": "5DChnPah97jtSwz2js92Z3M3QyiE8ARZA7QdrgAP9uj5F2Uh6J1irLYEaTCvYYwLGeteqYcG3kUr5xWKLdT7imPs",
                "confirmations": 9,
                "date": 1522811407,
                "dst": "4jq2a1LpeExBeMNNCbNCvZZ9TExVmQh6Hmrdbb2C7mNeVFmyMjdtQBDn9bRKGeChrLwMq88sEN4BMYPA29UU73yd",
                "fee": "0.00760767",
                "height": 31889,
                "id": "4XkpyoPmwEhWeo5CBmhXTjPhteCVBtD6KfSeKuo1VUi99AWPh1nY44MQuNHV4YUMoCxrg2WvrRbVR5oLKMo9uLLG",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "381yXYuwuULwsveCYbQh3JCcCxTjnmYuPmfMkyR8zYD7WKfWQQzscShbwYKcqcexJ4xoqL6UEDyuVMkcPGNLMQYYxvqTJakM",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "debit",
                "val": "3.04306659",
                "version": 1
            },
            {
                "block": "5DChnPah97jtSwz2js92Z3M3QyiE8ARZA7QdrgAP9uj5F2Uh6J1irLYEaTCvYYwLGeteqYcG3kUr5xWKLdT7imPs",
                "confirmations": 9,
                "date": 1522811403,
                "dst": "2dzV8Rcw1mfSjZVcG2MUnTWUeCzUuyJ4mJCQrEGqd5h5LsB6RuuRaUY2neGsYQ5Dvb53E46GD53LBJpnohSYHMwV",
                "fee": "0.00748854",
                "height": 31889,
                "id": "4iMeuvnJ8SYqDSkm72mwQaq5o8k9cYPRG9UsBfCixu7ZJxuDQJ9tJyEVYb3wUs7qDNPQRuuAVKDXerkjoDm36ywR",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "381yXZ6kaoCNxYSrijb1Z9YALYiwz53G41xGhAuy5wcMvWHnvCQj6mHTLo71SLWExz2wEic8UiJbNA1nxaHwjnMaRG7Tiy1y",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "debit",
                "val": "2.99541447",
                "version": 1
            },
            {
                "block": "5DChnPah97jtSwz2js92Z3M3QyiE8ARZA7QdrgAP9uj5F2Uh6J1irLYEaTCvYYwLGeteqYcG3kUr5xWKLdT7imPs",
                "confirmations": 9,
                "date": 1522811406,
                "dst": "3tBcSjU9sTey6owM9dTuPXkNwPKho7WLaYproaTgSKcu14hvbzvTFJMWVY6MYwspcyrDQLEJvxsqqRHbj5JHz9cR",
                "fee": "0.00957529",
                "height": 31889,
                "id": "54UEkFH8fE8CDqjqGYWjVW8KVeSYNybC533ubUoNeTZxc76NAHK6RVNMm95BM3gknjTogWzon71YQo2bxEh9F4b6",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "iKx1CJNRynt5VpN95DqExMe6B1UcejurmwtEWHbB6aJ3Sy5YFJ9teNaAZt6MA4a8ESe5pKXpcC9tRSDkSdS63Dk3VcKCdrS7Vp",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "debit",
                "val": "3.83011435",
                "version": 1
            },
            {
                "block": "5DChnPah97jtSwz2js92Z3M3QyiE8ARZA7QdrgAP9uj5F2Uh6J1irLYEaTCvYYwLGeteqYcG3kUr5xWKLdT7imPs",
                "confirmations": 9,
                "date": 1522811411,
                "dst": "NSaz3bXxrPLzX9oVQsvJ5tp9JuXSfF98kjzwqaktP31VXUh5jRc5RcFKMJpqNiBkWQbjRgS7yEmePtbdDDdBh9U",
                "fee": "0.00865824",
                "height": 31889,
                "id": "5QQzpMUrM7Lng9sCCRuuZqowgY3hxjXZtq3t22j5ZYrwrwhnssdhbW8Aan8zNUuHVB9vCDf21JbBb5xnZSXv2c6p",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "AN1rKvtGQuiorQdzQ9mYMzJTWzeWwfFVzZd7RfjWQe5qMuwCgrhGUqaXN5N9YbbKKoewKpzMg9z5eo5XetyPaxVR5ikUMBE7y",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "debit",
                "val": "3.46329412",
                "version": 1
            },
            {
                "block": "5DChnPah97jtSwz2js92Z3M3QyiE8ARZA7QdrgAP9uj5F2Uh6J1irLYEaTCvYYwLGeteqYcG3kUr5xWKLdT7imPs",
                "confirmations": 9,
                "date": 1522811403,
                "dst": "2UxAnWzXpJZXQn7mwLfQuVP36JqjzsHVCJeWeQjqApQ77U4sbEJJbzhw5eo9ip9V4sdxPUnij9myVdWFg1f7Cbgo",
                "fee": "0.00779491",
                "height": 31889,
                "id": "5Vn3UWZq9hUQHcwDArzJxBLNJp8VVMKo2NtkhN6JYknjk9m27sJ5f1UZ2mv6SJ8WAGQqvRr4PrSwwFoQzcD5ay9u",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "AN1rKocZsqbQe9doL9LduQQQ7DUrRBejHNiQ3Ecr9JUcjtDMpEoMEtFc5uLLogQVf7GWkUX9fwBGYdH9XSwck9yDegaQTb7ND",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "debit",
                "val": "3.11796260",
                "version": 1
            },
            {
                "block": "5DChnPah97jtSwz2js92Z3M3QyiE8ARZA7QdrgAP9uj5F2Uh6J1irLYEaTCvYYwLGeteqYcG3kUr5xWKLdT7imPs",
                "confirmations": 9,
                "date": 1522811411,
                "dst": "ZhcRwYUn1BmKhbaCyMTdBrUarEqpFbNvpkni6yCkX7KZAG1e9iFv2WzyxMfFoc43a2pzrhTbcGWUk4D1gP36YAi",
                "fee": "0.00987030",
                "height": 31889,
                "id": "FpCChBCpgG2CY8cCM182jCRiYMhXFbs6393WYKMf9jV5sVhDFrjN96cFDqZv3wmkqfX1PomstvFuAgjRQ31MiSE",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "381yXZ7BTNvAmGd25BzTHuNSJ8T71P8CTAwgi9sBbtyXVV9wRFf2v8kvrd1RoA4EPPSkTrpWC8YcMuX2MW9qqZH8eC9iAnwJ",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "debit",
                "val": "3.94811817",
                "version": 1
            },
            {
                "block": "5DChnPah97jtSwz2js92Z3M3QyiE8ARZA7QdrgAP9uj5F2Uh6J1irLYEaTCvYYwLGeteqYcG3kUr5xWKLdT7imPs",
                "confirmations": 9,
                "date": 1522811408,
                "dst": "5FMW6W1TJfEn8KfFWePS135ktrgrvNUNWEMtfNRy72tGsWiQeaxziKwA7FA2ifRPHaS6De8eJjfcQfeyRmPY9KT9",
                "fee": "0.00807331",
                "height": 31889,
                "id": "rUb1RMgcdSV9NF7QH94qwRwSTQrEB8eogired9JGaP8TSstvoWCxps1DsSQeVts5HdrrFfX9SDCkoMo2GmCmMK1",
                "message": null,
                "public_key": "PZ8Tyr4Nx8MHsRAGMpZmZ6TWY63dXWSCy7AEg3h9oYjeR74yj73q3gPxbxq9R3nxSSUV4KKgu1sQZu9Qj9v2q2HhT5H3LTHwW7HzAA28SjWFdzkNoovBMncD",
                "signature": "381yXZCggmuSLnp1sBvg8JuMYkVorDc3WQGmKSbHuD9sj7rF69uU3MhaXz8xqcAfJf2UQmkQLNnBgoG7FZ9Aw13MDdhTPz7v",
                "src": "5ADfrJUnLefPsaYjMTR4KmvQ79eHo2rYWnKBRCXConYKYJVAw2adtzb38oUG5EnsXEbTct3p7GagT2VVZ9hfVTVn",
                "type": "debit",
                "val": "3.22932214",
                "version": 1
            }
        ],
        "coin": "arionum"
    }

 

version

  • $url = 'http://peer1.arionum.com/api.php?q=version';
    
    // set of curl options
    $options = array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERAGENT => "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    );
    $curl = curl_init(); // initialize curl
    curl_setopt_array($curl, $options); // setting the curl options array
    $response = curl_exec($curl); // execute curl
    curl_close($curl); // dismiss curl action

Sample Response:

  • {
        "status": "ok",
        "data": "0.2b",
        "coin": "arionum"
    }

 

mempoolSize

  • $url = 'http://peer1.arionum.com/api.php?q=mempoolSize';
    
    // set of curl options
    $options = array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERAGENT => "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    );
    $curl = curl_init(); // initialize curl
    curl_setopt_array($curl, $options); // setting the curl options array
    $response = curl_exec($curl); // execute curl
    curl_close($curl); // dismiss curl action

Sample Response:

  • {
        "status": "ok",
        "data": 38,
        "coin": "arionum"
    }



                  

Leave a Reply

Your email address will not be published. Required fields are marked *