Contract entry point

The ContractEntryPoint entity offers a normalized representation of the Casper Network EntryPoint. Entry points are associated with the Contract entity and describe how to interact with it. In CSPR.Cloud, only the name of the entry point and its relations to the Contract and ContractPackage are stored.

Properties

The ContractEntryPoint entity has the following properties:

Property
Type
Description

contract_hash

string(64)

Contract hash represented as a hexadecimal string. Unique contract identifier

contract_package_hash

string(64)

Hash of the contract package, this contract version is a part of, represented as a hexadecimal string

name

string

Name of the entry point

Example

{
    "contract_hash": "a0a1d2d3d4d5d6d7d8d9e0e1e2e3e4e5e6e7e8e9f0f1f2f3f4f5f6f7f8f9a0a1",
    "contract_package_hash": "b0b1b2b3b4b5b6b7b8b9c0c1c2c3c4c5c6c7c8c9d0d1d2d3d4d5d6d7d8d9e0e1",
    "name": "transfer"
}

Optional properties

None

Relations

The ContractEntryPoint entity has the following relations with other entities:

Entity
Mapping property
Description

contract_hash

Entry point is associated with a contract

contract_package_hash

Entry point is associated with a contract, that is a version of the contract package.

Endpoints

The ContractEntryPoint entity has the following endpoints:

Relation endpoints

Last updated