Interface IDefaultApi
Represents a collection of functions to interact with the API endpoints
Inherited Members
Namespace: Algorand.Algod.Api
Assembly: Algorand.dll
Syntax
public interface IDefaultApi : IApiAccessor
  Methods
| Improve this Doc View SourceAccountInformation(String)
Get account information.
Declaration
Account AccountInformation(string address)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
Returns
| Type | Description | 
|---|---|
| Account | Account  | 
      
Remarks
Given a specific account public key, this call returns the accounts status, balance and spendable amounts
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
AccountInformationAsync(String)
Get account information.
Declaration
Task<Account> AccountInformationAsync(string address)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<Account> | Task of Account  | 
      
Remarks
Given a specific account public key, this call returns the accounts status, balance and spendable amounts
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
AccountInformationAsyncWithHttpInfo(String)
Get account information.
Declaration
Task<ApiResponse<Account>> AccountInformationAsyncWithHttpInfo(string address)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<Account>> | Task of ApiResponse (Account)  | 
      
Remarks
Given a specific account public key, this call returns the accounts status, balance and spendable amounts
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
AccountInformationWithHttpInfo(String)
Get account information.
Declaration
ApiResponse<Account> AccountInformationWithHttpInfo(string address)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<Account> | ApiResponse of Account  | 
      
Remarks
Given a specific account public key, this call returns the accounts status, balance and spendable amounts
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
AssetInformation(Nullable<Int64>)
Get asset information.
Declaration
AssetParams AssetInformation(long? index)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | index | Asset index  | 
      
Returns
| Type | Description | 
|---|---|
| AssetParams | AssetParams  | 
      
Remarks
Given the asset's unique index, this call returns the asset's creator, manager, reserve, freeze, and clawback addresses
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
AssetInformationAsync(Nullable<Int64>)
Get asset information.
Declaration
Task<AssetParams> AssetInformationAsync(long? index)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | index | Asset index  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<AssetParams> | Task of AssetParams  | 
      
Remarks
Given the asset's unique index, this call returns the asset's creator, manager, reserve, freeze, and clawback addresses
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
AssetInformationAsyncWithHttpInfo(Nullable<Int64>)
Get asset information.
Declaration
Task<ApiResponse<AssetParams>> AssetInformationAsyncWithHttpInfo(long? index)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | index | Asset index  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<AssetParams>> | Task of ApiResponse (AssetParams)  | 
      
Remarks
Given the asset's unique index, this call returns the asset's creator, manager, reserve, freeze, and clawback addresses
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
AssetInformationWithHttpInfo(Nullable<Int64>)
Get asset information.
Declaration
ApiResponse<AssetParams> AssetInformationWithHttpInfo(long? index)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | index | Asset index  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<AssetParams> | ApiResponse of AssetParams  | 
      
