getECBlock

Get Economic Cluster block data.

Request: requestType is getECBlock timestamp is the timestamp (in seconds since the genesis block) of the EC block (optional, default (or zero) is the current timestamp) Note: If timestamp is more than 15 seconds before the timestamp of the last block on the blockchain, errorCode 4 is returned.

Response:

(N) ecBlockHeight is the EC block height (N) requestProcessingTime is the API request processing time (in millisec) (S) ecBlockId is the EC block ID (N) timestamp is the timestamp (in seconds since the genesis block) of the EC block

Example:

Request:

http://localhost:801/BEAM?requestType=getECBlock

Response:

{ “ecBlockHeight”: 502788, “requestProcessingTime”: 1, “ecBlockId”: “15769175919943831738”, “timestamp”: 121621703 }

Last updated