---
title: "The last ten blocks"
method: GET
path: "/latest_blocks_summary/{network}"
tags: ["Blocks"]
---

# The last ten blocks

`GET /latest_blocks_summary/{network}`

## Request

- Base URL: `https://sochain.com/api/v3`
- URL: `https://sochain.com/api/v3/latest_blocks_summary/{network}`
- Auth: one of:
  - none
  - API key in header `API-KEY`
  - API key in query parameter `api_key`

Newest first, with miner address and reward plus fees.

## Path parameters

- `network` 'BTC' | 'LTC' | 'DOGE' | 'ZEC' | 'BTCTEST' | 'LTCTEST' | 'DOGETEST' | 'ZECTEST', required

## Query parameters

- `currency` 'AUD' | 'BRL' | 'CAD' | 'CHF' | 'CNY' | 'CZK' | 'DKK' | 'EUR' | 'GBP' | 'HKD' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'ISK' | 'JPY' | 'KRW' | 'MXN' | 'MYR' | 'NOK' | 'NZD' | 'PHP' | 'PLN' | 'RON' | 'SEK' | 'SGD' | 'THB' | 'TRY' | 'USD' | 'ZAR'

## Response `200`

Success.

- object
  - `status` 'success', required
  - `data` LatestBlocks, required
    - `blocks` LatestBlock[], required: The ten newest blocks, newest first.
      - `height` integer, required
      - `time` integer, required
      - `num_txs` integer, required
      - `size` integer, required
      - `weight` integer, required
      - `version` integer, required
      - `difficulty` string, required
      - `price` Price, required: Price per coin, 8 decimals: in US dollars, or in the currency asked for. Always 0.00000000 on testnets.
        - `value` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `currency` string, required: USD, or the currency asked for.
      - `miner` string, nullable, required: Address paid by the coinbase, usually the pool's payout address.
      - `reward_and_fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
      - `kinds` BlockKinds, nullable: A block's transactions by kind, each by name. Every transaction counts, under one kind, except the coinbase (and Litecoin's HogEx); a kind with none is left out. null or absent for a block whose kinds aren't known yet. coinjoin, a cooperative lightning_close and a fee_bumped child paying its parent's fee are told by their shape alone: likely, not certain.
        - `payment` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `batch_payout` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `consolidation` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `coinjoin` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `inscription` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `data` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `lightning_close` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `fee_bumped` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `mweb_peg_in` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `large_script` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `transparent` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `shielding` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `deshielding` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `shielded` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `rune` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `bridge` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `token` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `staking` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `anchoring` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.
        - `other` KindTotals
          - `num_txs` integer, required: How many transactions.
          - `vsize` integer, required: Their virtual size in vbytes (bytes on DOGE and ZEC).
          - `fees` string, required: An exact decimal amount of coins with 8 decimals. Signed amounts may start with '-'. Parse as an integer of the smallest unit, not a float.

## Other responses

- `400`: A bad parameter or body; the message says which.
- `401`: An invalid key, no key where one is needed (buckets, webhooks, /account_info), a locked account or expired plan, or both the month's requests and the keyless rate used up. Kept as 401, with this message, for v3 compatibility.
- `404`: Not found: an unknown network, or an argument the network doesn't know.
- `429`: Without a key, past the day's 2,500 lookups from this IP while SoChain is busy (Retry-After: 60), or past the day's most (Retry-After: seconds to 00:00 UTC). With or without one, too many requests in flight at once (Retry-After: 1, not counted).
- `503`: Briefly unavailable; retry with backoff. May carry Retry-After.

---

[API](https://skmtc.dev/sochain/apis/sochain-api.md) · [All operations](https://skmtc.dev/sochain/apis/sochain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sochain/apis/sochain-api/revisions/80682797b38f?raw)
