ContractDataV1

ContractDataV1

Detailed description of an AnyHedge contract, including all necessary parameters to recreate and validate the contract.

Members

address :string

Contract address, used to identify contract interactions in block explorers and acts as a checksum for contract parameterization.
Type:
  • string

fees :Array

Contract fees, used for coordination and follow-up by the various services that helped the contract parties fund and/or redeem contracts.
Type:
  • Array

fundings :Array

Contract funding, used to track all funded instances of the contract.
Type:
  • Array

metadata :ContractMetadataV1

Contract metadata, used to store the original contract intent and environment as well as in many utility functions.
Type:

parameters :ContractParametersV1

Contract parameters, used in the lock and unlock script and defines the configurable parts of the contract behaviour.
Type:

version :string

Contract version, used to identify which contract lockscript is used.
Type:
  • string