Submit new block
Put a new block into the blockchain
Creates a new block
PUT
https://test-001-node.cloud.nxtfi.tech/v2/newBlock
Request Body
Name | Type | Description |
---|---|---|
prevhash* | String | Last recorded hash of the scope |
height* | Number | Heght of the last block of the scope + 1 |
version* | Number | API version |
data* | String | Block Content |
timestamp* | Number | Timestamp in Unix format |
by* | String | Transaction Signer name |
scope* | String | Scope name |
signature* | String | RSA-PSS signature of the object
|
hash* | String | Cryptographic hash (digest) encrypted with SHA-256 |
Example in curl
Response
Last updated