Block Routes

get latest block #

GET /latest_block

Get block information from the latest block

Example https://masternode-01.lamden.io/latest_block

JSON response #

{
  "hash": "ee5cb35d6b2cf1521f36c74272d3585a80651654209cd9d551af5ec791051c7c",
  "number": 1376,
  "previous": "cfc03a5b34187cd5e71cdd0b058e63b1a9858ed41a2310b230a3f89cc8c3d79d",
  "subblocks": [
    {
      "input_hash": "aff0f58a722fcf1d886d7bd6159237e82011bc119337f24d4c4a8902750a27fd",
      "merkle_leaves": [
        "12e177b715c06a39b7ac547024b7a9fbd1688dbfd7e97c6cd9c4f1e047bfd731"
      ],
      "signatures": [
        {
          "signature": "fad95c91b396aa16d0cb5e835ab54e02fda3eceee701f2b40d6330908287643036d94089a7226b9637a3e79d2c9ae556484e5b1d8fea81f90a4bfc69dc970809",
          "signer": "207c4da519414b5330df945c3c5405ba6e0a7b6ddf576256cb6f6aca43b8a8ee"
        },
        {
          "signature": "fef7889d2751625294bb7796840913036941fee2bb8c2b7ca83e369145bc0c5d575b2bdcd82e2865ca706cb4610202f5b3dd170a9f8757b64190859d52a35400",
          "signer": "555100f02ef3bdc469e866140c35955e137624f4a1284bbcb999cd7fb576c869"
        },
        {
          "signature": "c54cd4bb68733597da1e36ac7dffddcd849aac1aeacbc04fc799edbefd329064fa0e23e4c24aa30cc40039e520085abe0dec44a8f92a09d09916a83cb96d5906",
          "signer": "b0fc27299da14bc08834df9c70d73074f3e511a5a91321d4fa413f3401144918"
        }
      ],
      "subblock": 0,
      "transactions": [
        {
          "hash": "0635f6bb38f9a807d2f4dd00723dfa80ff248593f5223cd5c3058645ac624329",
          "result": "None",
          "stamps_used": 19,
          "state": [
            {
              "key": "currency.balances:0000803efd5df09c75c0c6670742db5074e5a011b829dfd8a0c50726d263a345",
              "value": {
                "__fixed__": "272976757.20050000"
              }
            },
            {
              "key": "currency.balances:3fa3da8a3dc59e712c3039f3811bfae52ed2fcb17dbeef62f555bd993ef9cfc2",
              "value": 1
            }
          ],
          "status": 0,
          "transaction": {
            "metadata": {
              "signature": "6f24ef39426e9823ce53a7582a936e1de2b70acd0e2f4882a901aaff3c31c36575e952f631be749b9156c0ab6a2e5ba8c400d64ed76eb630e07bc9f70fd37c05",
              "timestamp": 1601337869
            },
            "payload": {
              "contract": "currency",
              "function": "transfer",
              "kwargs": {
                "amount": 1,
                "to": "3fa3da8a3dc59e712c3039f3811bfae52ed2fcb17dbeef62f555bd993ef9cfc2"
              },
              "nonce": 16,
              "processor": "5b09493df6c18d17cc883ebce54fcb1f5afbd507533417fe32c006009a9c3c4a",
              "sender": "0000803efd5df09c75c0c6670742db5074e5a011b829dfd8a0c50726d263a345",
              "stamps_supplied": 100
            }
          }
        }
      ]
    },
    {
      "input_hash": "aff0f58a722fcf1d886d7bd6159237e82011bc119337f24d4c4a8902750a27fd",
      "merkle_leaves": [
        "aa0a20ded6256455ff0d7de0bd4dec43087ccff491b66174a862ca1b536601f0"
      ],
      "signatures": [
        {
          "signature": "e6cd3738d8c35e0c22ebf96f8bb40b9cdcfa01c23d998689e9e2ed550f880aa74dd83ccfe61801fea054636fe7d4434eb82b4890cbe9bd7957aacdb174de0501",
          "signer": "207c4da519414b5330df945c3c5405ba6e0a7b6ddf576256cb6f6aca43b8a8ee"
        },
        {
          "signature": "6989989dbfb0ce80a01b35f00157a7de058cd5f866ad79d0c7b6fb32cd6b70f0e408ff7bd283e13eb0c63a0784269ef563370bc9a9441d0220fa4e4552aff20c",
          "signer": "555100f02ef3bdc469e866140c35955e137624f4a1284bbcb999cd7fb576c869"
        },
        {
          "signature": "9adf1eb0898c9dde1344ca809f543212aea367ede9a51dcbdf6e9d8963bcee2a1eb84cd74f266d8a487557c31a44ca9452f7e2ab8f3d134b94c9800703828b08",
          "signer": "b0fc27299da14bc08834df9c70d73074f3e511a5a91321d4fa413f3401144918"
        }
      ],
      "subblock": 1,
      "transactions": [
        
      ]
    }
  ]
}

get latest block number #

GET /latest_block_num

Get the lastest block number

Example https://masternode-01.lamden.io/latest_block_num

JSON response #

{
    "latest_block_number": 3239
}

get latest block hash #

GET /latest_block_hash

Get the hash of the latest block

