id | title |
---|---|
api-documentation |
API Documentation |
{% hint style="danger" %} WARNING! This package is deprecated and is no longer maintained and supported. {% endhint %}
public Api(HttpClient client)
Class Constructor.
Type | Name | Required | Description |
---|---|---|---|
HttpClient | client | Yes | Client |
Api
public Blocks(HttpClient client)
Blocks class constructor.
Type | Name | Required | Description |
---|---|---|---|
HttpClient | client | Yes | Client |
Blocks
public Response<List<Block>> All(Dictionary<string, string> parameters = null)
List All Blocks.
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query parameters |
Response<List<Block>>
public async Task<Response<List<Block>>> AllAsync(Dictionary<string, string> parameters = null)
List All Blocks.
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query parameters |
Task<Response<List<Block>>>
public Response<Block> Show(string id)
Retrieve a Block
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Block ID |
Response<Block>
public async Task<Response<Block>> ShowAsync(string id)
Retrieve a Block
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Block ID |
Task<Response<Block>>
public Response<List<Transaction>> Transactions(string id, Dictionary<string, string> parameters = null)
List All Transactions of a Block
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Block ID |
Dictionary | parameters | No | Query parameters |
Response<List<Transaction>>
public async Task<Response<List<Transaction>>> TransactionsAsync(string id, Dictionary<string, string> parameters = null)
List All Transactions of a Block
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Block ID |
Dictionary | parameters | No | Query parameters |
Task<Response<List<Transaction>>>
public Response<List<Block>> Search(Dictionary<string, string> parameters = null)
Search All Blocks
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Search parameters |
Response<List<Block>>
public async Task<Response<List<Block>>> SearchAsync(Dictionary<string, string> parameters = null)
Search All Blocks
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Search parameters |
Task<Response<List<Block>>>
public Delegates(HttpClient client)
Delegates class constructor.
Type | Name | Required | Description |
---|---|---|---|
HttpClient | client | Yes | Client |
Delegates
public Response<List<Delegate>> All(Dictionary<string, string> parameters = null)
List All Delegates
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query parameters |
<List<Delegate>>
public async Task<Response<List<Delegate>>> AllAsync(Dictionary<string, string> parameters = null)
List All Delegates
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query parameters |
Task<Response<List<Delegate>>>
public Response<Delegate> Show(string id)
Retrieve a Delegate
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Delegate identifier |
Response<Delegate>
public async Task<Response<Delegate>> ShowAsync(string id)
Retrieve a Delegate
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Delegate identifier |
Task<Response<Delegate>>
public Response<List<Block>> Blocks(string id, Dictionary<string, string> parameters = null)
List All Blocks of a Delegate
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Delegate identifier |
Dictionary | parameters | No | Query parameters |
Response<List<Block>>
public async Task<Response<List<Block>>> BlocksAsync(string id, Dictionary<string, string> parameters = null)
List All Blocks of a Delegate
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Delegate identifier |
Dictionary | parameters | No | Query parameters |
Task<Response<List<Block>>>
public Response<List<Wallet>> Voters(string id, Dictionary<string, string> parameters = null)
List All Voters of a Delegate
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Delegate identifier |
Dictionary | parameters | No | Query parameters |
Response<List<Wallet>>
public async Task<Response<List<Wallet>>> VotersAsync(string id, Dictionary<string, string> parameters = null)
List All Voters of a Delegate
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Delegate identifier |
Dictionary | parameters | No | Query parameters |
Task<Response<List<Wallet>>>
public Node(HttpClient client)
Node class constructor.
Type | Name | Required | Description |
---|---|---|---|
HttpClient | client | Yes | Client |
Node
public Response<NodeConfiguration> Configuration()
Retrieve the Configuration
Response<NodeConfiguration>
public async Task<Response<NodeConfiguration>> ConfigurationAsync()
Retrieve the Configuration
Task<Response<NodeConfiguration>>
public Response<NodeStatus> Status()
Retrieve the Status
Response<NodeStatus>
public async Task<Response<NodeStatus>> StatusAsync()
Retrieve the Status
Task<Response<NodeStatus>>
public Response<NodeSyncing> Syncing()
Retrieve the Syncing Status
Response<NodeSyncing>
public async Task<Response<NodeSyncing>> SyncingAsync()
Retrieve the Syncing Status
Task<Response<NodeSyncing>>
public Peers(HttpClient client)
Peers class constructor.
Type | Name | Required | Description |
---|---|---|---|
HttpClient | client | Yes | Client |
Peers
public Response<List<Peer>> All()
List All Peers
Response<List<Peer>>
public async Task<Response<List<Peer>>> AllAsync(Dictionary<string, string> parameters = null)
List All Peers
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query parameters |
Task<Response<List<Peer>>>
public Response<Peer> Show(string ip)
Retrive a Peer
Type | Name | Required | Description |
---|---|---|---|
string | ip | Yes | IP address |
Response<Peer>
public async Task<Response<Peer>> ShowAsync(string ip)
Retrive a Peer
Type | Name | Required | Description |
---|---|---|---|
string | ip | Yes | IP address |
Task<Response<Peer>>
public Transactions(HttpClient client)
Transactions class constructor.
Type | Name | Required | Description |
---|---|---|---|
HttpClient | client | Yes | Client |
Transactions
public Response<Transaction> Create(Dictionary<string, dynamic> parameters)
Create a Transaction
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | Yes | Query parameters |
Response<Transaction>
public async Task<Response<Transaction>> CreateAsync(Dictionary<string, dynamic> parameters)
Create a Transaction
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | Yes | Query parameters |
Task<Response<Transaction>>
public Response<Transaction> Show(string id)
Retrieve a Transaction
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Transaction ID |
Response<Transaction>
public async Task<Response<Transaction>> ShowAsync(string id)
Retrieve a Transaction
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Transaction ID |
Task<Response<Transaction>>
public Response<List<Transaction>> All(Dictionary<string, string> parameters = null)
List All Transactions
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query parameters |
Response<List<Transaction>>
public async Task<Response<List<Transaction>>> AllAsync(Dictionary<string, string> parameters = null)
List All Transactions
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query parameters |
Task<Response<List<Transaction>>>
public Response<List<Transaction>> AllUnconfirmed(Dictionary<string, string> parameters = null)
List All Unconfirmed Transactions
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query parameters |
Response<List<Transaction>>
public async Task<Response<List<Transaction>>> AllUnconfirmedAsync(Dictionary<string, string> parameters = null)
List All Unconfirmed Transactions
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query parameters |
Task<Response<List<Transaction>>>
public Response<List<Transaction>> ShowUnconfirmed(string id)
Get Unconfirmed Transaction
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Transaction ID |
Response<List<Transaction>>
public async Task<Response<List<Transaction>>> ShowUnconfirmedAsync(string id)
Get Unconfirmed Transaction
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Transaction ID |
Task<Response<List<Transaction>>>
public Response<List<Transaction>> Search(Dictionary<string, string> parameters)
Search Transactions
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | Yes | Search parameters |
Response<List<Transaction>>
public async Task<Response<List<Transaction>>> SearchAsync(Dictionary<string, string> parameters)
Search Transactions
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | Yes | Search parameters |
Task<Response<List<Transaction>>>
public Response<TransactionTypes> Types()
List Transaction Types
Response<TransactionTypes>
public async Task<Response<TransactionTypes>> TypesAsync()
List Transaction Types
Task<Response<TransactionTypes>>
public Votes(HttpClient client)
Votes class constructor.
Type | Name | Required | Description |
---|---|---|---|
HttpClient | client | Yes | Clients |
Votes
public Response<List<Transaction>> All(Dictionary<string, string> parameters = null)
List All Votes
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | Yes | Query parameters |
Response<List<Transaction>>
public async Task<Response<List<Transaction>>> AllAsync(Dictionary<string, string> parameters = null)
List All Votes
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | Yes | Query parameters |
Task<Response<List<Transaction>>>
public Response<Transaction> Show(string id)
Retrieve a Vote
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Vote ID |
Response<Transaction>
public async Task<Response<Transaction>> ShowAsync(string id)
Retrieve a Vote
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Vote ID |
Task<Response<Transaction>>
public Wallets(HttpClient client)
Wallets class constructor.
Type | Name | Required | Description |
---|---|---|---|
HttpClient | client | Yes | Client |
Wallets
public Response<List<Wallet>> All(Dictionary<string, string> parameters = null)
Retrieve All Wallets
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query Parameters |
Response<List<Wallet>>
public async Task<Response<List<Wallet>>> AllAsync(Dictionary<string, string> parameters = null)
Retrieve All Wallets
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query Parameters |
Task<Response<List<Wallet>>>
public Response<Wallet> Show(string id)
Retrieve a Wallet
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Wallet identifier |
Response<Wallet>
public async Task<Response<Wallet>> ShowAsync(string id)
Retrieve a Wallet
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Wallet identifier |
Task<Response<Wallet>>
public Response<List<Transaction>> Transactions(string id, Dictionary<string, string> parameters = null)
List All Transactions of a Wallet
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Wallet identifier |
Dictionary | parameters | No | Query parameters |
Response<List<Transaction>>
public async Task<Response<List<Transaction>>> TransactionsAsync(string id, Dictionary<string, string> parameters = null)
List All Transactions of a Wallet
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Wallet identifier |
Dictionary | parameters | No | Query parameters |
Task<Response<List<Transaction>>>
public Response<List<Transaction>> ReceivedTransactions(string id, Dictionary<string, string> parameters = null)
List All Received Transactions of a Wallet
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Wallet identifier |
Dictionary | parameters | No | Query parameters |
Response<List<Transaction>>
public async Task<Response<List<Transaction>>> ReceivedTransactionsAsync(string id, Dictionary<string, string> parameters = null)
List All Received Transactions of a Wallet
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Wallet identifier |
Dictionary | parameters | No | Query parameters |
Task<Response<List<Transaction>>>
public Response<List<Transaction>> SentTransactions(string id, Dictionary<string, string> parameters = null)
List All Sent Transactions of a Wallet
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Wallet identifier |
Dictionary | parameters | No | Query parameters |
Response<List<Transaction>>
public async Task<Response<List<Transaction>>> SentTransactionsAsync(string id, Dictionary<string, string> parameters = null)
List All Sent Transactions of a Wallet
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Wallet identifier |
Dictionary | parameters | No | Query parameters |
Task<Response<List<Transaction>>>
public Response<List<Transaction>> Votes(string id, Dictionary<string, string> parameters = null)
List All Votes of a Wallet
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Wallet identifier |
Dictionary | parameters | No | Query parameters |
Response<List<Transaction>>
public async Task<Response<List<Transaction>>> VotesAsync(string id, Dictionary<string, string> parameters = null)
List All Votes of a Wallet
Type | Name | Required | Description |
---|---|---|---|
string | id | Yes | Wallet identifier |
Dictionary | parameters | No | Query parameters |
Task<Response<List<Transaction>>>
public Response<List<Wallet>> Search(Dictionary<string, string> parameters)
List All Top Wallets
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | Yes | Search parameters |
Response<List<Wallet>>
public async Task<Response<List<Wallet>>> SearchAsync(Dictionary<string, string> parameters)
List All Top Wallets
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | Yes | Search parameters |
Task<Response<List<Wallet>>>
public Response<List<Wallet>> Top(Dictionary<string, string> parameters = null)
List All Top Wallets
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query parameters |
Response<List<Wallet>>
public async Task<Response<List<Wallet>>> TopAsync(Dictionary<string, string> parameters = null)
List All Top Wallets
Type | Name | Required | Description |
---|---|---|---|
Dictionary | parameters | No | Query parameters |
Task<Response<List<Wallet>>>
public Connection(HttpClient client)
Constructor of the Connection class.
Type | Name | Required | Description |
---|---|---|---|
HttpClient | client | Yes | Client |
Connection
public IConnection Connect(IConnection connection, string name = "main")
Constructor of the Connection class.
Type | Name | Required | Description |
---|---|---|---|
IConnection | connection | Yes | Connection instance |
string | name | No | Connection name |
IConnection
public void Disconnect(string name = null)
Disconnect from given connection.
Type | Name | Required | Description |
---|---|---|---|
string | name | No | Connection name |
void
public IConnection Connection(string name = null)
Get a connection instance.
Type | Name | Required | Description |
---|---|---|---|
string | name | No | Connection name |
IConnection
public string GetDefaultConnection()
Get the default connection name.
string
public void SetDefaultConnection(string name)
Set the default connection name.
Type | Name | Required | Description |
---|---|---|---|
string | name | No | Connection name |
void
public Dictionary<string, IConnection> GetConnections()
Return all of the created connections.
Dictionary<string, IConnection>