BTNS API - Batches BTNS API
Method Endpoint Returns
GET /api/batches/{address},{block} Returns list of BATCH transactions
Return Values
Value Type Description
data Array BATCH data
block_index Integer Block number containing the transaction
source String The address that did the BATCH action
status String Status of the transaction
timestamp Integer A UNIX timestamp of when the transaction was processed by the network
tx_hash String Transaction Hash
tx_index Integer Transaction Index
total Integer Total number of BATCH transactions
Example Response
{
  "data": [
    {
      "block_index": 2581561,
      "source": "tb1q7gyk2ccu2yt82fqsnllne5t2zlttvangu2sz7q",
      "status": "invalid: ACTION (unknown)",
      "timestamp": 1710213012,
      "tx_hash": "6bf973a96cf7ce42729e816ff1073d40f6677d9ba7663422c0321be2b896a69c",
      "tx_index": 516
    },
    {
      "block_index": 2581531,
      "source": "tb1q50kxp76j9l0k9jgwasvcz4mcz0v03fv2wj67a4",
      "status": "valid",
      "timestamp": 1710196860,
      "tx_hash": "f6dec97612a40bf275cfc6c0fc309fbee5b4cc328d6fa8d4c7c0782bc8332d1a",
      "tx_index": 515
    }
  ],
  "total": 2
}