Example https://masternode-01.lamden.io/latest_block_hash

JSON response #

{
    "latest_block_hash": "dedf038aa5c349f66a5101780cf99a18f252d7a219fd8693898bdaec9d8f35a7"
}

get specific block details #

GET /blocks?num=:block_num

Get information from a specific block

Example https://masternode-01.lamden.io/blocks?num=1376

JSON response# #

{
  "hash": "ee5cb35d6b2cf1521f36c74272d3585a80651654209cd9d551af5ec791051c7c",
  "number": 1376,
  "previous": "cfc03a5b34187cd5e71cdd0b058e63b1a9858ed41a2310b230a3f89cc8c3d79d",
  "subblocks": [
    {
      "input_hash": "aff0f58a722fcf1d886d7bd6159237e82011bc119337f24d4c4a8902750a27fd",
      "merkle_leaves": [
        "12e177b715c06a39b7ac547024b7a9fbd1688dbfd7e97c6cd9c4f1e047bfd731"
      ],
      "signatures": [
        {
          "signature": "fad95c91b396aa16d0cb5e835ab54e02fda3eceee701f2b40d6330908287643036d94089a7226b9637a3e79d2c9ae556484e5b1d8fea81f90a4bfc69dc970809",
          "signer": "207c4da519414b5330df945c3c5405ba6e0a7b6ddf576256cb6f6aca43b8a8ee"
        },
        {
          "signature": "fef7889d2751625294bb7796840913036941fee2bb8c2b7ca83e369145bc0c5d575b2bdcd82e2865ca706cb4610202f5b3dd170a9f8757b64190859d52a35400",
          "signer": "555100f02ef3bdc469e866140c35955e137624f4a1284bbcb999cd7fb576c869"
        },
        {
          "signature": "c54cd4bb68733597da1e36ac7dffddcd849aac1aeacbc04fc799edbefd329064fa0e23e4c24aa30cc40039e520085abe0dec44a8f92a09d09916a83cb96d5906",
          "signer": "b0fc27299da14bc08834df9c70d73074f3e511a5a91321d4fa413f3401144918"
        }
      ],
      "subblock": 0,
      "transactions": [
        {
          "hash": "0635f6bb38f9a807d2f4dd00723dfa80ff248593f5223cd5c3058645ac624329",
          "result": "None",
          "stamps_used": 19,
          "state": [
            {
              "key": "currency.balances:0000803efd5df09c75c0c6670742db5074e5a011b829dfd8a0c50726d263a345",
              "value": {
                "__fixed__": "272976757.20050000"
              }
            },
            {
              "key": "currency.balances:3fa3da8a3dc59e712c3039f3811bfae52ed2fcb17dbeef62f555bd993ef9cfc2",
              "value": 1
            }
          ],
          "status": 0,
          "transaction": {
            "metadata": {
              "signature": "6f24ef39426e9823ce53a7582a936e1de2b70acd0e2f4882a901aaff3c31c36575e952f631be749b9156c0ab6a2e5ba8c400d64ed76eb630e07bc9f70fd37c05",
              "timestamp": 1601337869
            },
            "payload": {
              "contract": "currency",
              "function": "transfer",
              "kwargs": {
                "amount": 1,
                "to": "3fa3da8a3dc59e712c3039f3811bfae52ed2fcb17dbeef62f555bd993ef9cfc2"
              },
              "nonce": 16,
              "processor": "5b09493df6c18d17cc883ebce54fcb1f5afbd507533417fe32c006009a9c3c4a",
              "sender": "0000803efd5df09c75c0c6670742db5074e5a011b829dfd8a0c50726d263a345",
              "stamps_supplied": 100
            }
          }
        }
      ]
    },
    {
      "input_hash": "aff0f58a722fcf1d886d7bd6159237e82011bc119337f24d4c4a8902750a27fd",
      "merkle_leaves": [
        "aa0a20ded6256455ff0d7de0bd4dec43087ccff491b66174a862ca1b536601f0"
      ],
      "signatures": [
        {
          "signature": "e6cd3738d8c35e0c22ebf96f8bb40b9cdcfa01c23d998689e9e2ed550f880aa74dd83ccfe61801fea054636fe7d4434eb82b4890cbe9bd7957aacdb174de0501",
          "signer": "207c4da519414b5330df945c3c5405ba6e0a7b6ddf576256cb6f6aca43b8a8ee"
        },
        {
          "signature": "6989989dbfb0ce80a01b35f00157a7de058cd5f866ad79d0c7b6fb32cd6b70f0e408ff7bd283e13eb0c63a0784269ef563370bc9a9441d0220fa4e4552aff20c",
          "signer": "555100f02ef3bdc469e866140c35955e137624f4a1284bbcb999cd7fb576c869"
        },
        {
          "signature": "9adf1eb0898c9dde1344ca809f543212aea367ede9a51dcbdf6e9d8963bcee2a1eb84cd74f266d8a487557c31a44ca9452f7e2ab8f3d134b94c9800703828b08",
          "signer": "b0fc27299da14bc08834df9c70d73074f3e511a5a91321d4fa413f3401144918"
        }
      ],
      "subblock": 1,
      "transactions": [
        
      ]
    }
  ]
}
Updated on February 3, 2021