Show / Hide Table of Contents

Policy.GetFeePerByte Method

Gets the transaction network fee per byte.

Namespace: Neo.SmartContract.Framework.Native

Assembly: Neo.SmartContract.Framework

Syntax

public static extern long GetFeePerByte();

Return:

  • Transaction network fee per byte

Example

public static void Test()
{
    var feePerByte = Policy.GetFeePerByte();
}

Back