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 hasharrow-up-right 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 BlockBuilderarrow-up-right class, however in most cases a UserClientBuilderarrow-up-right from a UserClientarrow-up-right should be used because it will handle things like getting the correct network and previous block hash.

Last updated