Generated by DocFX

Class NeblioAccount

Main Neblio Account Class

Inheritance
System.Object
NeblioAccountBase
NeblioAccount
Inherited Members
NeblioAccountBase.Address
NeblioAccountBase.Secret
NeblioAccountBase.NumberOfTransaction
NeblioAccountBase.NumberOfLoadedTransaction
NeblioAccountBase.EnoughBalanceToBuySourceTokens
NeblioAccountBase.TotalBalance
NeblioAccountBase.TotalSpendableBalance
NeblioAccountBase.TotalUnconfirmedBalance
NeblioAccountBase.SourceTokensBalance
NeblioAccountBase.CoruzantSourceTokensBalance
NeblioAccountBase.AddressNFTCount
NeblioAccountBase.IsRefreshingRunning
NeblioAccountBase.WithoutNFTs
NeblioAccountBase.ConnectedDogeAccountAddress
NeblioAccountBase.NFTs
NeblioAccountBase.CoruzantNFTs
NeblioAccountBase.HardwarioNFTs
NeblioAccountBase.ReceivedPayments
NeblioAccountBase.ReceivedReceipts
NeblioAccountBase.Profile
NeblioAccountBase.TokensSupplies
NeblioAccountBase.Utxos
NeblioAccountBase.AddressInfo
NeblioAccountBase.AddressInfoUtxos
NeblioAccountBase.UsedUtxos
NeblioAccountBase.NewEventInfo
NeblioAccountBase.NFTsChanged
NeblioAccountBase.ProfileUpdated
NeblioAccountBase.NFTAddedToPayments
NeblioAccountBase.AccountKey
NeblioAccountBase.IsLocked()
NeblioAccountBase.FireInfoEvent(Object, IEventInfo)
NeblioAccountBase.InvokeSendPaymentSuccessEvent(String, String)
NeblioAccountBase.InvokeAccountLockedEvent(String)
NeblioAccountBase.InvokeErrorDuringSendEvent(String, String)
NeblioAccountBase.InvokeErrorEvent(String, String)
NeblioAccountBase.TxCashPreload()
NeblioAccountBase.LoadAccountKey(String, String)
NeblioAccountBase.ReloadTokenSupply()
NeblioAccountBase.ReloadCountOfNFTs()
NeblioAccountBase.ReloadMintingSupply()
NeblioAccountBase.ReloadCoruzantNFTs()
NeblioAccountBase.ReloadHardwarioNFTs()
NeblioAccountBase.ReloadUtxos()
NeblioAccountBase.ReloadAccountInfo()
NeblioAccountBase.ReLoadNFTs(Boolean, Boolean)
NeblioAccountBase.RefreshAddressReceivedPayments()
NeblioAccountBase.FireNFTAddedToPayments(String, (T1, T2)<String, Int32>)
NeblioAccountBase.RefreshAddressReceivedReceipts()
NeblioAccountBase.HasSomeSpendableNeblio(Double)
NeblioAccountBase.HasSomeSourceForMinting()
NeblioAccountBase.ValidateNFTUtxo(String, Int32)
NeblioAccountBase.CheckSpendableNeblio(Double)
NeblioAccountBase.CheckSpendableNeblioTokens(String, Int32)
NeblioAccountBase.VerifyMessage(String, String, String, PubKey)
NeblioAccountBase.EncryptMessage(String)
NeblioAccountBase.DecryptMessage(String)
NeblioAccountBase.GetNFTVerifyCode(String)
NeblioAccountBase.GetNFTVerifyQRCode(String)
NeblioAccountBase.SignMessage(String)
NeblioAccountBase.SendNeblioPayment(String, Double, String)
NeblioAccountBase.SendMultipleInputNeblioPayment(String, Double, List<Utxos>, String)
NeblioAccountBase.SplitNeblioCoin(List<String>, Int32, Double)
NeblioAccountBase.IssueTokens(String, UInt64, String, String, String, String, String, IDictionary<String, String>)
NeblioAccountBase.SendNeblioTokenPayment(String, IDictionary<String, String>, String, Int32)
NeblioAccountBase.SplitTokens(String, IDictionary<String, String>, List<String>, Int32, Int32)
NeblioAccountBase.MintNFT(INFT, String)
NeblioAccountBase.MintMultiNFT(INFT, Int32, String)
NeblioAccountBase.MintMultiNFTLargeAmount(INFT, Int32, String, List<String>, Int32)
NeblioAccountBase.DestroyNFTs(ICollection<INFT>, String)
NeblioAccountBase.SendNFT(String, INFT, Boolean, Double, Boolean, Double)
NeblioAccountBase.ChangeNFT(INFT)
NeblioAccountBase.SendIoTMessageNFT(INFT, String, String)
NeblioAccountBase.SendMessageNFT(String, String, String, String, Boolean, String, String, String, String)
NeblioAccountBase.UseNFTTicket(INFT)
NeblioAccountBase.SendNFTPayment(String, INFT)
NeblioAccountBase.ReturnNFTPayment(String, PaymentNFT)
NeblioAccountBase.SendAirdrop(String, String, Double, Double)
NeblioAccountBase.SendCoruzantNFT(String, INFT, Boolean, String)
NeblioAccountBase.InitAllAutoIoTDeviceNFT()
NeblioAccountBase.InitIoTDeviceNFT(String, Int32)
NeblioAccountBase.DeInitIoTDeviceNFT(String, Int32)
NeblioAccountBase.CheckPayments()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VEDriversLite
Assembly: VEDriversLite.dll
Syntax
public class NeblioAccount : NeblioAccountBase