Remarks
Given the asset's unique index, this call returns the asset's creator, manager, reserve, freeze, and clawback addresses
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
Assets(Nullable<Int64>, Nullable<Int64>)
List assets
Declaration
AssetList Assets(long? assetIdx = default(long? ), long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | assetIdx | Fetch assets with asset index <= assetIdx. If zero, fetch most recent assets. (optional)  | 
      
| System.Nullable<System.Int64> | max | Fetch no more than this many assets (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| AssetList | AssetList  | 
      
Remarks
Returns list of up to max assets, where the maximum assetIdx is <= assetIdx
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
AssetsAsync(Nullable<Int64>, Nullable<Int64>)
List assets
Declaration
Task<AssetList> AssetsAsync(long? assetIdx = default(long? ), long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | assetIdx | Fetch assets with asset index <= assetIdx. If zero, fetch most recent assets. (optional)  | 
      
| System.Nullable<System.Int64> | max | Fetch no more than this many assets (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<AssetList> | Task of AssetList  | 
      
Remarks
Returns list of up to max assets, where the maximum assetIdx is <= assetIdx
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
AssetsAsyncWithHttpInfo(Nullable<Int64>, Nullable<Int64>)
List assets
Declaration
Task<ApiResponse<AssetList>> AssetsAsyncWithHttpInfo(long? assetIdx = default(long? ), long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | assetIdx | Fetch assets with asset index <= assetIdx. If zero, fetch most recent assets. (optional)  | 
      
| System.Nullable<System.Int64> | max | Fetch no more than this many assets (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<AssetList>> | Task of ApiResponse (AssetList)  | 
      
Remarks
Returns list of up to max assets, where the maximum assetIdx is <= assetIdx
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
AssetsWithHttpInfo(Nullable<Int64>, Nullable<Int64>)
List assets
Declaration
ApiResponse<AssetList> AssetsWithHttpInfo(long? assetIdx = default(long? ), long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | assetIdx | Fetch assets with asset index <= assetIdx. If zero, fetch most recent assets. (optional)  | 
      
| System.Nullable<System.Int64> | max | Fetch no more than this many assets (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<AssetList> | ApiResponse of AssetList  | 
      
Remarks
Returns list of up to max assets, where the maximum assetIdx is <= assetIdx
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetBlock(Nullable<Int64>)
Get the block for the given round.
Declaration
Block GetBlock(long? round)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | round | The round from which to fetch block information.  | 
      
Returns
| Type | Description | 
|---|---|
| Block | Block  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetBlockAsync(Nullable<Int64>)
Get the block for the given round.
Declaration
Task<Block> GetBlockAsync(long? round)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | round | The round from which to fetch block information.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<Block> | Task of Block  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetBlockAsyncWithHttpInfo(Nullable<Int64>)
Get the block for the given round.
Declaration
Task<ApiResponse<Block>> GetBlockAsyncWithHttpInfo(long? round)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | round | The round from which to fetch block information.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<Block>> | Task of ApiResponse (Block)  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetBlockWithHttpInfo(Nullable<Int64>)
Get the block for the given round.
Declaration
ApiResponse<Block> GetBlockWithHttpInfo(long? round)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | round | The round from which to fetch block information.  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<Block> | ApiResponse of Block  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetPendingTransactions(Nullable<Int64>)
Get a list of unconfirmed transactions currently in the transaction pool.
Declaration
PendingTransactions GetPendingTransactions(long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | max | Truncated number of transactions to display. If max=0, returns all pending txns. (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| PendingTransactions | PendingTransactions  | 
      
Remarks
Get the list of pending transactions, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetPendingTransactionsAsync(Nullable<Int64>)
Get a list of unconfirmed transactions currently in the transaction pool.
Declaration
Task<PendingTransactions> GetPendingTransactionsAsync(long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | max | Truncated number of transactions to display. If max=0, returns all pending txns. (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<PendingTransactions> | Task of PendingTransactions  | 
      
Remarks
Get the list of pending transactions, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetPendingTransactionsAsyncWithHttpInfo(Nullable<Int64>)
Get a list of unconfirmed transactions currently in the transaction pool.
Declaration
Task<ApiResponse<PendingTransactions>> GetPendingTransactionsAsyncWithHttpInfo(long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | max | Truncated number of transactions to display. If max=0, returns all pending txns. (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<PendingTransactions>> | Task of ApiResponse (PendingTransactions)  | 
      
Remarks
Get the list of pending transactions, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetPendingTransactionsByAddress(String, Nullable<Int64>)
Get a list of unconfirmed transactions currently in the transaction pool by address.
Declaration
PendingTransactions GetPendingTransactionsByAddress(string addr, long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | addr | An account public key  | 
      
| System.Nullable<System.Int64> | max | Truncated number of transactions to display. If max=0, returns all pending txns. (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| PendingTransactions | PendingTransactions  | 
      
Remarks
Get the list of pending transactions by address, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetPendingTransactionsByAddressAsync(String, Nullable<Int64>)
Get a list of unconfirmed transactions currently in the transaction pool by address.
Declaration
Task<PendingTransactions> GetPendingTransactionsByAddressAsync(string addr, long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | addr | An account public key  | 
      
| System.Nullable<System.Int64> | max | Truncated number of transactions to display. If max=0, returns all pending txns. (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<PendingTransactions> | Task of PendingTransactions  | 
      
Remarks
Get the list of pending transactions by address, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetPendingTransactionsByAddressAsyncWithHttpInfo(String, Nullable<Int64>)
Get a list of unconfirmed transactions currently in the transaction pool by address.
Declaration
Task<ApiResponse<PendingTransactions>> GetPendingTransactionsByAddressAsyncWithHttpInfo(string addr, long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | addr | An account public key  | 
      
| System.Nullable<System.Int64> | max | Truncated number of transactions to display. If max=0, returns all pending txns. (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<PendingTransactions>> | Task of ApiResponse (PendingTransactions)  | 
      
Remarks
Get the list of pending transactions by address, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetPendingTransactionsByAddressWithHttpInfo(String, Nullable<Int64>)
Get a list of unconfirmed transactions currently in the transaction pool by address.
Declaration
ApiResponse<PendingTransactions> GetPendingTransactionsByAddressWithHttpInfo(string addr, long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | addr | An account public key  | 
      
| System.Nullable<System.Int64> | max | Truncated number of transactions to display. If max=0, returns all pending txns. (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<PendingTransactions> | ApiResponse of PendingTransactions  | 
      
Remarks
Get the list of pending transactions by address, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetPendingTransactionsWithHttpInfo(Nullable<Int64>)
Get a list of unconfirmed transactions currently in the transaction pool.
Declaration
ApiResponse<PendingTransactions> GetPendingTransactionsWithHttpInfo(long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | max | Truncated number of transactions to display. If max=0, returns all pending txns. (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<PendingTransactions> | ApiResponse of PendingTransactions  | 
      
Remarks
Get the list of pending transactions, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetStatus()
Gets the current node status.
Declaration
NodeStatus GetStatus()
  Returns
| Type | Description | 
|---|---|
| NodeStatus | NodeStatus  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetStatusAsync()
Gets the current node status.
Declaration
Task<NodeStatus> GetStatusAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<NodeStatus> | Task of NodeStatus  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetStatusAsyncWithHttpInfo()
Gets the current node status.
Declaration
Task<ApiResponse<NodeStatus>> GetStatusAsyncWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<NodeStatus>> | Task of ApiResponse (NodeStatus)  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetStatusWithHttpInfo()
Gets the current node status.
Declaration
ApiResponse<NodeStatus> GetStatusWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| ApiResponse<NodeStatus> | ApiResponse of NodeStatus  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetSupply()
Get the current supply reported by the ledger.
Declaration
Supply GetSupply()
  Returns
| Type | Description | 
|---|---|
| Supply | Supply  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetSupplyAsync()
Get the current supply reported by the ledger.
Declaration
Task<Supply> GetSupplyAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<Supply> | Task of Supply  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetSupplyAsyncWithHttpInfo()
Get the current supply reported by the ledger.
Declaration
Task<ApiResponse<Supply>> GetSupplyAsyncWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<Supply>> | Task of ApiResponse (Supply)  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetSupplyWithHttpInfo()
Get the current supply reported by the ledger.
Declaration
ApiResponse<Supply> GetSupplyWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| ApiResponse<Supply> | ApiResponse of Supply  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetVersion()
Declaration
Version GetVersion()
  Returns
| Type | Description | 
|---|---|
| Version | Version  | 
      
Remarks
Retrieves the current version
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetVersionAsync()
Declaration
Task<Version> GetVersionAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<Version> | Task of Version  | 
      
Remarks
Retrieves the current version
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetVersionAsyncWithHttpInfo()
Declaration
Task<ApiResponse<Version>> GetVersionAsyncWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<Version>> | Task of ApiResponse (Version)  | 
      
Remarks
Retrieves the current version
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
GetVersionWithHttpInfo()
Declaration
ApiResponse<Version> GetVersionWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| ApiResponse<Version> | ApiResponse of Version  | 
      
Remarks
Retrieves the current version
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
HealthCheck()
Returns OK if healthy.
Declaration
void HealthCheck()
  Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
HealthCheckAsync()
Returns OK if healthy.
Declaration
Task HealthCheckAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task | Task of void  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
HealthCheckAsyncWithHttpInfo()
Returns OK if healthy.
Declaration
Task<ApiResponse<object>> HealthCheckAsyncWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<System.Object>> | Task of ApiResponse  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
HealthCheckWithHttpInfo()
Returns OK if healthy.
Declaration
ApiResponse<object> HealthCheckWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| ApiResponse<System.Object> | ApiResponse of Object(void)  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
Metrics()
Return metrics about algod functioning.
Declaration
void Metrics()
  Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
MetricsAsync()
Return metrics about algod functioning.
Declaration
Task MetricsAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task | Task of void  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
MetricsAsyncWithHttpInfo()
Return metrics about algod functioning.
Declaration
Task<ApiResponse<object>> MetricsAsyncWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<System.Object>> | Task of ApiResponse  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
MetricsWithHttpInfo()
Return metrics about algod functioning.
Declaration
ApiResponse<object> MetricsWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| ApiResponse<System.Object> | ApiResponse of Object(void)  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
PendingTransactionInformation(String)
Get a specific pending transaction.
Declaration
Transaction PendingTransactionInformation(string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| Transaction | Transaction  | 
      
Remarks
Given a transaction id of a recently submitted transaction, it returns information about it. There are several cases when this might succeed: - transaction committed (committed round > 0) - transaction still in the pool (committed round = 0, pool error = "") - transaction removed from pool due to error (committed round = 0, pool error != "") Or the transaction may have happened sufficiently long ago that the node no longer remembers it, and this will return an error.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
PendingTransactionInformationAsync(String)
Get a specific pending transaction.
Declaration
Task<Transaction> PendingTransactionInformationAsync(string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<Transaction> | Task of Transaction  | 
      
Remarks
Given a transaction id of a recently submitted transaction, it returns information about it. There are several cases when this might succeed: - transaction committed (committed round > 0) - transaction still in the pool (committed round = 0, pool error = "") - transaction removed from pool due to error (committed round = 0, pool error != "") Or the transaction may have happened sufficiently long ago that the node no longer remembers it, and this will return an error.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
PendingTransactionInformationAsyncWithHttpInfo(String)
Get a specific pending transaction.
Declaration
Task<ApiResponse<Transaction>> PendingTransactionInformationAsyncWithHttpInfo(string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<Transaction>> | Task of ApiResponse (Transaction)  | 
      
Remarks
Given a transaction id of a recently submitted transaction, it returns information about it. There are several cases when this might succeed: - transaction committed (committed round > 0) - transaction still in the pool (committed round = 0, pool error = "") - transaction removed from pool due to error (committed round = 0, pool error != "") Or the transaction may have happened sufficiently long ago that the node no longer remembers it, and this will return an error.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
PendingTransactionInformationWithHttpInfo(String)
Get a specific pending transaction.
Declaration
ApiResponse<Transaction> PendingTransactionInformationWithHttpInfo(string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<Transaction> | ApiResponse of Transaction  | 
      
Remarks
Given a transaction id of a recently submitted transaction, it returns information about it. There are several cases when this might succeed: - transaction committed (committed round > 0) - transaction still in the pool (committed round = 0, pool error = "") - transaction removed from pool due to error (committed round = 0, pool error != "") Or the transaction may have happened sufficiently long ago that the node no longer remembers it, and this will return an error.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
RawTransaction(Byte[])
Broadcasts a raw transaction to the network.
Declaration
TransactionID RawTransaction(byte[] body)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Byte[] | body | The byte encoded signed transaction to broadcast to network  | 
      
Returns
| Type | Description | 
|---|---|
| TransactionID | TransactionID  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
RawTransactionAsync(String)
Broadcasts a raw transaction to the network.
Declaration
Task<TransactionID> RawTransactionAsync(string body)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | body | The byte encoded signed transaction to broadcast to network  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<TransactionID> | Task of TransactionID  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
RawTransactionAsyncWithHttpInfo(String)
Broadcasts a raw transaction to the network.
Declaration
Task<ApiResponse<TransactionID>> RawTransactionAsyncWithHttpInfo(string body)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | body | The byte encoded signed transaction to broadcast to network  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<TransactionID>> | Task of ApiResponse (TransactionID)  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
RawTransactionWithHttpInfo(Byte[])
Broadcasts a raw transaction to the network.
Declaration
ApiResponse<TransactionID> RawTransactionWithHttpInfo(byte[] body)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Byte[] | body | The byte encoded signed transaction to broadcast to network  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<TransactionID> | ApiResponse of TransactionID  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
SuggestedFee()
Get the suggested fee
Declaration
TransactionFee SuggestedFee()
  Returns
| Type | Description | 
|---|---|
| TransactionFee | TransactionFee  | 
      
Remarks
Suggested Fee is returned in units of micro-Algos per byte. Suggested Fee may fall to zero but submitted transactions must still have a fee of at least MinTxnFee for the current network protocol.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
SuggestedFeeAsync()
Get the suggested fee
Declaration
Task<TransactionFee> SuggestedFeeAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<TransactionFee> | Task of TransactionFee  | 
      
Remarks
Suggested Fee is returned in units of micro-Algos per byte. Suggested Fee may fall to zero but submitted transactions must still have a fee of at least MinTxnFee for the current network protocol.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
SuggestedFeeAsyncWithHttpInfo()
Get the suggested fee
Declaration
Task<ApiResponse<TransactionFee>> SuggestedFeeAsyncWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<TransactionFee>> | Task of ApiResponse (TransactionFee)  | 
      
Remarks
Suggested Fee is returned in units of micro-Algos per byte. Suggested Fee may fall to zero but submitted transactions must still have a fee of at least MinTxnFee for the current network protocol.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
SuggestedFeeWithHttpInfo()
Get the suggested fee
Declaration
ApiResponse<TransactionFee> SuggestedFeeWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| ApiResponse<TransactionFee> | ApiResponse of TransactionFee  | 
      
Remarks
Suggested Fee is returned in units of micro-Algos per byte. Suggested Fee may fall to zero but submitted transactions must still have a fee of at least MinTxnFee for the current network protocol.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
SwaggerJSON()
Gets the current swagger spec.
Declaration
string SwaggerJSON()
  Returns
| Type | Description | 
|---|---|
| System.String | string  | 
      
Remarks
Returns the entire swagger spec in json.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
SwaggerJSONAsync()
Gets the current swagger spec.
Declaration
Task<string> SwaggerJSONAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<System.String> | Task of string  | 
      
Remarks
Returns the entire swagger spec in json.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
SwaggerJSONAsyncWithHttpInfo()
Gets the current swagger spec.
Declaration
Task<ApiResponse<string>> SwaggerJSONAsyncWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<System.String>> | Task of ApiResponse (string)  | 
      
Remarks
Returns the entire swagger spec in json.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
SwaggerJSONWithHttpInfo()
Gets the current swagger spec.
Declaration
ApiResponse<string> SwaggerJSONWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| ApiResponse<System.String> | ApiResponse of string  | 
      
Remarks
Returns the entire swagger spec in json.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
Transaction(String)
Get an information of a single transaction.
Declaration
Transaction Transaction(string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| Transaction | Transaction  | 
      
Remarks
Returns the transaction information of the given txid. Works only if the indexer is enabled.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionAsync(String)
Get an information of a single transaction.
Declaration
Task<Transaction> TransactionAsync(string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<Transaction> | Task of Transaction  | 
      
Remarks
Returns the transaction information of the given txid. Works only if the indexer is enabled.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionAsyncWithHttpInfo(String)
Get an information of a single transaction.
Declaration
Task<ApiResponse<Transaction>> TransactionAsyncWithHttpInfo(string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<Transaction>> | Task of ApiResponse (Transaction)  | 
      
Remarks
Returns the transaction information of the given txid. Works only if the indexer is enabled.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionInformation(String, String)
Get a specific confirmed transaction.
Declaration
Transaction TransactionInformation(string address, string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| Transaction | Transaction  | 
      
Remarks
Given a wallet address and a transaction id, it returns the confirmed transaction information. This call scans up to <CurrentProtocol>.MaxTxnLife blocks in the past.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionInformationAsync(String, String)
Get a specific confirmed transaction.
Declaration
Task<Transaction> TransactionInformationAsync(string address, string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<Transaction> | Task of Transaction  | 
      
Remarks
Given a wallet address and a transaction id, it returns the confirmed transaction information. This call scans up to <CurrentProtocol>.MaxTxnLife blocks in the past.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionInformationAsyncWithHttpInfo(String, String)
Get a specific confirmed transaction.
Declaration
Task<ApiResponse<Transaction>> TransactionInformationAsyncWithHttpInfo(string address, string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<Transaction>> | Task of ApiResponse (Transaction)  | 
      
Remarks
Given a wallet address and a transaction id, it returns the confirmed transaction information. This call scans up to <CurrentProtocol>.MaxTxnLife blocks in the past.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionInformationWithHttpInfo(String, String)
Get a specific confirmed transaction.
Declaration
ApiResponse<Transaction> TransactionInformationWithHttpInfo(string address, string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<Transaction> | ApiResponse of Transaction  | 
      
Remarks
Given a wallet address and a transaction id, it returns the confirmed transaction information. This call scans up to <CurrentProtocol>.MaxTxnLife blocks in the past.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionParams()
Get parameters for constructing a new transaction
Declaration
TransactionParams TransactionParams()
  Returns
| Type | Description | 
|---|---|
| TransactionParams | TransactionParams  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionParamsAsync()
Get parameters for constructing a new transaction
Declaration
Task<TransactionParams> TransactionParamsAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<TransactionParams> | Task of TransactionParams  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionParamsAsyncWithHttpInfo()
Get parameters for constructing a new transaction
Declaration
Task<ApiResponse<TransactionParams>> TransactionParamsAsyncWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<TransactionParams>> | Task of ApiResponse (TransactionParams)  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionParamsWithHttpInfo()
Get parameters for constructing a new transaction
Declaration
ApiResponse<TransactionParams> TransactionParamsWithHttpInfo()
  Returns
| Type | Description | 
|---|---|
| ApiResponse<TransactionParams> | ApiResponse of TransactionParams  | 
      
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
Transactions(String, Nullable<Int64>, Nullable<Int64>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int64>)
Get a list of confirmed transactions.
Declaration
TransactionList Transactions(string address, long? firstRound = default(long? ), long? lastRound = default(long? ), DateTime? fromDate = default(DateTime? ), DateTime? toDate = default(DateTime? ), long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
| System.Nullable<System.Int64> | firstRound | Do not fetch any transactions before this round. (optional)  | 
      
| System.Nullable<System.Int64> | lastRound | Do not fetch any transactions after this round. (optional)  | 
      
| System.Nullable<System.DateTime> | fromDate | Do not fetch any transactions before this date. (enabled only with indexer) (optional)  | 
      
| System.Nullable<System.DateTime> | toDate | Do not fetch any transactions after this date. (enabled only with indexer) (optional)  | 
      
| System.Nullable<System.Int64> | max | maximum transactions to show (default to 100) (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| TransactionList | TransactionList  | 
      
Remarks
Returns the list of confirmed transactions between within a date range. This call is available only when the indexer is running.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionsAsync(String, Nullable<Int64>, Nullable<Int64>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int64>)
Get a list of confirmed transactions.
Declaration
Task<TransactionList> TransactionsAsync(string address, long? firstRound = default(long? ), long? lastRound = default(long? ), DateTime? fromDate = default(DateTime? ), DateTime? toDate = default(DateTime? ), long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
| System.Nullable<System.Int64> | firstRound | Do not fetch any transactions before this round. (optional)  | 
      
| System.Nullable<System.Int64> | lastRound | Do not fetch any transactions after this round. (optional)  | 
      
| System.Nullable<System.DateTime> | fromDate | Do not fetch any transactions before this date. (enabled only with indexer) (optional)  | 
      
| System.Nullable<System.DateTime> | toDate | Do not fetch any transactions after this date. (enabled only with indexer) (optional)  | 
      
| System.Nullable<System.Int64> | max | maximum transactions to show (default to 100) (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<TransactionList> | Task of TransactionList  | 
      
Remarks
Returns the list of confirmed transactions between within a date range. This call is available only when the indexer is running.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionsAsyncWithHttpInfo(String, Nullable<Int64>, Nullable<Int64>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int64>)
Get a list of confirmed transactions.
Declaration
Task<ApiResponse<TransactionList>> TransactionsAsyncWithHttpInfo(string address, long? firstRound = default(long? ), long? lastRound = default(long? ), DateTime? fromDate = default(DateTime? ), DateTime? toDate = default(DateTime? ), long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
| System.Nullable<System.Int64> | firstRound | Do not fetch any transactions before this round. (optional)  | 
      
| System.Nullable<System.Int64> | lastRound | Do not fetch any transactions after this round. (optional)  | 
      
| System.Nullable<System.DateTime> | fromDate | Do not fetch any transactions before this date. (enabled only with indexer) (optional)  | 
      
| System.Nullable<System.DateTime> | toDate | Do not fetch any transactions after this date. (enabled only with indexer) (optional)  | 
      
| System.Nullable<System.Int64> | max | maximum transactions to show (default to 100) (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<TransactionList>> | Task of ApiResponse (TransactionList)  | 
      
Remarks
Returns the list of confirmed transactions between within a date range. This call is available only when the indexer is running.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionsWithHttpInfo(String, Nullable<Int64>, Nullable<Int64>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int64>)
Get a list of confirmed transactions.
Declaration
ApiResponse<TransactionList> TransactionsWithHttpInfo(string address, long? firstRound = default(long? ), long? lastRound = default(long? ), DateTime? fromDate = default(DateTime? ), DateTime? toDate = default(DateTime? ), long? max = default(long? ))
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | address | An account public key  | 
      
| System.Nullable<System.Int64> | firstRound | Do not fetch any transactions before this round. (optional)  | 
      
| System.Nullable<System.Int64> | lastRound | Do not fetch any transactions after this round. (optional)  | 
      
| System.Nullable<System.DateTime> | fromDate | Do not fetch any transactions before this date. (enabled only with indexer) (optional)  | 
      
| System.Nullable<System.DateTime> | toDate | Do not fetch any transactions after this date. (enabled only with indexer) (optional)  | 
      
| System.Nullable<System.Int64> | max | maximum transactions to show (default to 100) (optional)  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<TransactionList> | ApiResponse of TransactionList  | 
      
Remarks
Returns the list of confirmed transactions between within a date range. This call is available only when the indexer is running.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
TransactionWithHttpInfo(String)
Get an information of a single transaction.
Declaration
ApiResponse<Transaction> TransactionWithHttpInfo(string txid)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | txid | A transaction id  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<Transaction> | ApiResponse of Transaction  | 
      
Remarks
Returns the transaction information of the given txid. Works only if the indexer is enabled.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
WaitForBlock(Nullable<Int64>)
Gets the node status after waiting for the given round.
Declaration
NodeStatus WaitForBlock(long? round)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | round | The round to wait until returning status  | 
      
Returns
| Type | Description | 
|---|---|
| NodeStatus | NodeStatus  | 
      
Remarks
Waits for a block to appear after round {round} and returns the node's status at the time.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
WaitForBlockAsync(Nullable<Int64>)
Gets the node status after waiting for the given round.
Declaration
Task<NodeStatus> WaitForBlockAsync(long? round)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | round | The round to wait until returning status  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<NodeStatus> | Task of NodeStatus  | 
      
Remarks
Waits for a block to appear after round {round} and returns the node's status at the time.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
WaitForBlockAsyncWithHttpInfo(Nullable<Int64>)
Gets the node status after waiting for the given round.
Declaration
Task<ApiResponse<NodeStatus>> WaitForBlockAsyncWithHttpInfo(long? round)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | round | The round to wait until returning status  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<ApiResponse<NodeStatus>> | Task of ApiResponse (NodeStatus)  | 
      
Remarks
Waits for a block to appear after round {round} and returns the node's status at the time.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  | 
      
WaitForBlockWithHttpInfo(Nullable<Int64>)
Gets the node status after waiting for the given round.
Declaration
ApiResponse<NodeStatus> WaitForBlockWithHttpInfo(long? round)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Nullable<System.Int64> | round | The round to wait until returning status  | 
      
Returns
| Type | Description | 
|---|---|
| ApiResponse<NodeStatus> | ApiResponse of NodeStatus  | 
      
Remarks
Waits for a block to appear after round {round} and returns the node's status at the time.
Exceptions
| Type | Condition | 
|---|---|
| ApiException | Thrown when fails to make API call  |