Class Contract

Represents a smart contract on the blockchain, including its unique identifiers, entry points, named keys, and protocol version.

Hierarchy

  • Contract

Constructors

Properties

contractPackageHash: ContractPackageHash

The unique hash representing the contract package.

contractWasmHash: ContractHash

The unique hash representing the WebAssembly (Wasm) code of the contract.

entryPoints: NamedEntryPoint[]

The list of entry points (functions) that can be called on this contract.

namedKeys: NamedKeys

The named keys associated with the contract, providing access to specific values or data stored by the contract.

protocolVersion: string

The protocol version of the contract, indicating compatibility with specific blockchain protocol versions.

Generated using TypeDoc