Constructors

| Improve this Doc View Source

NeblioAccount()

Main constructor

Declaration
public NeblioAccount()

Properties

| Improve this Doc View Source

Bookmarks

List of all saved bookmarks. This is just realtime carrier. It need some serialization/deserialization.

Declaration
public List<Bookmark> Bookmarks { get; set; }
Property Value
Type Description
System.Collections.Generic.List<Bookmark>
| Improve this Doc View Source

LastCheckedDogePaymentUtxo

Check of the DogeAccount for NFT payments - obsolete. will be redesign in the issue 33

Declaration
public string LastCheckedDogePaymentUtxo { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MessageTabs

Tabs with partners for messaging. It loads their NFT Messages related to you and mix them with yours related to the address in MessageTab

Declaration
public List<MessageTab> MessageTabs { get; set; }
Property Value
Type Description
System.Collections.Generic.List<MessageTab>
| Improve this Doc View Source

RunningAsVENFTBlazorApp

This will block the automatic start of the NFT IoT Devices. It is recommended to use NFT IoT devices in the services instead of the web assembly

Declaration
public bool RunningAsVENFTBlazorApp { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SubAccounts

Neblio Sub Accounts. Each can work with own set of NFTs. It is real blockchain address with own Private Key

Declaration
public Dictionary<string, NeblioSubAccount> SubAccounts { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, NeblioSubAccount>
| Improve this Doc View Source

Tabs

List of all active tabs for browsing or interacting with the address. All has possibility to load own list of NFTs.

Declaration
public List<ActiveTab> Tabs { get; set; }
Property Value
Type Description
System.Collections.Generic.List<ActiveTab>

Methods

| Improve this Doc View Source

AddBookmark(String, String, String)

Add new bookmark to bookmark list and return serialized list for save

Declaration
public async Task<(bool, string)> AddBookmark(string name, string address, string note)
Parameters
Type Name Description
System.String name

Name of the bookmark. It is important for most functions which work with the bookmarks

System.String address

Neblio Address

System.String note

optional note

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

Serialized list in string for save

| Improve this Doc View Source

AddMessageTab(String)

Add new message tab based on some Neblio address

Declaration
public async Task<(bool, string)> AddMessageTab(string address)
Parameters
Type Name Description
System.String address
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with serialized tabs list as json string

| Improve this Doc View Source

AddSubAccount(String, Boolean, Double, Boolean, Double, String, String)

Add new Sub Account

Declaration
public async Task<(bool, string)> AddSubAccount(string name, bool sendNeblioToAccount = false, double neblioAmountToSend = 0.05, bool sendTokenToAccount = false, double tokenAmountToSend = 10, string tokenId = "La58e9EeXUMx41uyfqk6kgVWAQq9yBs44nuQW8", string privateKey = "")
Parameters
Type Name Description
System.String name

Name of new SubAccount

System.Boolean sendNeblioToAccount

Set This true if you want to load some Neblio to this address after it is created.

System.Double neblioAmountToSend

Amount of neblio for initial load of the address, 0.05 is default = 250 tx

System.Boolean sendTokenToAccount

Initial amount of tokens to send to the new SubAccount

System.Double tokenAmountToSend

Initial amount of Neblio to send to the new SubAccount

System.String tokenId

Token Id which should be send to the new SubAccount

System.String privateKey

If you want to import existing private key you can fill this field. It can be in encrypted form. Encryption must be done with private key of main account. Ideal is import of non encrypted key.

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with serialized tabs list as json string

| Improve this Doc View Source

AddTab(String, Int32)

Add new tab based on some Neblio address

Declaration
public async Task<(bool, string)> AddTab(string address, int maxLoadItems = 40)
Parameters
Type Name Description
System.String address
System.Int32 maxLoadItems
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with serialized tabs list as json string

| Improve this Doc View Source

AllowSubAccountAutorefreshing(String)

Allow autorefresh for specific SubAccount

Declaration
public async Task AllowSubAccountAutorefreshing(string address)
Parameters
Type Name Description
System.String address
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

CacheNFTs()

Serialize the NFTCache dictionary

Declaration
public string CacheNFTs()
Returns
Type Description
System.String

Serialized VEDLDataContext.NFTCache

| Improve this Doc View Source

ChangeNFTOnSubAccount(String, INFT)

Change NFT on SubAccount

Declaration
public async Task<(bool, string)> ChangeNFTOnSubAccount(string address, INFT NFT)
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

INFT NFT

NFT on the SubAccount which should be changed

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with new TxId

| Improve this Doc View Source

ChangeSubAccountName(String, String)

Change Sub Account Name if exists in the dictionary Automatically is changed name in bookmarks too. Thats why function will return both serialized lists

Declaration
public async Task<(bool, (string, string))> ChangeSubAccountName(string address, string newName)
Parameters
Type Name Description
System.String address

Neblio Address which tab should be renamed

System.String newName

New Name

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.ValueTuple<System.String, System.String>>>

true and string with serialized subaccount account export dto list as json string nad bookmarks list

| Improve this Doc View Source

ConnectDogeAccount(String)

connect Doge Account related to this account

Declaration
public async Task ConnectDogeAccount(string address)
Parameters
Type Name Description
System.String address
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

CreateNewAccount(String, Boolean, String)

This function will create new account - Neblio address and its Private key.

Declaration
public async Task<bool> CreateNewAccount(string password, bool saveToFile = false, string filename = "key.txt")
Parameters
Type Name Description
System.String password

Input password, which will encrypt the Private key

System.Boolean saveToFile

if you want to save it to the file (dont work in the WASM) set this. It will save to root exe path as key.txt

System.String filename

default filename is key.txt you can change it, but remember to load same name when loading the account.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>
| Improve this Doc View Source

DestroyNFTOnSubAccount(String, ICollection<INFT>, Boolean)

Destroy NFTs on SubAccount

Declaration
public async Task<(bool, string)> DestroyNFTOnSubAccount(string address, ICollection<INFT> NFTs, bool sendToMainAccount = false)
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

System.Collections.Generic.ICollection<INFT> NFTs

NFTs on the SubAccount which should be send

System.Boolean sendToMainAccount

If this is set, function will rewrite receiver to main Account Address

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with new TxId

| Improve this Doc View Source

DisconnectDogeAccount()

Remove the connection of some Doge Account

Declaration
public async Task DisconnectDogeAccount()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

GetNFTsOnSubAccount(String)

Get NFTs on SubAccount

Declaration
public (bool, ICollection<INFT>) GetNFTsOnSubAccount(string address)
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

Returns
Type Description
System.ValueTuple<System.Boolean, System.Collections.Generic.ICollection<INFT>>

true and string with new TxId

| Improve this Doc View Source

GetNFTVerifyQRCodeFromSubAccount(String, String)

Get QR verification code of NFT on SubAccount

Declaration
public async Task<(OwnershipVerificationCodeDto, byte[])> GetNFTVerifyQRCodeFromSubAccount(string address, string txid)
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

System.String txid

NFT utxo on the SubAccount

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<OwnershipVerificationCodeDto, System.Byte[]>>
| Improve this Doc View Source

GetSubAccountAddressByName(String)

Get sub account address by name

Declaration
public async Task<(bool, string)> GetSubAccountAddressByName(string name)
Parameters
Type Name Description
System.String name

Neblio Sub Account Name

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with serialized subaccount account export dto list as json string

| Improve this Doc View Source

GetSubAccountKeys()

Get Sub Account Keys for export

Declaration
public async Task<(bool, Dictionary<string, string>)> GetSubAccountKeys()
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.Collections.Generic.Dictionary<System.String, System.String>>>

true and dictionary with addresses and private keys

| Improve this Doc View Source

GetSubAccountNameByAddress(String)

Get sub account name by address

Declaration
public (bool, string) GetSubAccountNameByAddress(string address)
Parameters
Type Name Description
System.String address

Neblio Sub Account Name

Returns
Type Description
System.ValueTuple<System.Boolean, System.String>

true and string with serialized subaccount account export dto list as json string

| Improve this Doc View Source

GetSubAccounTotaltSpendableActualBalance(String)

Get Total spendable balance

Declaration
public double GetSubAccounTotaltSpendableActualBalance(string address)
Parameters
Type Name Description
System.String address
Returns
Type Description
System.Double
| Improve this Doc View Source

GetSubAccounUnconfirmedActualBalance(String)

Get Total unconfirmed balance

Declaration
public double GetSubAccounUnconfirmedActualBalance(string address)
Parameters
Type Name Description
System.String address
Returns
Type Description
System.Double
| Improve this Doc View Source

IsInTheBookmarks(String)

Check if the address is already in the bookmarks and return this bookmark

Declaration
public (bool, Bookmark) IsInTheBookmarks(string address)
Parameters
Type Name Description
System.String address

Address or Name which should be in the bookmarks

Returns
Type Description
System.ValueTuple<System.Boolean, Bookmark>

true and bookmark class if exists

| Improve this Doc View Source

LoadAccount(String, String, Boolean)

Load account from filename (default "key.txt") file placed in the root exe directory. Doesnt work in WABS

Declaration
public async Task<bool> LoadAccount(string password, string filename = "key.txt", bool withoutNFTs = false)
Parameters
Type Name Description
System.String password

Passwotd to decrypt the loaded private key

System.String filename

filename with stored key.

System.Boolean withoutNFTs

choose if you want to skip NFTs during loading the account. Great when you want just do simple payment. You can then swithc off WithoutNFTs property and account will load them in next refresh.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>
| Improve this Doc View Source

LoadAccount(String, String, String, Boolean)

Load account from password, input encrypted private key and address. It expect the private key is encrypted by the password. It uses AES encryption

Declaration
public async Task<bool> LoadAccount(string password, string encryptedKey, string address = "", bool withoutNFTs = false)
Parameters
Type Name Description
System.String password

Passwotd to decrypt the loaded private key

System.String encryptedKey

Private key encrypted with AES (you must provide pass in this case) or not encrypted (you do not need password)

System.String address

Neblio Address related to the private key (if empty it will be calculated from the private key).

System.Boolean withoutNFTs

choose if you want to skip NFTs during loading the account. Great when you want just do simple payment. You can then swithc off WithoutNFTs property and account will load them in next refresh.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>
| Improve this Doc View Source

LoadAccountFromVENFTBackup(String, String, String, Boolean)

Load account from filename backup from VENFT App (default "backup.json") file placed in the root exe directory. Doesnt work in WABS

Declaration
public async Task<bool> LoadAccountFromVENFTBackup(string password, string fromString = "", string filename = "backup.json", bool withoutNFTs = false)
Parameters
Type Name Description
System.String password

Passwotd to decrypt the loaded private key

System.String fromString

BackupDataDto serialized object with key and address

System.String filename

load from BackupDataDto from file. backup.json as default.

System.Boolean withoutNFTs

choose if you want to skip NFTs during loading the account. Great when you want just do simple payment. You can then swithc off WithoutNFTs property and account will load them in next refresh.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>
| Improve this Doc View Source

LoadAccountWithDummyKey(String, String, Boolean)

Load account just for observation You cannot sign tx when you load address this way

Declaration
public async Task<bool> LoadAccountWithDummyKey(string password, string address, bool withoutNFTs = false)
Parameters
Type Name Description
System.String password

Passwotd to decrypt the loaded private key

System.String address

Account Address

System.Boolean withoutNFTs

choose if you want to skip NFTs during loading the account. Great when you want just do simple payment. You can then swithc off WithoutNFTs property and account will load them in next refresh.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>
| Improve this Doc View Source

LoadBookmarks(String)

Load bookmarks from previous serialized list of bookmarks.

Declaration
public async Task LoadBookmarks(string bookmarks)
Parameters
Type Name Description
System.String bookmarks
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

LoadCacheNFTsFromString(IDictionary<String, NFTCacheDto>)

Load the NFTCache data from the input dictionary to the Dictionary of the NFTs cache The input must be dictionary which contains NFTCacheDto as value with cache data

Declaration
public bool LoadCacheNFTsFromString(IDictionary<string, NFTCacheDto> nfts)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, NFTCacheDto> nfts

Input NFTCache dictionary

Returns
Type Description
System.Boolean
| Improve this Doc View Source

LoadCacheNFTsFromString(String)

Load the data from the stirng to the Dictionary of the NFTs cache The input string must be serialized NFTCache dictionary from VEDriversLite with use of the function CacheNFTs from this class

Declaration
public bool LoadCacheNFTsFromString(string cacheString)
Parameters
Type Name Description
System.String cacheString

Input serialized NFTCache dictionary as string

Returns
Type Description
System.Boolean
| Improve this Doc View Source

LoadMessageTabs(String)

Load tabs from previous serialized string.

Declaration
public async Task<string> LoadMessageTabs(string tabs)
Parameters
Type Name Description
System.String tabs

List of MessageTabs as json string

Returns
Type Description
System.Threading.Tasks.Task<System.String>
| Improve this Doc View Source

LoadSubAccounts(String)

Load subaccounts from previous serialized string.

Declaration
public async Task<string> LoadSubAccounts(string subaccounts)
Parameters
Type Name Description
System.String subaccounts

List of SubAccountsAddressExports as json string

Returns
Type Description
System.Threading.Tasks.Task<System.String>
| Improve this Doc View Source

LoadTabs(String)

Load tabs from previous serialized string.

Declaration
public async Task<string> LoadTabs(string tabs)
Parameters
Type Name Description
System.String tabs

List of ActiveTabs as json string

Returns
Type Description
System.Threading.Tasks.Task<System.String>
| Improve this Doc View Source

MintNFTOnSubAccount(String, INFT, String)

Mint NFT on SubAccount

Declaration
public async Task<(bool, string)> MintNFTOnSubAccount(string address, INFT NFT, string receiver = "")
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

INFT NFT

NFT on the SubAccount which should be minted

System.String receiver

Receiver of the NFT

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with new TxId

| Improve this Doc View Source

MultimintNFTLargeOnSubAccount(String, INFT, Int32, String)

Multi Mint of large amount of NFTs on SubAccount

Declaration
public async Task<(bool, Dictionary<string, string>)> MultimintNFTLargeOnSubAccount(string address, INFT NFT, int coppies, string receiver = "")
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

INFT NFT

NFT on the SubAccount which should be minted

System.Int32 coppies
System.String receiver

Receiver of the NFT

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.Collections.Generic.Dictionary<System.String, System.String>>>

true and string with new TxId

| Improve this Doc View Source

OrderSourceTokens(Double)

This function will send request for 100 VENFT tokens. It can be process by sending 1 NEBL to specific project address.

Declaration
public async Task<(bool, string)> OrderSourceTokens(double amount = 1)
Parameters
Type Name Description
System.Double amount
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>
| Improve this Doc View Source

RemoveBookmark(String)

Remove bookmark by the neblio address. It must be found in the bookmark list

Declaration
public async Task<(bool, string)> RemoveBookmark(string address)
Parameters
Type Name Description
System.String address
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

Serialized list in string for save

| Improve this Doc View Source

RemoveMessageTab(String)

Remove tab by Neblio address if exists in the tabs

Declaration
public async Task<(bool, string)> RemoveMessageTab(string address)
Parameters
Type Name Description
System.String address

Neblio Address which tab should be removed

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with serialized tabs list as json string

| Improve this Doc View Source

RemoveSubAccount(String)

Remove Sub Account by Neblio address if exists in the dictionary Please remember that this function will destroy account. Please do backup first.

Declaration
public async Task<(bool, string)> RemoveSubAccount(string address)
Parameters
Type Name Description
System.String address

Neblio Address which tab should be removed

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with serialized subaccount account export dto list as json string

| Improve this Doc View Source

RemoveTab(String)

Remove tab by Neblio address if exists in the tabs

Declaration
public async Task<(bool, string)> RemoveTab(string address)
Parameters
Type Name Description
System.String address

Neblio Address which tab should be removed

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with serialized tabs list as json string

| Improve this Doc View Source

ReturnNFTPaymentFromSubAccount(String, String, INFT)

Return NFT Payment From SubAccount

Declaration
public async Task<(bool, string)> ReturnNFTPaymentFromSubAccount(string address, string receiver, INFT NFT)
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

System.String receiver

Receiver of the NFT

INFT NFT

NFT Payment on the SubAccount which should be return

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with new TxId

| Improve this Doc View Source

SelectMessageTab(String)

Select Message tab. It will Reload the tab NFTs if the count of the NFTs is 0.

Declaration
public async Task SelectMessageTab(string address)
Parameters
Type Name Description
System.String address

Address of Message Tab to select

Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

SelectTab(String)

Select active tab based on Address. It will deselect all other tabs This will start the refreshing for the selected tab if is not running yet and stop the others tabs refreshing.

Declaration
public async Task SelectTab(string address)
Parameters
Type Name Description
System.String address

Address of tab to select

Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

SendCoruzantNFTOnSubAccount(String, INFT, String, Boolean, String)

Change Coruzant NFT on SubAccount or send it to another address

Declaration
public async Task<(bool, string)> SendCoruzantNFTOnSubAccount(string address, INFT NFT, string comment = "", bool commentWrite = false, string receiver = "")
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

INFT NFT

NFT on the SubAccount which should be changed

System.String comment
System.Boolean commentWrite
System.String receiver
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with new TxId

| Improve this Doc View Source

SendNeblioOnSubAccount(String, String, Double, String)

Send Neblio Coin on SubAccount

Declaration
public async Task<(bool, string)> SendNeblioOnSubAccount(string address, string receiver, double amount, string message = "")
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

System.String receiver

receiver Neblio address

System.Double amount

amount of neblio

System.String message

optional message

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with new TxId

| Improve this Doc View Source

SendNeblioTokensOnSubAccount(String, String, IDictionary<String, String>, String, Int32)

Send Neblio Tokens on SubAccount

Declaration
public async Task<(bool, string)> SendNeblioTokensOnSubAccount(string address, string tokenId, IDictionary<string, string> meta, string receiver, int amount)
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

System.String tokenId

Neblio NTP1 token Id

System.Collections.Generic.IDictionary<System.String, System.String> meta

Metadata for transaction

System.String receiver

receiver Neblio address

System.Int32 amount

amount of neblio

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with new TxId

| Improve this Doc View Source

SendNFTFromSubAccount(String, String, INFT, Boolean, Boolean, Double, Boolean, Double)

Send NFT From SubAccount

Declaration
public async Task<(bool, string)> SendNFTFromSubAccount(string address, string receiver, INFT NFT, bool sendToMainAccount = false, bool withPrice = false, double price = 0, bool withDogePrice = false, double dogeprice = 0)
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

System.String receiver

Receiver of the NFT

INFT NFT

NFT on the SubAccount which should be send

System.Boolean sendToMainAccount

If this is set, function will rewrite receiver to main Account Address

System.Boolean withPrice
System.Double price
System.Boolean withDogePrice
System.Double dogeprice
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with new TxId

| Improve this Doc View Source

SerializeBookmarks()

Get serialized bookmarks list as string

Declaration
public string SerializeBookmarks()
Returns
Type Description
System.String
| Improve this Doc View Source

SerializeMessageTabs()

Return serialized list of MessageTabs as Json stirng

Declaration
public string SerializeMessageTabs()
Returns
Type Description
System.String
| Improve this Doc View Source

SerializeSubAccounts()

Returns serialized subaccount account export dto list as json string

Declaration
public string SerializeSubAccounts()
Returns
Type Description
System.String
| Improve this Doc View Source

SerializeTabs()

Return serialized list of ActiveTabs as Json stirng

Declaration
public string SerializeTabs()
Returns
Type Description
System.String
| Improve this Doc View Source

SplitNeblioOnSubAccount(String, List<String>, Int32, Double)

Split Neblio Coin on SubAccount

Declaration
public async Task<(bool, string)> SplitNeblioOnSubAccount(string address, List<string> receivers, int lots, double amount)
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

System.Collections.Generic.List<System.String> receivers
System.Int32 lots
System.Double amount
Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with new TxId

| Improve this Doc View Source

SplitNeblioTokensOnSubAccount(String, String, IDictionary<String, String>, List<String>, Int32, Int32)

Split Neblio Tokens on SubAccount

Declaration
public async Task<(bool, string)> SplitNeblioTokensOnSubAccount(string address, string tokenId, IDictionary<string, string> metadata, List<string> receivers, int lots, int amount)
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

System.String tokenId

Id of token to split

System.Collections.Generic.IDictionary<System.String, System.String> metadata

metadata

System.Collections.Generic.List<System.String> receivers

list of the receivers of the transaction.

System.Int32 lots

Number of lots on the Output of tx.

System.Int32 amount

Amount of the tokens in one lot.

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with new TxId

| Improve this Doc View Source

StartRefreshingData(Int32)

This function will load the actual data and then run the task which periodically refresh this data. It doesnt have cancellation now!

Declaration
public async Task<string> StartRefreshingData(int interval = 3000)
Parameters
Type Name Description
System.Int32 interval

Default interval is 3000 = 3 seconds

Returns
Type Description
System.Threading.Tasks.Task<System.String>
| Improve this Doc View Source

StopSubAccountAutorefreshing(String)

Stop autorefresh for specific SubAccount

Declaration
public async Task StopSubAccountAutorefreshing(string address)
Parameters
Type Name Description
System.String address
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

UseTicketNFTOnSubAccount(String, INFT)

Use Ticket NFT on SubAccount

Declaration
public async Task<(bool, string)> UseTicketNFTOnSubAccount(string address, INFT NFT)
Parameters
Type Name Description
System.String address

Neblio Address of SubAccount

INFT NFT

NFT on the SubAccount which should be changed

Returns
Type Description
System.Threading.Tasks.Task<System.ValueTuple<System.Boolean, System.String>>

true and string with new TxId

Events

| Improve this Doc View Source

AccountFirsLoadFinished

This event is called when first loading of the account is finished

Declaration
public event EventHandler<string> AccountFirsLoadFinished
Event Type
Type Description
System.EventHandler<System.String>
| Improve this Doc View Source

AddressesAirdroped

This event is fired whenever new lot of addresses was airdroped

Declaration
public event EventHandler<Dictionary<string, string>> AddressesAirdroped
Event Type
Type Description
System.EventHandler<System.Collections.Generic.Dictionary<System.String, System.String>>
| Improve this Doc View Source

FirsLoadingStatus

This event is called during first loading of the account to keep updated the user

Declaration
public event EventHandler<string> FirsLoadingStatus
Event Type
Type Description
System.EventHandler<System.String>
| Improve this Doc View Source

NewMintingProcessInfo

This event is called whenever some progress during multimint happens

Declaration
public event EventHandler<string> NewMintingProcessInfo
Event Type
Type Description
System.EventHandler<System.String>
| Improve this Doc View Source

Refreshed

This event is called whenever info about the address is reloaded. It is periodic event.

Declaration
public event EventHandler Refreshed
Event Type
Type Description
System.EventHandler
| Improve this Doc View Source

SubAccountNFTsChanged

This event is called whenever the list of NFTs on SubAccount is changed

Declaration
public event EventHandler<string> SubAccountNFTsChanged
Event Type
Type Description
System.EventHandler<System.String>
| Improve this Doc View Source

TabNFTsChanged

This event is called whenever the list of NFTs is changed

Declaration
public event EventHandler<string> TabNFTsChanged
Event Type
Type Description
System.EventHandler<System.String>