Constructs a DeployHeader
instance with the specified parameters.
The name of the blockchain chain.
A list of deploys that must be executed before this one.
The gas price for the deploy.
The timestamp when the deploy is created.
The TTL for the deploy.
Optional
account: PublicKeyThe public key of the account initiating the deploy (optional).
Optional
bodyHash: HashThe hash of the body of the deploy (optional).
Optional
accountThe public key of the account initiating the deploy. This key is used to verify the identity of the account making the deploy request.
Optional
bodyThe hash of the body of the deploy, which is used to verify the contents of the deploy. The body contains the session logic and payment logic of the deploy.
The name of the blockchain chain that the deploy is associated with. This helps prevent the deploy from being accidentally or maliciously included in a different chain.
A list of other deploys that must be executed before this one. This ensures dependencies are executed in the correct order.
The price of gas for executing the deploy. Gas is used to pay for the computational resources required to process the deploy.
The timestamp when the deploy was created. This timestamp is used to determine the deploy's position in time.
The time-to-live (TTL) for the deploy, after which it will expire if not executed. The default TTL is 30 minutes.
Static
defaultReturns a default DeployHeader
instance with default values.
A DeployHeader
instance with default values.
Generated using TypeDoc
Represents the header of a deploy in the blockchain. The header contains metadata such as the account initiating the deploy, the body hash, gas price, timestamp, TTL, and dependencies.