> ## Documentation Index
> Fetch the complete documentation index at: https://developers.particle.network/llms.txt
> Use this file to discover all available pages before exploring further.

# getLatestBlock

> Learn how to use the getLatestBlock JSON-RPC method.

## Contextualizing `getLatestBlock`

* `getlatestBlock` returns a highly detailed response containing both standard and extraneous information about the latest block on the chain associated with `chainId`.

  This response includes full receipts of transactions contained within the latest block. This is non-toggleable.

***

**Returned receipts contain the following attributes**

```json JSON theme={null}
// Example receipt

"blockHash":"0x9468f7e44e89921b38eb4812ec5dc7900ceffc454aecb0a452d9477952062efc",
"blockNumber":"0x11868d0",
"contractAddress":null,
"cumulativeGasUsed":"0x9e0096",
"effectiveGasPrice":"0x3094e55d9",
"from":"0x3527439923a63f8c13cf72b8fe80a77f6e572092",
"gasUsed":"0xbbad2",
"logs":[
   {
      "address":"0x32400084c286cf3e17e7b677ea9583e60a000324",
      "blockHash":"0x9468f7e44e89921b38eb4812ec5dc7900ceffc454aecb0a452d9477952062efc",
      "blockNumber":"0x11868d0",
      "data":"0x",
      "logIndex":"0x1b",
      "removed":false,
      "topics":[
         "0x22c9005dd88c18b552a1cd7e8b3b937fcde9ca69213c1f658f54d572e4877a81",
         "0x0000000000000000000000000000000000000000000000000000000000042fc4",
         "0x0000000000000000000000000000000000000000000000000000000000042fc5"
      ],
      "transactionHash":"0x373c6917650568746f2cb9a99c9250ef5c5fdda380ac0e322779e9532c0d5153",
      "transactionIndex":"0x10"
   }
],
"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000010020000000000000000000002020000000000000000000000000000000000000000100000400000000000000000000000000000000000000000000000000000000000000000000000010000000000000000001000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000001000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"status":"0x1",
"to":"0x3db52ce065f728011ac6732222270b3f2360d919",
"transactionHash":"0x373c6917650568746f2cb9a99c9250ef5c5fdda380ac0e322779e9532c0d5153",
"transactionIndex":"0x10",
"type":"0x2"
```


## OpenAPI

````yaml openapi-evm POST /#particle_getLatestBlock
openapi: 3.0.0
info:
  title: Particle Network Enhanced RPC
  version: 1.0.0
servers:
  - url: https://rpc.particle.network/evm-chain
security: []
paths:
  /#particle_getLatestBlock:
    post:
      summary: getLatestBlock
      operationId: getLatestBlock
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - type: object
                  required:
                    - jsonrpc
                    - id
                    - method
                    - params
                    - chainId
                  properties:
                    jsonrpc:
                      type: string
                      default: 2
                      description: Version of the JSON-RPC protocol, should be 2.0.
                      example: '2.0'
                    id:
                      type: integer
                      default: 1
                      description: The request identifier.
                      example: 1
                    method:
                      type: string
                      description: API method being called.
                    chainId:
                      type: integer
                      example: 1
                      description: The chain ID.
                    params:
                      type: array
                      description: Parameters for the API method call.
                - type: object
                  required:
                    - method
                  properties:
                    method:
                      type: string
                      default: particle_getLatestBlock
                      enum:
                        - particle_getLatestBlock
                    params:
                      type: array
                      enum:
                        - []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                allOf:
                  - type: object
                    properties:
                      jsonrpc:
                        type: string
                        description: Version of the JSON-RPC protocol, should be 2.0.
                        example: '2.0'
                      id:
                        type: integer
                        description: The request identifier.
                        example: 1
                      result:
                        type: object
                        description: Result of the API call.
                  - type: object
                    properties:
                      result:
                        type: object
                        properties:
                          difficulty:
                            type: string
                            description: Difficulty of the block.
                          extraData:
                            type: string
                            description: Extra data of the block.
                          gasLimit:
                            type: string
                            description: Gas limit of the block.
                          gasUsed:
                            type: string
                            description: Gas used in the block.
                          hash:
                            type: string
                            description: Hash of the block.
                          logsBloom:
                            type: string
                            description: Logs bloom filter of the block.
                          miner:
                            type: string
                            description: Miner of the block.
                          mixHash:
                            type: string
                            description: Mix hash of the block.
                          nonce:
                            type: string
                            description: Nonce of the block.
                          number:
                            type: string
                            description: Number of the block.
                          parentHash:
                            type: string
                            description: Parent hash of the block.
                          receiptsRoot:
                            type: string
                            description: Receipts root of the block.
                          sha3Uncles:
                            type: string
                            description: SHA3 uncles hash of the block.
                          size:
                            type: string
                            description: Size of the block.
                          stateRoot:
                            type: string
                            description: State root of the block.
                          timestamp:
                            type: string
                            description: Timestamp of the block.
                          totalDifficulty:
                            type: string
                            description: Total difficulty of the block.
                          transactions:
                            type: array
                            description: Array of transactions in the block.
                            items:
                              type: object
                          transactionsRoot:
                            type: string
                            description: Transactions root of the block.
                          uncles:
                            type: array
                            description: Array of uncles in the block.
                            items:
                              type: object
                          receipts:
                            type: array
                            description: Array of receipts in the block.
                            items:
                              type: object
      security:
        - basicAuth: []
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````