C# Class Bitnet.Client.BitnetClient

Inheritance: IBitnetClient
Show file Open project: iancoleman/bitcoin-qr-popup Class Usage Examples

Public Properties

Property Type Description
Credentials ICredentials
Url System.Uri

Public Methods

Method Description
BackupWallet ( string a_destination ) : void
BitnetClient ( ) : System
BitnetClient ( string a_sUri ) : System
GetAccount ( string a_address ) : string
GetAccountAddress ( string a_account ) : string
GetAddressesByAccount ( string a_account ) : IEnumerable
GetBalance ( string a_account = null, int a_minconf = 1 ) : float
GetBlockByCount ( int a_height ) : string
GetBlockCount ( ) : int
GetBlockNumber ( ) : int
GetConnectionCount ( ) : int
GetDifficulty ( ) : float
GetGenerate ( ) : bool
GetHashesPerSec ( ) : float
GetInfo ( ) : Newtonsoft.Json.Linq.JObject
GetNewAddress ( string a_account ) : string
GetReceivedByAccount ( string a_account, int a_minconf = 1 ) : float
GetReceivedByAddress ( string a_address, int a_minconf = 1 ) : float
GetTransaction ( string a_txid ) : Newtonsoft.Json.Linq.JObject
GetWork ( ) : Newtonsoft.Json.Linq.JObject
GetWork ( string a_data ) : bool
Help ( string a_command = "" ) : string
InvokeMethod ( string a_sMethod ) : Newtonsoft.Json.Linq.JObject
ListAccounts ( int a_minconf = 1 ) : Newtonsoft.Json.Linq.JObject
ListReceivedByAccount ( int a_minconf = 1, bool a_includeEmpty = false ) : Newtonsoft.Json.Linq.JArray
ListReceivedByAddress ( int a_minconf = 1, bool a_includeEmpty = false ) : Newtonsoft.Json.Linq.JArray
ListTransactions ( string a_account, int a_count = 10 ) : Newtonsoft.Json.Linq.JArray
Move ( string a_fromAccount, string a_toAccount, float a_amount, int a_minconf = 1, string a_comment = "" ) : bool
SendFrom ( string a_fromAccount, string a_toAddress, float a_amount, int a_minconf = 1, string a_comment = "", string a_commentTo = "" ) : string
SendToAddress ( string a_address, float a_amount, string a_comment, string a_commentTo ) : string
SetAccount ( string a_address, string a_account ) : void
SetGenerate ( bool a_generate, int a_genproclimit = 1 ) : void
Stop ( ) : void
ValidateAddress ( string a_address ) : Newtonsoft.Json.Linq.JObject
WalletPassphrase ( string a_passphrase, int a_unlock_period_seconds = 1 ) : Newtonsoft.Json.Linq.JObject

Method Details

BackupWallet() public method

public BackupWallet ( string a_destination ) : void
a_destination string
return void

BitnetClient() public method

public BitnetClient ( ) : System
return System

BitnetClient() public method

public BitnetClient ( string a_sUri ) : System
a_sUri string
return System

GetAccount() public method

public GetAccount ( string a_address ) : string
a_address string
return string

GetAccountAddress() public method

public GetAccountAddress ( string a_account ) : string
a_account string
return string

GetAddressesByAccount() public method

public GetAddressesByAccount ( string a_account ) : IEnumerable
a_account string
return IEnumerable

GetBalance() public method

public GetBalance ( string a_account = null, int a_minconf = 1 ) : float
a_account string
a_minconf int
return float

GetBlockByCount() public method

public GetBlockByCount ( int a_height ) : string
a_height int
return string

GetBlockCount() public method

public GetBlockCount ( ) : int
return int

GetBlockNumber() public method

public GetBlockNumber ( ) : int
return int

GetConnectionCount() public method

public GetConnectionCount ( ) : int
return int

GetDifficulty() public method

public GetDifficulty ( ) : float
return float

GetGenerate() public method

