Documentation ¶
Index ¶
- Variables
- type Account
- type ActionStatus
- type Balance
- type Bithumb
- func (b *Bithumb) CancelAllOrders(orderCancellation *order.Cancel) (order.CancelAllResponse, error)
- func (b *Bithumb) CancelOrder(order *order.Cancel) error
- func (b *Bithumb) CancelTrade(transactionType, orderID, currency string) (ActionStatus, error)
- func (b *Bithumb) FetchAccountInfo() (account.Holdings, error)
- func (b *Bithumb) FetchOrderbook(p currency.Pair, assetType asset.Item) (*orderbook.Base, error)
- func (b *Bithumb) FetchTicker(p currency.Pair, assetType asset.Item) (*ticker.Price, error)
- func (b *Bithumb) FetchTradablePairs(asset asset.Item) ([]string, error)
- func (b *Bithumb) FormatExchangeKlineInterval(in kline.Interval) string
- func (b *Bithumb) GetAccountBalance(c string) (FullBalance, error)
- func (b *Bithumb) GetAccountInformation(currency string) (Account, error)
- func (b *Bithumb) GetActiveOrders(req *order.GetOrdersRequest) ([]order.Detail, error)
- func (b *Bithumb) GetAllTickers() (map[string]Ticker, error)
- func (b *Bithumb) GetCandleStick(symbol, interval string) (resp OHLCVResponse, err error)
- func (b *Bithumb) GetDefaultConfig() (*config.ExchangeConfig, error)
- func (b *Bithumb) GetDepositAddress(cryptocurrency currency.Code, _ string) (string, error)
- func (b *Bithumb) GetExchangeHistory(p currency.Pair, assetType asset.Item, timestampStart, timestampEnd time.Time) ([]exchange.TradeHistory, error)
- func (b *Bithumb) GetFee(feeBuilder *exchange.FeeBuilder) (float64, error)
- func (b *Bithumb) GetFeeByType(feeBuilder *exchange.FeeBuilder) (float64, error)
- func (b *Bithumb) GetFundingHistory() ([]exchange.FundHistory, error)
- func (b *Bithumb) GetHistoricCandles(pair currency.Pair, a asset.Item, start, end time.Time, ...) (kline.Item, error)
- func (b *Bithumb) GetHistoricCandlesExtended(pair currency.Pair, a asset.Item, start, end time.Time, ...) (kline.Item, error)
- func (b *Bithumb) GetLastTransaction() (LastTransactionTicker, error)
- func (b *Bithumb) GetOrderBook(symbol string) (Orderbook, error)
- func (b *Bithumb) GetOrderDetails(orderID, transactionType, currency string) (OrderDetails, error)
- func (b *Bithumb) GetOrderHistory(req *order.GetOrdersRequest) ([]order.Detail, error)
- func (b *Bithumb) GetOrderHistoryById(getOrdersRequest string) ([]order.Detail, error)
- func (b *Bithumb) GetOrderInfo(orderID string) (order.Detail, error)
- func (b *Bithumb) GetOrders(orderID, transactionType, count, after, currency string) (Orders, error)
- func (b *Bithumb) GetTicker(symbol string) (Ticker, error)
- func (b *Bithumb) GetTradablePairs() ([]string, error)
- func (b *Bithumb) GetTransactionHistory(symbol string) (TransactionHistory, error)
- func (b *Bithumb) GetUserTransactions() (UserTransactions, error)
- func (b *Bithumb) GetWalletAddress(currency string) (WalletAddressRes, error)
- func (b *Bithumb) MarketBuyOrder(currency string, units float64) (MarketBuy, error)
- func (b *Bithumb) MarketSellOrder(currency string, units float64) (MarketSell, error)
- func (b *Bithumb) ModifyOrder(action *order.Modify) (string, error)
- func (b *Bithumb) ModifyTrade(orderID, orderCurrency, transactionType string, units float64, price int64) (OrderPlace, error)
- func (b *Bithumb) PlaceTrade(orderCurrency, transactionType string, units float64, price int64) (OrderPlace, error)
- func (b *Bithumb) RequestKRWDepositDetails() (KRWDeposit, error)
- func (b *Bithumb) RequestKRWWithdraw(bank, account string, price int64) (ActionStatus, error)
- func (b *Bithumb) Run()
- func (b *Bithumb) SendAuthenticatedHTTPRequest(path string, params url.Values, result interface{}) error
- func (b *Bithumb) SendHTTPRequest(path string, result interface{}) error
- func (b *Bithumb) SetDefaults()
- func (b *Bithumb) Setup(exch *config.ExchangeConfig) error
- func (b *Bithumb) Start(wg *sync.WaitGroup)
- func (b *Bithumb) SubmitOrder(s *order.Submit) (order.SubmitResponse, error)
- func (b *Bithumb) UpdateAccountInfo() (account.Holdings, error)
- func (b *Bithumb) UpdateOrderbook(p currency.Pair, assetType asset.Item) (*orderbook.Base, error)
- func (b *Bithumb) UpdateTicker(p currency.Pair, assetType asset.Item) (*ticker.Price, error)
- func (b *Bithumb) UpdateTradablePairs(forceUpdate bool) error
- func (b *Bithumb) ValidateCredentials() error
- func (b *Bithumb) WithdrawCrypto(address, destination, currency string, units float64) (ActionStatus, error)
- func (b *Bithumb) WithdrawCryptocurrencyFunds(withdrawRequest *withdraw.Request) (*withdraw.ExchangeResponse, error)
- func (b *Bithumb) WithdrawFiatFunds(withdrawRequest *withdraw.Request) (*withdraw.ExchangeResponse, error)
- func (b *Bithumb) WithdrawFiatFundsToInternationalBank(withdrawRequest *withdraw.Request) (*withdraw.ExchangeResponse, error)
- type FullBalance
- type KRWDeposit
- type LastTransactionTicker
- type MarketBuy
- type MarketSell
- type OHLCVResponse
- type OrderData
- type OrderDetails
- type OrderPlace
- type Orderbook
- type Orders
- type RateLimit
- type Ticker
- type TickerResponse
- type TickersResponse
- type TransactionHistory
- type UserTransactions
- type WalletAddressRes
Constants ¶
This section is empty.
Variables ¶
var WithdrawalFees = map[currency.Code]float64{ currency.KRW: 1000, currency.BTC: 0.001, currency.ETH: 0.01, currency.DASH: 0.01, currency.LTC: 0.01, currency.ETC: 0.01, currency.XRP: 1, currency.BCH: 0.001, currency.XMR: 0.05, currency.ZEC: 0.001, currency.QTUM: 0.05, currency.BTG: 0.001, currency.ICX: 1, currency.TRX: 5, currency.ELF: 5, currency.MITH: 5, currency.MCO: 0.5, currency.OMG: 0.4, currency.KNC: 3, currency.GNT: 12, currency.HSR: 0.2, currency.ZIL: 30, currency.ETHOS: 2, currency.PAY: 2.4, currency.WAX: 5, currency.POWR: 5, currency.LRC: 10, currency.GTO: 15, currency.STEEM: 0.01, currency.STRAT: 0.2, currency.PPT: 0.5, currency.CTXC: 4, currency.CMT: 20, currency.THETA: 24, currency.WTC: 0.7, currency.ITC: 5, currency.TRUE: 4, currency.ABT: 5, currency.RNT: 20, currency.PLY: 20, currency.WAVES: 0.01, currency.LINK: 10, currency.ENJ: 35, currency.PST: 30, }
WithdrawalFees the large list of predefined withdrawal fees Prone to change
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Status string `json:"status"` Data struct { Created int64 `json:"created,string"` AccountID string `json:"account_id"` TradeFee float64 `json:"trade_fee,string"` Balance float64 `json:"balance,string"` } `json:"data"` Message string `json:"message"` }
Account holds account details
type ActionStatus ¶
ActionStatus holds the return status
type Balance ¶
type Balance struct { Status string `json:"status"` Data map[string]interface{} `json:"data"` Message string `json:"message"` }
Balance holds balance details
type Bithumb ¶
Bithumb is the overarching type across the Bithumb package
func (*Bithumb) CancelAllOrders ¶
CancelAllOrders cancels all orders associated with a currency pair
func (*Bithumb) CancelOrder ¶
CancelOrder cancels an order by its corresponding ID number
func (*Bithumb) CancelTrade ¶
func (b *Bithumb) CancelTrade(transactionType, orderID, currency string) (ActionStatus, error)
CancelTrade cancels a customer purchase/sales transaction transactionType: Transaction type(bid : purchase, ask : sales) orderID: Order number registered for purchase/sales currency: BTC, ETH, DASH, LTC, ETC, XRP, BCH, XMR, ZEC, QTUM, BTG, EOS (default value: BTC)
func (*Bithumb) FetchAccountInfo ¶
FetchAccountInfo retrieves balances for all enabled currencies
func (*Bithumb) FetchOrderbook ¶
FetchOrderbook returns orderbook base on the currency pair
func (*Bithumb) FetchTicker ¶
FetchTicker returns the ticker for a currency pair
func (*Bithumb) FetchTradablePairs ¶
FetchTradablePairs returns a list of the exchanges tradable pairs
func (*Bithumb) FormatExchangeKlineInterval ¶
FormatExchangeKlineInterval returns Interval to exchange formatted string
func (*Bithumb) GetAccountBalance ¶
func (b *Bithumb) GetAccountBalance(c string) (FullBalance, error)
GetAccountBalance returns customer wallet information
func (*Bithumb) GetAccountInformation ¶
GetAccountInformation returns account information by singular currency
func (*Bithumb) GetActiveOrders ¶
GetActiveOrders retrieves any orders that are active/open
func (*Bithumb) GetAllTickers ¶
GetAllTickers returns all ticker information
func (*Bithumb) GetCandleStick ¶
func (b *Bithumb) GetCandleStick(symbol, interval string) (resp OHLCVResponse, err error)
GetCandleStick returns candle stick data for requested pair
func (*Bithumb) GetDefaultConfig ¶
func (b *Bithumb) GetDefaultConfig() (*config.ExchangeConfig, error)
GetDefaultConfig returns a default exchange config
func (*Bithumb) GetDepositAddress ¶
GetDepositAddress returns a deposit address for a specified currency
func (*Bithumb) GetExchangeHistory ¶
func (b *Bithumb) GetExchangeHistory(p currency.Pair, assetType asset.Item, timestampStart, timestampEnd time.Time) ([]exchange.TradeHistory, error)
GetExchangeHistory returns historic trade data within the timeframe provided.
func (*Bithumb) GetFee ¶
func (b *Bithumb) GetFee(feeBuilder *exchange.FeeBuilder) (float64, error)
GetFee returns an estimate of fee based on type of transaction
func (*Bithumb) GetFeeByType ¶
func (b *Bithumb) GetFeeByType(feeBuilder *exchange.FeeBuilder) (float64, error)
GetFeeByType returns an estimate of fee based on type of transaction
func (*Bithumb) GetFundingHistory ¶
func (b *Bithumb) GetFundingHistory() ([]exchange.FundHistory, error)
GetFundingHistory returns funding history, deposits and withdrawals
func (*Bithumb) GetHistoricCandles ¶
func (b *Bithumb) GetHistoricCandles(pair currency.Pair, a asset.Item, start, end time.Time, interval kline.Interval) (kline.Item, error)
GetHistoricCandles returns candles between a time period for a set time interval
func (*Bithumb) GetHistoricCandlesExtended ¶
func (b *Bithumb) GetHistoricCandlesExtended(pair currency.Pair, a asset.Item, start, end time.Time, interval kline.Interval) (kline.Item, error)
GetHistoricCandlesExtended returns candles between a time period for a set time interval
func (*Bithumb) GetLastTransaction ¶
func (b *Bithumb) GetLastTransaction() (LastTransactionTicker, error)
GetLastTransaction returns customer last transaction
func (*Bithumb) GetOrderDetails ¶
func (b *Bithumb) GetOrderDetails(orderID, transactionType, currency string) (OrderDetails, error)
GetOrderDetails returns specific order details
orderID: Order number registered for purchase/sales transactionType: Transaction type(bid : purchase, ask : sales) currency: BTC, ETH, DASH, LTC, ETC, XRP, BCH, XMR, ZEC, QTUM, BTG, EOS (default value: BTC)
func (*Bithumb) GetOrderHistory ¶
GetOrderHistory retrieves account order information Can Limit response to specific order status
func (*Bithumb) GetOrderHistoryById ¶
GetOrderHistoryById retrieves specified closed order information Can Limit response to specific order status
func (*Bithumb) GetOrderInfo ¶
GetOrderInfo returns information on a current open order
func (*Bithumb) GetOrders ¶
func (b *Bithumb) GetOrders(orderID, transactionType, count, after, currency string) (Orders, error)
GetOrders returns order list
orderID: order number registered for purchase/sales transactionType: transaction type(bid : purchase, ask : sell) count: Value : 1 ~1000 (default : 100) after: YYYY-MM-DD hh:mm:ss's UNIX Timestamp (2014-11-28 16:40:01 = 1417160401000)
func (*Bithumb) GetTradablePairs ¶
GetTradablePairs returns a list of tradable currencies
func (*Bithumb) GetTransactionHistory ¶
func (b *Bithumb) GetTransactionHistory(symbol string) (TransactionHistory, error)
GetTransactionHistory returns recent transactions
symbol e.g. "btc"
func (*Bithumb) GetUserTransactions ¶
func (b *Bithumb) GetUserTransactions() (UserTransactions, error)
GetUserTransactions returns customer transactions
func (*Bithumb) GetWalletAddress ¶
func (b *Bithumb) GetWalletAddress(currency string) (WalletAddressRes, error)
GetWalletAddress returns customer wallet address
currency e.g. btc, ltc or "", will default to btc without currency specified
func (*Bithumb) MarketBuyOrder ¶
MarketBuyOrder initiates a buy order through available order books
currency: BTC, ETH, DASH, LTC, ETC, XRP, BCH, XMR, ZEC, QTUM, BTG, EOS (default value: BTC) units: Order quantity
func (*Bithumb) MarketSellOrder ¶
func (b *Bithumb) MarketSellOrder(currency string, units float64) (MarketSell, error)
MarketSellOrder initiates a sell order through available order books
currency: BTC, ETH, DASH, LTC, ETC, XRP, BCH, XMR, ZEC, QTUM, BTG, EOS (default value: BTC) units: Order quantity
func (*Bithumb) ModifyOrder ¶
ModifyOrder will allow of changing orderbook placement and limit to market conversion
func (*Bithumb) ModifyTrade ¶
func (b *Bithumb) ModifyTrade(orderID, orderCurrency, transactionType string, units float64, price int64) (OrderPlace, error)
ModifyTrade modifies an order already on the exchange books
func (*Bithumb) PlaceTrade ¶
func (b *Bithumb) PlaceTrade(orderCurrency, transactionType string, units float64, price int64) (OrderPlace, error)
PlaceTrade executes a trade order
orderCurrency: BTC, ETH, DASH, LTC, ETC, XRP, BCH, XMR, ZEC, QTUM, BTG, EOS (default value: BTC) transactionType: Transaction type(bid : purchase, ask : sales) units: Order quantity price: Transaction amount per currency
func (*Bithumb) RequestKRWDepositDetails ¶
func (b *Bithumb) RequestKRWDepositDetails() (KRWDeposit, error)
RequestKRWDepositDetails returns Bithumb banking details for deposit information
func (*Bithumb) RequestKRWWithdraw ¶
func (b *Bithumb) RequestKRWWithdraw(bank, account string, price int64) (ActionStatus, error)
RequestKRWWithdraw allows a customer KRW withdrawal request
bank: Bankcode with bank name e.g. (bankcode)_(bankname) account: Withdrawing bank account number price: Withdrawing amount
func (*Bithumb) SendAuthenticatedHTTPRequest ¶
func (b *Bithumb) SendAuthenticatedHTTPRequest(path string, params url.Values, result interface{}) error
SendAuthenticatedHTTPRequest sends an authenticated HTTP request to bithumb
func (*Bithumb) SendHTTPRequest ¶
SendHTTPRequest sends an unauthenticated HTTP request
func (*Bithumb) SetDefaults ¶
func (b *Bithumb) SetDefaults()
SetDefaults sets the basic defaults for Bithumb
func (*Bithumb) Setup ¶
func (b *Bithumb) Setup(exch *config.ExchangeConfig) error
Setup takes in the supplied exchange configuration details and sets params
func (*Bithumb) SubmitOrder ¶
SubmitOrder submits a new order TODO: Fill this out to support limit orders
func (*Bithumb) UpdateAccountInfo ¶
UpdateAccountInfo retrieves balances for all enabled currencies for the Bithumb exchange
func (*Bithumb) UpdateOrderbook ¶
UpdateOrderbook updates and returns the orderbook for a currency pair
func (*Bithumb) UpdateTicker ¶
UpdateTicker updates and returns the ticker for a currency pair
func (*Bithumb) UpdateTradablePairs ¶
UpdateTradablePairs updates the exchanges available pairs and stores them in the exchanges config
func (*Bithumb) ValidateCredentials ¶
ValidateCredentials validates current credentials used for wrapper functionality
func (*Bithumb) WithdrawCrypto ¶
func (b *Bithumb) WithdrawCrypto(address, destination, currency string, units float64) (ActionStatus, error)
WithdrawCrypto withdraws a customer currency to an address
address: Currency withdrawing address destination: Currency withdrawal Destination Tag (when withdraw XRP) OR Currency withdrawal Payment Id (when withdraw XMR) currency: BTC, ETH, DASH, LTC, ETC, XRP, BCH, XMR, ZEC, QTUM (default value: BTC) units: Quantity to withdraw currency
func (*Bithumb) WithdrawCryptocurrencyFunds ¶
func (b *Bithumb) WithdrawCryptocurrencyFunds(withdrawRequest *withdraw.Request) (*withdraw.ExchangeResponse, error)
WithdrawCryptocurrencyFunds returns a withdrawal ID when a withdrawal is submitted
func (*Bithumb) WithdrawFiatFunds ¶
func (b *Bithumb) WithdrawFiatFunds(withdrawRequest *withdraw.Request) (*withdraw.ExchangeResponse, error)
WithdrawFiatFunds returns a withdrawal ID when a withdrawal is submitted
func (*Bithumb) WithdrawFiatFundsToInternationalBank ¶
func (b *Bithumb) WithdrawFiatFundsToInternationalBank(withdrawRequest *withdraw.Request) (*withdraw.ExchangeResponse, error)
WithdrawFiatFundsToInternationalBank is not supported as Bithumb only withdraws KRW to South Korean banks
type FullBalance ¶
type FullBalance struct { InUse map[string]float64 Misu map[string]float64 Total map[string]float64 Xcoin map[string]float64 Available map[string]float64 }
FullBalance defines a return type with full balance data
type KRWDeposit ¶
type KRWDeposit struct { Status string `json:"status"` Account string `json:"account"` Bank string `json:"bank"` BankUser string `json:"BankUser"` Message string `json:"message"` }
KRWDeposit resp type for a KRW deposit
type LastTransactionTicker ¶
type LastTransactionTicker struct { Status string `json:"status"` Data struct { OpeningPrice float64 `json:"opening_price,string"` ClosingPrice float64 `json:"closing_price,string"` MinPrice float64 `json:"min_price,string"` MaxPrice float64 `json:"max_price,string"` AveragePrice float64 `json:"average_price,string"` UnitsTraded float64 `json:"units_traded,string"` Volume1Day float64 `json:"volume_1day,string"` Volume7Day float64 `json:"volume_7day,string"` BuyPrice int64 `json:"buy_price,string"` SellPrice int64 `json:"sell_price,string"` Date int64 `json:"date,string"` } `json:"data"` Message string `json:"message"` }
LastTransactionTicker holds customer last transaction information
type MarketBuy ¶
type MarketBuy struct { Status string `json:"status"` OrderID string `json:"order_id"` Data []struct { ContID string `json:"cont_id"` Units float64 `json:"units,string"` Price float64 `json:"price,string"` Total float64 `json:"total,string"` Fee float64 `json:"fee,string"` } `json:"data"` Message string `json:"message"` }
MarketBuy holds market buy order information
type MarketSell ¶
type MarketSell struct { Status string `json:"status"` OrderID string `json:"order_id"` Data []struct { ContID string `json:"cont_id"` Units float64 `json:"units,string"` Price float64 `json:"price,string"` Total float64 `json:"total,string"` Fee float64 `json:"fee,string"` } `json:"data"` Message string `json:"message"` }
MarketSell holds market buy order information
type OHLCVResponse ¶
type OHLCVResponse struct { Status string `json:"status"` Data [][6]interface{} `json:"data"` }
OHLCVResponse holds returned kline data
type OrderData ¶
type OrderData struct { OrderID string `json:"order_id"` OrderCurrency string `json:"order_currency"` OrderDate int64 `json:"order_date"` PaymentCurrency string `json:"payment_currency"` Type string `json:"type"` Status string `json:"status"` Units float64 `json:"units,string"` UnitsRemaining float64 `json:"units_remaining,string"` Price float64 `json:"price,string"` Fee float64 `json:"fee,string"` Total float64 `json:"total,string"` DateCompleted int64 `json:"date_completed"` }
OrderData contains all individual order details
type OrderDetails ¶
type OrderDetails struct { Status string `json:"status"` Data []struct { TransactionDate int64 `json:"transaction_date,string"` Type string `json:"type"` OrderCurrency string `json:"order_currency"` PaymentCurrency string `json:"payment_currency"` UnitsTraded float64 `json:"units_traded,string"` Price float64 `json:"price,string"` Total float64 `json:"total,string"` } `json:"data"` Message string `json:"message"` }
OrderDetails contains specific order information
type OrderPlace ¶
type OrderPlace struct { Status string `json:"status"` Data []struct { ContID string `json:"cont_id"` Units float64 `json:"units,string"` Price float64 `json:"price,string"` Total float64 `json:"total,string"` Fee float64 `json:"fee,string"` } `json:"data"` Message string `json:"message"` }
OrderPlace contains order information
type Orderbook ¶
type Orderbook struct { Status string `json:"status"` Data struct { Timestamp int64 `json:"timestamp,string"` OrderCurrency string `json:"order_currency"` PaymentCurrency string `json:"payment_currency"` Bids []struct { Quantity float64 `json:"quantity,string"` Price float64 `json:"price,string"` } `json:"bids"` Asks []struct { Quantity float64 `json:"quantity,string"` Price float64 `json:"price,string"` } `json:"asks"` } `json:"data"` Message string `json:"message"` }
Orderbook holds full range of order book information
type Orders ¶
type Orders struct { Status string `json:"status"` Data []OrderData `json:"data"` Message string `json:"message"` }
Orders contains information about your current orders
type RateLimit ¶
RateLimit implements the request.Limiter interface
func SetRateLimit ¶
func SetRateLimit() *RateLimit
SetRateLimit returns the rate limit for the exchange
type Ticker ¶
type Ticker struct { OpeningPrice float64 `json:"opening_price,string"` ClosingPrice float64 `json:"closing_price,string"` MinPrice float64 `json:"min_price,string"` MaxPrice float64 `json:"max_price,string"` UnitsTraded float64 `json:"units_traded,string"` AccumulatedTradeValue float64 `json:"acc_trade_value,string"` PreviousClosingPrice float64 `json:"prev_closing_price,string"` UnitsTraded24Hr float64 `json:"units_traded_24H,string"` AccumulatedTradeValue24hr float64 `json:"acc_trade_value_24H,string"` Fluctate24Hr string `json:"fluctate_24H"` FluctateRate24hr float64 `json:"fluctate_rate_24H,string"` Date int64 `json:"date,string"` }
Ticker holds ticker data
type TickerResponse ¶
type TickerResponse struct { Status string `json:"status"` Data Ticker `json:"data"` Message string `json:"message"` }
TickerResponse holds the standard ticker response
type TickersResponse ¶
type TickersResponse struct { Status string `json:"status"` Data map[string]json.RawMessage `json:"data"` Message string `json:"message"` }
TickersResponse holds the standard ticker response
type TransactionHistory ¶
type TransactionHistory struct { Status string `json:"status"` Data []struct { ContNumber int64 `json:"cont_no,string"` TransactionDate string `json:"transaction_date"` Type string `json:"type"` UnitsTraded float64 `json:"units_traded,string"` Price float64 `json:"price,string"` Total float64 `json:"total,string"` } `json:"data"` Message string `json:"message"` }
TransactionHistory holds history of completed transaction data
type UserTransactions ¶
type UserTransactions struct { Status string `json:"status"` Data []struct { Search string `json:"search"` TransferDate int64 `json:"transfer_date"` Units string `json:"units"` Price float64 `json:"price,string"` BTC1KRW float64 `json:"btc1krw,string"` Fee string `json:"fee"` BTCRemain float64 `json:"btc_remain,string"` KRWRemain float64 `json:"krw_remain,string"` } `json:"data"` Message string `json:"message"` }
UserTransactions holds users full transaction list