FRUITS API Document
  • FRUITS API Document
  • Java sample code
  • PHP sample code
  • Creating Unsigned Transactions
  • Create Transaction Request
  • Create Transaction Response
  • SERVER INFORMATION
    • Get Blockchain Status
    • Get My Info
    • Get State
    • Get Time
  • ACCOUNT
    • Get Account
    • Get Account Blocks
    • Get Balance
    • Send FRTS
    • Send FRTS Multi
    • Set Account Info
  • TRANSACTION
    • Broadcast Transaction
    • Calculate Full Hash
    • Get Transaction
  • BLOCK
    • Get Block
    • Get Block Id
    • Get Blocks
  • Process flowchart
    • FRTS, token send/receive flow
    • FRUITS Wallet connect flow
  • Create & Active Account
    • Coding Guidelines in Java
    • Coding Guidelines in JS
  • FRUITS Node API For Single NFT
    • Create NFT Smart Contract
    • Mint NFT
    • Transfer NFT
    • Place a sell order
    • Cancel a sell order
    • Buy NFT
    • Get NFT By URI
    • Get List of NFTs by Account
    • Get List of NFTs for sale
    • Get List of NFTs By Smart Contract
  • FRUITS Node API For multiple NFT
    • Create NFT Smart Contract
    • Mint NFT
    • Transfer NFT
    • Place a sell order
    • Cancel a sell order
    • Buy NFT
    • Get Multiple Token By Account
    • Get Multiple Token By Contract
    • Get Multiple Token By Owners
    • Get Multiple Token By Uri
Powered by GitBook
On this page
  1. SERVER INFORMATION

Get Blockchain Status

Get the blockchain status.

Request: requestType is getBlockchainStatus

Response:

(S) lastBlock is the last block ID on the blockchain (S) application is the application name, typically CFW (B) isScanning is true if the blockchain is being scanned by the application, false otherwise (S) cumulativeDifficulty is the cumulative difficulty (N) lastBlockchainFeederHeight is the height of the last blockchain of greatest cumulative difficulty obtained from a peer (N) numberOfBlocks is the number of blocks in the blockchain (height + 1) (N) time is the current timestamp (in seconds since the genesis block) (S) version is the application version (S) lastBlockchainFeeder is the address or announced address of the peer providing the last blockchain of greatest cumulative difficulty (N) requestProcessingTime is the API request processing time (in milliseconds)

PreviousCreate Transaction ResponseNextGet My Info

Last updated 1 year ago