Class Api
Inheritance
Implements
Inherited Members
Namespace: Algorand.KMD
Assembly: Algorand.dll
Syntax
public class Api : IApi
Constructors
| Improve this Doc View SourceApi(HttpClient)
Declaration
public Api(HttpClient httpClient)
Parameters
Type | Name | Description |
---|---|---|
System.Net.Http.HttpClient | httpClient |
Properties
| Improve this Doc View SourceBaseUrl
Declaration
public string BaseUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
JsonSerializerSettings
Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
Type | Description |
---|---|
Newtonsoft.Json.JsonSerializerSettings |
ReadResponseAsString
Declaration
public bool ReadResponseAsString { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Improve this Doc View SourceCreateWalletAsync(CreateWalletRequest, CancellationToken)
Create a wallet
Declaration
public virtual Task<APIV1POSTWalletResponse> CreateWalletAsync(CreateWalletRequest create_Wallet_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CreateWalletRequest | create_Wallet_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
CreateWalletAsync(CreateWalletRequest)
Create a wallet
Declaration
public virtual Task<APIV1POSTWalletResponse> CreateWalletAsync(CreateWalletRequest create_Wallet_Request)
Parameters
Type | Name | Description |
---|---|---|
CreateWalletRequest | create_Wallet_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
DeleteKeyAsync(DeleteKeyRequest, CancellationToken)
Delete a key
Declaration
public virtual Task<APIV1DELETEKeyResponse> DeleteKeyAsync(DeleteKeyRequest delete_Key_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteKeyRequest | delete_Key_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1DELETEKeyResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
DeleteKeyAsync(DeleteKeyRequest)
Delete a key
Declaration
public virtual Task<APIV1DELETEKeyResponse> DeleteKeyAsync(DeleteKeyRequest delete_Key_Request)
Parameters
Type | Name | Description |
---|---|---|
DeleteKeyRequest | delete_Key_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1DELETEKeyResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
DeleteMultisigAsync(DeleteMultisigRequest, CancellationToken)
Delete a multisig
Declaration
public virtual Task<APIV1DELETEMultisigResponse> DeleteMultisigAsync(DeleteMultisigRequest delete_Multisig_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
DeleteMultisigRequest | delete_Multisig_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1DELETEMultisigResponse> | Response to POST /v1/multisig/delete |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
DeleteMultisigAsync(DeleteMultisigRequest)
Delete a multisig
Declaration
public virtual Task<APIV1DELETEMultisigResponse> DeleteMultisigAsync(DeleteMultisigRequest delete_Multisig_Request)
Parameters
Type | Name | Description |
---|---|---|
DeleteMultisigRequest | delete_Multisig_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1DELETEMultisigResponse> | Response to POST /v1/multisig/delete |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ExportKeyAsync(ExportKeyRequest, CancellationToken)
Export a key
Declaration
public virtual Task<APIV1POSTKeyExportResponse> ExportKeyAsync(ExportKeyRequest export_Key_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ExportKeyRequest | export_Key_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTKeyExportResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ExportKeyAsync(ExportKeyRequest)
Export a key
Declaration
public virtual Task<APIV1POSTKeyExportResponse> ExportKeyAsync(ExportKeyRequest export_Key_Request)
Parameters
Type | Name | Description |
---|---|---|
ExportKeyRequest | export_Key_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTKeyExportResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ExportMasterKeyAsync(ExportMasterKeyRequest, CancellationToken)
Export the master derivation key from a wallet
Declaration
public virtual Task<APIV1POSTMasterKeyExportResponse> ExportMasterKeyAsync(ExportMasterKeyRequest export_Master_Key_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ExportMasterKeyRequest | export_Master_Key_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMasterKeyExportResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ExportMasterKeyAsync(ExportMasterKeyRequest)
Export the master derivation key from a wallet
Declaration
public virtual Task<APIV1POSTMasterKeyExportResponse> ExportMasterKeyAsync(ExportMasterKeyRequest export_Master_Key_Request)
Parameters
Type | Name | Description |
---|---|---|
ExportMasterKeyRequest | export_Master_Key_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMasterKeyExportResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ExportMultisigAsync(ExportMultisigRequest, CancellationToken)
Export multisig address metadata
Declaration
public virtual Task<APIV1POSTMultisigExportResponse> ExportMultisigAsync(ExportMultisigRequest export_Multisig_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ExportMultisigRequest | export_Multisig_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMultisigExportResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ExportMultisigAsync(ExportMultisigRequest)
Export multisig address metadata
Declaration
public virtual Task<APIV1POSTMultisigExportResponse> ExportMultisigAsync(ExportMultisigRequest export_Multisig_Request)
Parameters
Type | Name | Description |
---|---|---|
ExportMultisigRequest | export_Multisig_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMultisigExportResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
GenerateKeyAsync(GenerateKeyRequest, CancellationToken)
Generate a key
Declaration
public virtual Task<APIV1POSTKeyResponse> GenerateKeyAsync(GenerateKeyRequest generate_Key_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
GenerateKeyRequest | generate_Key_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTKeyResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
GenerateKeyAsync(GenerateKeyRequest)
Generate a key
Declaration
public virtual Task<APIV1POSTKeyResponse> GenerateKeyAsync(GenerateKeyRequest generate_Key_Request)
Parameters
Type | Name | Description |
---|---|---|
GenerateKeyRequest | generate_Key_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTKeyResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
GetVersionAsync(object, CancellationToken)
Retrieves the current version
Declaration
public virtual Task<VersionsResponse> GetVersionAsync(object versions_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
object | versions_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><VersionsResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
GetVersionAsync(object)
Retrieves the current version
Declaration
public virtual Task<VersionsResponse> GetVersionAsync(object versions_Request)
Parameters
Type | Name | Description |
---|---|---|
object | versions_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><VersionsResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
GetWalletInfoAsync(WalletInfoRequest, CancellationToken)
Get wallet info
Declaration
public virtual Task<APIV1POSTWalletInfoResponse> GetWalletInfoAsync(WalletInfoRequest get_Wallet_Info_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
WalletInfoRequest | get_Wallet_Info_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletInfoResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
GetWalletInfoAsync(WalletInfoRequest)
Get wallet info
Declaration
public virtual Task<APIV1POSTWalletInfoResponse> GetWalletInfoAsync(WalletInfoRequest get_Wallet_Info_Request)
Parameters
Type | Name | Description |
---|---|---|
WalletInfoRequest | get_Wallet_Info_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletInfoResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ImportKeyAsync(ImportKeyRequest, CancellationToken)
Import a key
Declaration
public virtual Task<APIV1POSTKeyImportResponse> ImportKeyAsync(ImportKeyRequest import_Key_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ImportKeyRequest | import_Key_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTKeyImportResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ImportKeyAsync(ImportKeyRequest)
Import a key
Declaration
public virtual Task<APIV1POSTKeyImportResponse> ImportKeyAsync(ImportKeyRequest import_Key_Request)
Parameters
Type | Name | Description |
---|---|---|
ImportKeyRequest | import_Key_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTKeyImportResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ImportMultisigAsync(ImportMultisigRequest, CancellationToken)
Import a multisig account
Declaration
public virtual Task<APIV1POSTMultisigImportResponse> ImportMultisigAsync(ImportMultisigRequest import_Multisig_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ImportMultisigRequest | import_Multisig_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMultisigImportResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ImportMultisigAsync(ImportMultisigRequest)
Import a multisig account
Declaration
public virtual Task<APIV1POSTMultisigImportResponse> ImportMultisigAsync(ImportMultisigRequest import_Multisig_Request)
Parameters
Type | Name | Description |
---|---|---|
ImportMultisigRequest | import_Multisig_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMultisigImportResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
InitWalletHandleTokenAsync(InitWalletHandleTokenRequest, CancellationToken)
Initialize a wallet handle token
Declaration
public virtual Task<APIV1POSTWalletInitResponse> InitWalletHandleTokenAsync(InitWalletHandleTokenRequest initialize_Wallet_Handle_Token_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
InitWalletHandleTokenRequest | initialize_Wallet_Handle_Token_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletInitResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
InitWalletHandleTokenAsync(InitWalletHandleTokenRequest)
Initialize a wallet handle token
Declaration
public virtual Task<APIV1POSTWalletInitResponse> InitWalletHandleTokenAsync(InitWalletHandleTokenRequest initialize_Wallet_Handle_Token_Request)
Parameters
Type | Name | Description |
---|---|---|
InitWalletHandleTokenRequest | initialize_Wallet_Handle_Token_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletInitResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ListKeysInWalletAsync(ListKeysRequest, CancellationToken)
List keys in wallet
Declaration
public virtual Task<APIV1POSTKeyListResponse> ListKeysInWalletAsync(ListKeysRequest list_Keys_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ListKeysRequest | list_Keys_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTKeyListResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ListKeysInWalletAsync(ListKeysRequest)
List keys in wallet
Declaration
public virtual Task<APIV1POSTKeyListResponse> ListKeysInWalletAsync(ListKeysRequest list_Keys_Request)
Parameters
Type | Name | Description |
---|---|---|
ListKeysRequest | list_Keys_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTKeyListResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ListMultisgAsync(ListMultisigRequest, CancellationToken)
List multisig accounts
Declaration
public virtual Task<APIV1POSTMultisigListResponse> ListMultisgAsync(ListMultisigRequest list_Multisig_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ListMultisigRequest | list_Multisig_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMultisigListResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ListMultisgAsync(ListMultisigRequest)
List multisig accounts
Declaration
public virtual Task<APIV1POSTMultisigListResponse> ListMultisgAsync(ListMultisigRequest list_Multisig_Request)
Parameters
Type | Name | Description |
---|---|---|
ListMultisigRequest | list_Multisig_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMultisigListResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ListWalletsAsync(object, CancellationToken)
List wallets
Declaration
public virtual Task<APIV1GETWalletsResponse> ListWalletsAsync(object list_Wallet_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
object | list_Wallet_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1GETWalletsResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ListWalletsAsync(object)
List wallets
Declaration
public virtual Task<APIV1GETWalletsResponse> ListWalletsAsync(object list_Wallet_Request)
Parameters
Type | Name | Description |
---|---|---|
object | list_Wallet_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1GETWalletsResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<string, IEnumerable<string>>, CancellationToken)
Declaration
protected virtual Task<Api.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Net.Http.HttpResponseMessage | response | |
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue><string, System.Collections.Generic.IEnumerable<T><string>> | headers | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><Api.ObjectResponseResult<T>> |
Type Parameters
Name | Description |
---|---|
T |
ReleaseWalletHandleTokenAsync(ReleaseWalletHandleTokenRequest, CancellationToken)
Release a wallet handle token
Declaration
public virtual Task<APIV1POSTWalletReleaseResponse> ReleaseWalletHandleTokenAsync(ReleaseWalletHandleTokenRequest release_Wallet_Handle_Token_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
ReleaseWalletHandleTokenRequest | release_Wallet_Handle_Token_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletReleaseResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
ReleaseWalletHandleTokenAsync(ReleaseWalletHandleTokenRequest)
Release a wallet handle token
Declaration
public virtual Task<APIV1POSTWalletReleaseResponse> ReleaseWalletHandleTokenAsync(ReleaseWalletHandleTokenRequest release_Wallet_Handle_Token_Request)
Parameters
Type | Name | Description |
---|---|---|
ReleaseWalletHandleTokenRequest | release_Wallet_Handle_Token_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletReleaseResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
RenameWalletAsync(RenameWalletRequest, CancellationToken)
Rename a wallet
Declaration
public virtual Task<APIV1POSTWalletRenameResponse> RenameWalletAsync(RenameWalletRequest rename_Wallet_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
RenameWalletRequest | rename_Wallet_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletRenameResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
RenameWalletAsync(RenameWalletRequest)
Rename a wallet
Declaration
public virtual Task<APIV1POSTWalletRenameResponse> RenameWalletAsync(RenameWalletRequest rename_Wallet_Request)
Parameters
Type | Name | Description |
---|---|---|
RenameWalletRequest | rename_Wallet_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletRenameResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
RenewWalletHandleTokenAsync(RenewWalletHandleTokenRequest, CancellationToken)
Renew a wallet handle token
Declaration
public virtual Task<APIV1POSTWalletRenewResponse> RenewWalletHandleTokenAsync(RenewWalletHandleTokenRequest renew_Wallet_Handle_Token_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
RenewWalletHandleTokenRequest | renew_Wallet_Handle_Token_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletRenewResponse> | Response |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
RenewWalletHandleTokenAsync(RenewWalletHandleTokenRequest)
Renew a wallet handle token
Declaration
public virtual Task<APIV1POSTWalletRenewResponse> RenewWalletHandleTokenAsync(RenewWalletHandleTokenRequest renew_Wallet_Handle_Token_Request)
Parameters
Type | Name | Description |
---|---|---|
RenewWalletHandleTokenRequest | renew_Wallet_Handle_Token_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTWalletRenewResponse> | Response |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
SignMultisigProgramAsync(SignProgramMultisigRequest, CancellationToken)
Sign a program for a multisig account
Declaration
public virtual Task<APIV1POSTMultisigProgramSignResponse> SignMultisigProgramAsync(SignProgramMultisigRequest sign_Multisig_Program_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SignProgramMultisigRequest | sign_Multisig_Program_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMultisigProgramSignResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
SignMultisigProgramAsync(SignProgramMultisigRequest)
Sign a program for a multisig account
Declaration
public virtual Task<APIV1POSTMultisigProgramSignResponse> SignMultisigProgramAsync(SignProgramMultisigRequest sign_Multisig_Program_Request)
Parameters
Type | Name | Description |
---|---|---|
SignProgramMultisigRequest | sign_Multisig_Program_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMultisigProgramSignResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
SignMultisigTransactionAsync(SignMultisigRequest, CancellationToken)
Sign a multisig transaction
Declaration
public virtual Task<APIV1POSTMultisigTransactionSignResponse> SignMultisigTransactionAsync(SignMultisigRequest sign_Multisig_Transaction_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SignMultisigRequest | sign_Multisig_Transaction_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMultisigTransactionSignResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
SignMultisigTransactionAsync(SignMultisigRequest)
Sign a multisig transaction
Declaration
public virtual Task<APIV1POSTMultisigTransactionSignResponse> SignMultisigTransactionAsync(SignMultisigRequest sign_Multisig_Transaction_Request)
Parameters
Type | Name | Description |
---|---|---|
SignMultisigRequest | sign_Multisig_Transaction_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTMultisigTransactionSignResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
SignProgramAsync(SignProgramRequest, CancellationToken)
Sign program
Declaration
public virtual Task<APIV1POSTProgramSignResponse> SignProgramAsync(SignProgramRequest sign_Program_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SignProgramRequest | sign_Program_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTProgramSignResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
SignProgramAsync(SignProgramRequest)
Sign program
Declaration
public virtual Task<APIV1POSTProgramSignResponse> SignProgramAsync(SignProgramRequest sign_Program_Request)
Parameters
Type | Name | Description |
---|---|---|
SignProgramRequest | sign_Program_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTProgramSignResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
SignTransactionAsync(SignTransactionRequest, CancellationToken)
Sign a transaction
Declaration
public virtual Task<APIV1POSTTransactionSignResponse> SignTransactionAsync(SignTransactionRequest sign_Transaction_Request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
SignTransactionRequest | sign_Transaction_Request | |
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTTransactionSignResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
SignTransactionAsync(SignTransactionRequest)
Sign a transaction
Declaration
public virtual Task<APIV1POSTTransactionSignResponse> SignTransactionAsync(SignTransactionRequest sign_Transaction_Request)
Parameters
Type | Name | Description |
---|---|---|
SignTransactionRequest | sign_Transaction_Request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><APIV1POSTTransactionSignResponse> | Response to |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
SwaggerHandlerAsync()
Gets the current swagger spec.
Declaration
public virtual Task<string> SwaggerHandlerAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><string> | The current swagger spec |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |
SwaggerHandlerAsync(CancellationToken)
Gets the current swagger spec.
Declaration
public virtual Task<string> SwaggerHandlerAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><string> | The current swagger spec |
Exceptions
Type | Condition |
---|---|
ApiException | A server side error occurred. |