Show / Hide Table of Contents

Policy.GetStoragePrice Method

Gets data storage fee per byte.

Namespace: Neo.SmartContract.Framework.Native

Assembly: Neo.SmartContract.Framework

Syntax

public static extern uint GetStoragePrice();

Return:

  • Data storage fee per byte

Example

public static void Test()
{
    var price = Policy.GetStoragePrice();
}

Back