âŦ›DEVELOPER API

Draft of API Responses

Proposed Payload (random data) of primary endpoint to return most data regarding a pair of assets (.PLOT / $PLOT)

{
  "assetPair": [
    {
      "namespace": ".plot",
      "namespaceDeploymentID": "2198e9dfd0846b786a6fa90cec3604d7c28792ff26a24c91b8cdf3a450f6fc5fi0",
      "token": "plot",
      "tokenDeploymentID": "4f85f1d3e7b78bfa431edd8e61ae2c06c045bdee908ee83c4caba52ec84a8cb3i0",
      "tokenProtocol": "BRC-20",
      "associationKey": "block"
    }
  ],
  "block": 210000,
  "date": "2014-06-25T00:00:00.000Z",
  "inscriptionData": {
    "tokensMinted": 12123654,
    "tokenMintTXS": 4345,
    "blockClaimTXS": 2489,
    "tokenHolders": 250,
    "addresses": [
      {
        "address": "bc12345",
        "blockBalance": 3500,
        "totalBalance": 5000,
        "tokenMintTXS": 5,
        "tokenTransferTXS": 1,
        "marketActivity": [
          {
            "txType": "transfer",
            "direction": "out",
            "amount": 250,
            "to": "bc1pxzq7e8lnyvatn400s...",
            "date": "2023-07-02T21:30:43.293Z",
            "txid": "55efd17fd75c58f6f369e8212102dc02d8983c6981620cdd0df5d054bdbf14fci0"
          },
          {
            "txType": "transfer",
            "direction": "out",
            "amount": 5,
            "to": "bc1pxzq7e8lnyvatn400s...",
            "date": "2023-07-02T21:30:43.294Z",
            "txid": "55efd17fd75c58f6f369e8212102dc02d8983c6981620cdd0df5d054bdbf14fci0"
          },
          {
            "txType": "transfer",
            "direction": "in",
            "amount": 15,
            "from": "bc1pxzq7e8lnyvatn400s...",
            "date": "2023-07-02T21:30:43.294Z",
            "txid": "55efd17fd75c58f6f369e8212102dc02d8983c6981620cdd0df5d054bdbf14fci0"
          }
        ]
      },
      {
        "address": "bc54321",
        "blockBalance": 1000,
        "totalBalance": 5000,
        "tokenMintTXS": 1,
        "tokenTransferTXS": 0,
        "marketActivity": [
          {
            "txType": "transfer",
            "direction": "in",
            "amount": 120,
            "from": "bc1pxzq7e8lnyvatn400s",
            "date": "2023-07-02T21:30:43.294Z",
            "txid": "55efd17fd75c58f6f369e8212102dc02d8983c6981620cdd0df5d054bdbf14fci0"
          }
        ]
      }
    ],
    "assetBlockData": {
      "blockNumber": 210000,
      "hash": "0000000000000000000a558a61b7f979907ee9f9195f09f4be44842bc59ad36d",
      "confirmations": "536069",
      "strippedsize": "976259",
      "weight": "3993150",
      "height": "210000",
      "version": "1073733632",
      "merkelroot": "bbb2808bbfa8d5f8bdbc9f78dfadc4e1784bbf9b1a76e9b63c3a25a2f2872c16",
      "totalTXS": 3134,
      "transactionIDs": [
        "60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1",
        "50a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1",
        "40a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1",
        "30a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1"
      ],
      "nonce": 2302182970,
      "mediantime": 1589221445,
      "time": 1589223250,
      "bits": 387687377,
      "difficulty": 16104807485529.77,
      "chainwork": "000000000000000000000000000000000000000010446cb2a5e980a5a2a79433",
      "previousHash": "00000000000000000000000000000000",
      "nextHash": "00000000000000000000000000000000"
    }
  }
}

Last updated