A contract header contains minimal contract information that can be used to identify a contract. Use getContractById to get full contract details

See

The The backend definition of this type

Hierarchy

  • ContractHeader

Properties

Basic information about the block the contract was created in (if any)

contractId: ContractId

The contract id

metadata: Metadata

Optional metadata associated with the contract

roleTokenMintingPolicyId: Branded<string, PolicyIdBrand>

The policy id of the role token minting policy

status: "unsigned" | "submitted" | "confirmed"

Current status of the contract

tags: Tags

Optional tags associated with the contract

version: "v1"

The Marlowe version