Class Transaction
Represents a completed trade.
Inheritance
System.Object
Transaction
Namespace: EzBtc.Api.Models
Assembly: EzBtc.Api.dll
Syntax
public class Transaction
Properties
| Improve this Doc View SourceAmount
The amount of XBT executed.
Declaration
[JsonProperty("amount")]
public decimal Amount { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
Pair
The pair that was traded.
Declaration
[JsonProperty("pair")]
public string Pair { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Rate
The rate per XBT.
Declaration
[JsonProperty("rate")]
public decimal Rate { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
Timestamp
Unix timestamp.
Declaration
[JsonProperty("timestamp")]
public double Timestamp { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TradeId
A unique identifier for the trade.
Declaration
[JsonProperty("trade_id")]
public int TradeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
Either "buy" or "sell", indicating the type of the taker order.
Declaration
[JsonProperty("type")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |