Create a Block
The block is digitally signed by the signer (if present, otherwise the account) and the signature is included in the block. The block is identified by its hash which is the hash of the block not including the signature.
The KeetaNet SDK provides a block builder method which allows the user to create blocks in an incremental fashion. The block builder is created using the BlockBuilder class, however in most cases a UserClientBuilder from a UserClient should be used because it will handle things like getting the correct network and previous block hash.
Last updated