Skip to content
Bare BitcoinDevelopers

Search documentation

↑ ↓ Select · Enter Open · Escape Close

barebitcoin.no ↗
Menu
← Models

ListTradesResponse

object

View Markdown

Properties

tradesarray of Trade
Items:
Trade
Show fields
idstring

Example: "tr_01HVXHG9PMDKR3YQV4Z8W5T2BN"

accountIdstring

The bitcoin account the trade belongs to.

Example: "acc_01HQZX3V9KJ4M2P8R6T0W5Y7BC"

directionstring · enum

Values: DIRECTION_BUY, DIRECTION_SELL

amountNokstring

Stringified decimal number: the NOK amount paid when buying, or received when selling.

Example: "65000"

amountBtcstring

Stringified decimal number with 8 decimal places: the BTC amount received when buying, or sold when selling.

Example: "0.10000000"

feeAmountstring

Stringified decimal number. When the fee is zero, fee_currency may be empty.

Example: "455"

feeCurrencystring

Example: "NOK"

createTimestring · date-time

Example: "2024-02-01T10:22:36Z"

hasMoreboolean

Whether there are more trades to fetch.

nextBeforestring · date-time

Pass as 'before' in the next request to fetch the next page.

nextBeforeIdstring

Pass as 'before_id' in the next request to fetch the next page.

Used by

List trades · responses