[generated documentation]
BittrexRestClient > SpotApi > Account
Bittrex account endpoints. Account endpoints include balance info, withdraw/deposit info and requesting and account settings
CancelWithdrawalAsync
https://bittrex.github.io/api/v3#operation--withdrawals--withdrawalId--delete
Cancels a withdrawal
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.CancelWithdrawalAsync(/* parameters */);
Task<WebCallResult<BittrexWithdrawal>> CancelWithdrawalAsync(string id, CancellationToken ct = default);
Parameter | Description |
---|---|
id | The id of the withdrawal to cancel |
[Optional] ct | Cancellation token |
GetAccountAsync
https://bittrex.github.io/api/v3#operation--account-get
Get account info
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetAccountAsync();
Task<WebCallResult<BittrexAccount>> GetAccountAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetAccountVolumeAsync
https://bittrex.github.io/api/v3#operation--account-volume-get
Get account volume
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetAccountVolumeAsync();
Task<WebCallResult<BittrexAccountVolume>> GetAccountVolumeAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetAssetPermissionAsync
https://bittrex.github.io/api/v3#operation--account-permissions-currencies--currencySymbol--get
Get permissions for a specific asset
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetAssetPermissionAsync(/* parameters */);
Task<WebCallResult<IEnumerable<BittrexAssetPermission>>> GetAssetPermissionAsync(string asset, CancellationToken ct = default);
Parameter | Description |
---|---|
asset | Asset |
[Optional] ct | Cancellation token |
GetAssetPermissionsAsync
https://bittrex.github.io/api/v3#operation--account-permissions-currencies-get
Get permissions for all assets
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetAssetPermissionsAsync();
Task<WebCallResult<IEnumerable<BittrexAssetPermission>>> GetAssetPermissionsAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetBalanceAsync
https://bittrex.github.io/api/v3#operation--balances--currencySymbol--get
Gets current balance for an asset
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetBalanceAsync(/* parameters */);
Task<WebCallResult<BittrexBalance>> GetBalanceAsync(string asset, CancellationToken ct = default);
Parameter | Description |
---|---|
asset | The name of the asset to get balance for |
[Optional] ct | Cancellation token |
GetBalancesAsync
https://bittrex.github.io/api/v3#operation--balances-get
Gets current balances. Sequence number of the data available via ResponseHeaders.GetSequence()
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetBalancesAsync();
Task<WebCallResult<IEnumerable<BittrexBalance>>> GetBalancesAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetClosedDepositsAsync
https://bittrex.github.io/api/v3#operation--deposits-closed-get
Gets list of closed deposits
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetClosedDepositsAsync();
Task<WebCallResult<IEnumerable<BittrexDeposit>>> GetClosedDepositsAsync(string? asset = default, DepositStatus? status = default, DateTime? startTime = default, DateTime? endTime = default, int? pageSize = default, string? nextPageToken = default, string? previousPageToken = default, CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] asset | Filter the list by asset |
[Optional] status | Filter the list by status of the deposit |
[Optional] startTime | Filter the list by time |
[Optional] endTime | Filter the list by time |
[Optional] pageSize | The max amount of results to return |
[Optional] nextPageToken | The id of the object after which to return results. Typically the last deposit id of the previous page |
[Optional] previousPageToken | The id of the object before which to return results. Typically the first deposit id of the next page |
[Optional] ct | Cancellation token |
GetClosedWithdrawalsAsync
https://bittrex.github.io/api/v3#operation--withdrawals-closed-get
Gets a list of closed withdrawals
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetClosedWithdrawalsAsync();
Task<WebCallResult<IEnumerable<BittrexWithdrawal>>> GetClosedWithdrawalsAsync(string? asset = default, WithdrawalStatus? status = default, DateTime? startTime = default, DateTime? endTime = default, int? pageSize = default, string? nextPageToken = default, string? previousPageToken = default, CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] asset | Filter by asset |
[Optional] status | Filter by status |
[Optional] startTime | Filter the list by time |
[Optional] endTime | Filter the list by time |
[Optional] pageSize | The max amount of results to return |
[Optional] nextPageToken | The id of the object after which to return results. Typically the last withdrawal id of the previous page |
[Optional] previousPageToken | The id of the object before which to return results. Typically the first withdrawal id of the next page |
[Optional] ct | Cancellation token |
GetDepositAddressAsync
https://bittrex.github.io/api/v3#operation--addresses--currencySymbol--get
Gets deposit addresses for an asset
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetDepositAddressAsync(/* parameters */);
Task<WebCallResult<BittrexDepositAddress>> GetDepositAddressAsync(string asset, CancellationToken ct = default);
Parameter | Description |
---|---|
asset | The name of the asset to get the deposit address for |
[Optional] ct | Cancellation token |
GetDepositAddressesAsync
https://bittrex.github.io/api/v3#operation--addresses-get
Gets list of deposit addresses
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetDepositAddressesAsync();
Task<WebCallResult<IEnumerable<BittrexDepositAddress>>> GetDepositAddressesAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetDepositAsync
https://bittrex.github.io/api/v3#operation--deposits--depositId--get
Gets a deposit by id
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetDepositAsync(/* parameters */);
Task<WebCallResult<BittrexDeposit>> GetDepositAsync(string depositId, CancellationToken ct = default);
Parameter | Description |
---|---|
depositId | The id of the deposit |
[Optional] ct | Cancellation token |
GetDepositsByTransactionIdAsync
https://bittrex.github.io/api/v3#operation--deposits-ByTxId--txId--get
Gets list of deposits for a transaction id
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetDepositsByTransactionIdAsync(/* parameters */);
Task<WebCallResult<IEnumerable<BittrexDeposit>>> GetDepositsByTransactionIdAsync(string transactionId, CancellationToken ct = default);
Parameter | Description |
---|---|
transactionId | The id of the transaction |
[Optional] ct | Cancellation token |
GetFiatTransactionFeesAsync
https://bittrex.github.io/api/v3#operation--account-fees-fiat-get
Get account withdrawal/deposit fees
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetFiatTransactionFeesAsync();
Task<WebCallResult<IEnumerable<BittrexFiatFee>>> GetFiatTransactionFeesAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetOpenDepositsAsync
https://bittrex.github.io/api/v3#operation--deposits-open-get
Gets list of open deposits. Sequence number of the data available via ResponseHeaders.GetSequence()
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetOpenDepositsAsync();
Task<WebCallResult<IEnumerable<BittrexDeposit>>> GetOpenDepositsAsync(string? asset = default, CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] asset | Filter the list by asset |
[Optional] ct | Cancellation token |
GetOpenWithdrawalsAsync
https://bittrex.github.io/api/v3#operation--withdrawals-open-get
Gets a list of open withdrawals
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetOpenWithdrawalsAsync();
Task<WebCallResult<IEnumerable<BittrexWithdrawal>>> GetOpenWithdrawalsAsync(string? asset = default, WithdrawalStatus? status = default, CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] asset | Filter by asset |
[Optional] status | Filter by status |
[Optional] ct | Cancellation token |
GetSymbolPermissionAsync
https://bittrex.github.io/api/v3#operation--account-permissions-markets--marketSymbol--get
Get permissions for a specific symbol
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetSymbolPermissionAsync(/* parameters */);
Task<WebCallResult<IEnumerable<BittrexSymbolPermission>>> GetSymbolPermissionAsync(string symbol, CancellationToken ct = default);
Parameter | Description |
---|---|
symbol | Symbol |
[Optional] ct | Cancellation token |
GetSymbolPermissionsAsync
https://bittrex.github.io/api/v3#operation--account-permissions-markets-get
Get permissions for all symbols
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetSymbolPermissionsAsync();
Task<WebCallResult<IEnumerable<BittrexSymbolPermission>>> GetSymbolPermissionsAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetTradingFeesAsync
https://bittrex.github.io/api/v3#operation--account-fees-trading-get
Get account trading fees
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetTradingFeesAsync();
Task<WebCallResult<IEnumerable<BittrexTradingFee>>> GetTradingFeesAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
GetWithdrawalAsync
https://bittrex.github.io/api/v3#operation--withdrawals--withdrawalId--get
Gets withdrawal by id
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetWithdrawalAsync(/* parameters */);
Task<WebCallResult<BittrexWithdrawal>> GetWithdrawalAsync(string id, CancellationToken ct = default);
Parameter | Description |
---|---|
id | The id of the withdrawal |
[Optional] ct | Cancellation token |
GetWithdrawalsByTransactionIdAsync
https://bittrex.github.io/api/v3#operation--withdrawals-ByTxId--txId--get
Gets a list of withdrawals by transaction id
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetWithdrawalsByTransactionIdAsync(/* parameters */);
Task<WebCallResult<IEnumerable<BittrexWithdrawal>>> GetWithdrawalsByTransactionIdAsync(string transactionId, CancellationToken ct = default);
Parameter | Description |
---|---|
transactionId | The id of the transaction |
[Optional] ct | Cancellation token |
GetWithdrawalWhitelistAddressesAsync
https://bittrex.github.io/api/v3#operation--withdrawals-allowed-addresses-get
Gets a list of whitelisted address for withdrawals
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.GetWithdrawalWhitelistAddressesAsync();
Task<WebCallResult<IEnumerable<BittrexWhitelistAddress>>> GetWithdrawalWhitelistAddressesAsync(CancellationToken ct = default);
Parameter | Description |
---|---|
[Optional] ct | Cancellation token |
RequestDepositAddressAsync
https://bittrex.github.io/api/v3#operation--addresses-post
Request a deposit address for an asset
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.RequestDepositAddressAsync(/* parameters */);
Task<WebCallResult<BittrexDepositAddress>> RequestDepositAddressAsync(string asset, CancellationToken ct = default);
Parameter | Description |
---|---|
asset | The name of the asset to get request a deposit address for |
[Optional] ct | Cancellation token |
WithdrawAsync
https://bittrex.github.io/api/v3#operation--withdrawals-post
Withdraw from Bittrex
var client = new BittrexRestClient();
var result = await client.SpotApi.Account.WithdrawAsync(/* parameters */);
Task<WebCallResult<BittrexWithdrawal>> WithdrawAsync(string asset, decimal quantity, string address, string? addressTag = default, string? clientWithdrawId = default, CancellationToken ct = default);
Parameter | Description |
---|---|
asset | The asset to withdraw |
quantity | The quantity to withdraw |
address | The address to withdraw to |
[Optional] addressTag | A tag for the address |
[Optional] clientWithdrawId | Client id to identify the withdrawal |
[Optional] ct | Cancellation token |