Skip to content
Developersbarebitcoin.no ↗← Models
Menu
ListTradesResponse
object
Properties
tradesarray of TradeItems:
Trade
Show fields
idstringExample: "tr_01HVXHG9PMDKR3YQV4Z8W5T2BN"
accountIdstringThe bitcoin account the trade belongs to.
Example: "acc_01HQZX3V9KJ4M2P8R6T0W5Y7BC"
directionstring · enumValues: DIRECTION_BUY, DIRECTION_SELL
amountNokstringStringified decimal number: the NOK amount paid when buying, or received when selling.
Example: "65000"
amountBtcstringStringified decimal number with 8 decimal places: the BTC amount received when buying, or sold when selling.
Example: "0.10000000"
feeAmountstringStringified decimal number. When the fee is zero, fee_currency may be empty.
Example: "455"
feeCurrencystringExample: "NOK"
createTimestring · date-timeExample: "2024-02-01T10:22:36Z"
hasMorebooleanWhether there are more trades to fetch.
nextBeforestring · date-timePass as 'before' in the next request to fetch the next page.
nextBeforeIdstringPass as 'before_id' in the next request to fetch the next page.