🚀
Aleo RPC API
  • Aleo RPC API
  • endpoints
    • NFTs
      • getPublicNFTsForAddress
      • getPublicTokenProgramsForAddress
    • blocks
      • block
      • blocks
      • getAleoBlocks
      • getStateRoot
      • latest/block
      • latest/hash
      • latest/height
    • mappings
      • getMappingValue
    • programs
      • generateDeployment
      • getGeneratedDeployment
      • getProgramTypes
      • program
      • transactionsForProgram
      • transactionsForProgramCount
    • records
      • getStatePath
      • records/all
      • records/byTransitionAndIndex
      • records/isOwner
      • serialNumbers
    • staking
      • getStakedBalanceForAddress
    • status
      • chainStatus
    • transactions
      • aleoTransaction
      • generateTransaction
      • getGeneratedTransaction
      • getPublicTransactionsForAddress
      • transaction
      • transactions
    • transitions
      • getTransactionId
      • transitionsWithoutRecordInputs
Powered by GitBook
On this page
  • Description
  • Method Parameters
  • Returns
  • Example
  • Request
  • Response
  1. endpoints
  2. status

chainStatus

Description

Returns blockchain status details.

Method Parameters

  • <empty>

Returns

  • result - Object: An object containing the current status of the blockchain.

    • online - boolean: Indicates if the blockchain is online.

    • statusTitle - string: A brief title describing the current status.

    • statusMessage - string: A detailed message about the current status.

    • time - number: The timestamp when the status was reported.

Example

Request

curl --location --request POST 'https://testnet3.aleorpc.com' \
 --header 'Content-Type: application/json' \
 --data-raw '{
     "jsonrpc": "2.0",
     "id": 1,
     "method": "chainStatus"
 }'

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "online": true,
    "statusTitle": "Everything is working as expected",
    "statusMessage": "There may be some temporary issues with the blockchain, but everything should be working as expected.",
    "time": 1683831724746
  }
}
PreviousstatusNexttransactions

Last updated 12 months ago