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

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