Show / Hide Table of Contents

Policy Class

Provides a series of methods of the native contract Policy, which contract hash is 0xcc5e4edd9f5f8dba8bb65734541df7a1c081c67b .

Namespace: Neo.SmartContract.Framework.Native

Assembly: Neo.SmartContract.Framework

Syntax

public class Policy

Attribute

NameDescription
HashThe contract hash

Methods

NameDescription
GetFeePerByte() Gets the network fee per transaction byte
GetExecFeeFactor() Gets the execution fee factor. This is a multiplier that can be adjusted by the committee to adjust the system fees for transactions
GetStoragePrice() Gets the storage price
IsBlocked(UInt160 account) Determines whether the specified account is blocked