View Source BitpandaApi.Entity.CryptoWallet.Transaction (Bitpanda API v0.1.0)

This entity defines a transaction in a crypto wallet

Link to this section Summary

Types

Defines the status of a transaction

t()

Defines a crypto wallet transaction

Describes the transaction type

Link to this section Types

@type in_or_out() :: :incoming | :outgoing
@type status() ::
  :pending
  | :processing
  | :finished
  | :canceled
  | :unconfirmed
  | :open_invitation
  | :unconfirmed_transaction_out

Defines the status of a transaction

@type t() :: %BitpandaApi.Entity.CryptoWallet.Transaction{
  amount: Decimal.t(),
  amount_eur: Decimal.t(),
  confirmations: integer(),
  confirmed: boolean(),
  cryptocoin_id: String.t(),
  current_fiat_amount: Decimal.t(),
  current_fiat_id: String.t(),
  datetime: DateTime.t(),
  fee: Decimal.t(),
  id: String.t(),
  in_or_out: in_or_out(),
  recipient: String.t(),
  related_wallet_id: String.t(),
  related_wallet_transaction_id: String.t(),
  status: status(),
  transaction_type: transaction_type(),
  wallet_id: String.t()
}

Defines a crypto wallet transaction

@type transaction_type() ::
  :buy | :sell | :deposit | :withdrawal | :transfer | :refund | :ico

Describes the transaction type