transaction_builder library Null safety
Represent a transaction in pending validation
- Address: hash of the new generated public key for the given transaction
- Type: transaction type
- Data: transaction data zone (identity, keychain, smart contract, etc.)
- Previous signature: signature from the previous public key
- Previous public key: previous generated public key matching the previous signature
- Origin signature: signature from the device which originated the transaction (used in the Proof of work)
- Version: version of the transaction (used for backward compatiblity) When the transaction is validated the following fields are filled:
- Validation stamp: coordinator work result
- Cross validation stamps: endorsements of the validation stamp from the coordinator
Classes
Constants
Functions
-
hexAuthorizedKeys(
Map authorizedKeys) → Map -
transactionBuilderFromJson(
String str) → TransactionBuilder -
transactionBuilderToJson(
TransactionBuilder data) → String