public GetGenerate ( ) : bool
return bool

GetHashesPerSec() public method

public GetHashesPerSec ( ) : float
return float

GetInfo() public method

public GetInfo ( ) : Newtonsoft.Json.Linq.JObject
return Newtonsoft.Json.Linq.JObject

GetNewAddress() public method

public GetNewAddress ( string a_account ) : string
a_account string
return string

GetReceivedByAccount() public method

public GetReceivedByAccount ( string a_account, int a_minconf = 1 ) : float
a_account string
a_minconf int
return float

GetReceivedByAddress() public method

public GetReceivedByAddress ( string a_address, int a_minconf = 1 ) : float
a_address string
a_minconf int
return float

GetTransaction() public method

public GetTransaction ( string a_txid ) : Newtonsoft.Json.Linq.JObject
a_txid string
return Newtonsoft.Json.Linq.JObject

GetWork() public method

public GetWork ( ) : Newtonsoft.Json.Linq.JObject
return Newtonsoft.Json.Linq.JObject

GetWork() public method

public GetWork ( string a_data ) : bool
a_data string
return bool

Help() public method

public Help ( string a_command = "" ) : string
a_command string
return string

InvokeMethod() public method

public InvokeMethod ( string a_sMethod ) : Newtonsoft.Json.Linq.JObject
a_sMethod string
return Newtonsoft.Json.Linq.JObject

ListAccounts() public method

public ListAccounts ( int a_minconf = 1 ) : Newtonsoft.Json.Linq.JObject
a_minconf int
return Newtonsoft.Json.Linq.JObject

ListReceivedByAccount() public method

public ListReceivedByAccount ( int a_minconf = 1, bool a_includeEmpty = false ) : Newtonsoft.Json.Linq.JArray
a_minconf int
a_includeEmpty bool
return Newtonsoft.Json.Linq.JArray

ListReceivedByAddress() public method

public ListReceivedByAddress ( int a_minconf = 1, bool a_includeEmpty = false ) : Newtonsoft.Json.Linq.JArray
a_minconf int
a_includeEmpty bool
return Newtonsoft.Json.Linq.JArray

ListTransactions() public method

public ListTransactions ( string a_account, int a_count = 10 ) : Newtonsoft.Json.Linq.JArray
a_account string
a_count int
return Newtonsoft.Json.Linq.JArray

Move() public method

public Move ( string a_fromAccount, string a_toAccount, float a_amount, int a_minconf = 1, string a_comment = "" ) : bool
a_fromAccount string
a_toAccount string
a_amount float
a_minconf int
a_comment string
return bool

SendFrom() public method

public SendFrom ( string a_fromAccount, string a_toAddress, float a_amount, int a_minconf = 1, string a_comment = "", string a_commentTo = "" ) : string
a_fromAccount string
a_toAddress string
a_amount float
a_minconf int
a_comment string
a_commentTo string
return string

SendToAddress() public method

public SendToAddress ( string a_address, float a_amount, string a_comment, string a_commentTo ) : string
a_address string
a_amount float
a_comment string
a_commentTo string
return string

SetAccount() public method

public SetAccount ( string a_address, string a_account ) : void
a_address string
a_account string
return void

SetGenerate() public method

public SetGenerate ( bool a_generate, int a_genproclimit = 1 ) : void
a_generate bool
a_genproclimit int
return void

Stop() public method

public Stop ( ) : void
return void

ValidateAddress() public method

public ValidateAddress ( string a_address ) : Newtonsoft.Json.Linq.JObject
a_address string
return Newtonsoft.Json.Linq.JObject

WalletPassphrase() public method

public WalletPassphrase ( string a_passphrase, int a_unlock_period_seconds = 1 ) : Newtonsoft.Json.Linq.JObject
a_passphrase string
a_unlock_period_seconds int
return Newtonsoft.Json.Linq.JObject

Property Details

Credentials public property

public ICredentials Credentials
return ICredentials

Url public property

public Uri,System Url
return System.Uri