VEFramework.VEDriversLite.FluxAPI 0.3.0

dotnet add package VEFramework.VEDriversLite.FluxAPI --version 0.3.0
NuGet\Install-Package VEFramework.VEDriversLite.FluxAPI -Version 0.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VEFramework.VEDriversLite.FluxAPI" Version="0.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VEFramework.VEDriversLite.FluxAPI --version 0.3.0
#r "nuget: VEFramework.VEDriversLite.FluxAPI, 0.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install VEFramework.VEDriversLite.FluxAPI as a Cake Addin
#addin nuget:?package=VEFramework.VEDriversLite.FluxAPI&version=0.3.0

// Install VEFramework.VEDriversLite.FluxAPI as a Cake Tool
#tool nuget:?package=VEFramework.VEDriversLite.FluxAPI&version=0.3.0

VEDriversLite Flux API wrapper

This is .NET 6.0 API wrapper for Flux Blockchain API

Example Usage

  1. Create empty console Application
mkdir CreateFluxAPIExample
cd CreateFluxAPIExample
dotnet new console
  1. Add project reference or nuget package
dotnet add package VEFramework.VEDriversLite.FluxAPI

// See for more information
Console.WriteLine("Hello, World!");

var addr = "t1edbnsYnGXxyYNt4kJJPhZktDWNaKwkznY";

Console.WriteLine("Address Utxos:");

var utxos = await VEDriversLite.FluxAPI.FluxAPIHelpers.GetListOfAddressUtxos(addr);
if (utxos != null)
    Console.WriteLine("Address Utxos:");
    foreach (var u in utxos)
        Console.WriteLine($"Utxo TxId: {u.TxId}:{u.Index}, Satoshi: {u.Value}");

var balance = await VEDriversLite.FluxAPI.FluxAPIHelpers.GetListOfAddressBalance(addr);
Console.WriteLine($"Address Balance: {balance} Flux satoshi");

var list = await VEDriversLite.FluxAPI.FluxAPIHelpers.GetListOfAppsLocations("Veframe");

if (list != null)
    Console.WriteLine("Flux VENFT App Server locations:");
    foreach (var item in list)
        Console.WriteLine($"Location: {item.IP} - Broadcasted At: {item.BroadcastedAt}, Expiration At: {item.ExpireAt}");
        Console.WriteLine($"Open VENFT Api Swagger utility for this location: http://{item.IP}:34909/swagger/index.html ");

    var firstLocation = list.FirstOrDefault();
    if (firstLocation != null)
        Console.WriteLine("Detailed info for the first location:");
        var ftx = await VEDriversLite.FluxAPI.FluxAPIHelpers.GetListOfNodeFluxTransactions(firstLocation.IP);
        if (ftx != null)
            Console.WriteLine("Flux Transactions:");
            foreach (var f in ftx)
                Console.WriteLine($"Flux Transaction - Type: {f.Type}, UpdateType: {f.UpdateType}, TxId: {f.TxId}:{f.Index}, BenchTier: {f.BenchTier}");

    Console.WriteLine("No locations found.");
Console.WriteLine("Press any key to exit...");
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.0 200 5/12/2022

- New package with basic API commands for Flux Blockchain API