Contract

The Contract entity offers a normalized representation of the Casper Network Contract without including entry point hashes, which can be queried separately using the Contract entry point API. Additionally, this entity omits the contract's named keys but utilizes them for identifying the contract's type.

Properties

The Contract entity has the following properties:

Example

{
  "contract_hash": "8a2feaa4e86841c1c6f40f1779e1e1cb1d9d4d52a0eb82a8962829646524e732",
  "contract_package_hash": "ae2feaa4e86841c1c6f40f1779e1e1cb1d9d4d52a0eb82a8962829646524e744",
  "deploy_hash": "1a2feaa4e86841c1c6f40f1779e1e1cb1d9d4d52a0eb82a8962829646524e755",
  "contract_type_id": 2,
  "timestamp": "2023-01-01T12:00:00Z",
  "contract_version": 1,
  "is_disabled": false
}

Optional properties

Depending on the endpoint, the following optional properties may be included in the Contract entity:

Relations

The Contract entity has the following relations with other entities:

Endpoints

The Contract entity has the following endpoints:

Relation endpoints

The Contract entity has the following relation endpoints:

Last updated