Show / Hide Table of Contents
Last modified: 2024-09-14

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