discoin.Client.fetch_transactions

async Client.fetch_transactions(**kwargs)

Get a list of transactions. It is recommended to run this every 5 minutes in a loop

Parameters
  • transaction_id – (str) (Optional) Filter results by a transaction id.

  • amount – (int) (Optional) Filter results by the original amount

  • user_id – (int) (Optional) Filter by the user’s id

  • handled – (bool) (Optional) Defaults to False. Will filter results to see if they are handled or not. None will fetch all

  • payout – (int) (Optional) Filter by the final amount

  • code – (str) (Optional) 3 letter currency code that you want to search for. None will just fetch all results. Default is me.

  • code_from – (str) (Optional) 3 letter currency code that the transaction is coming from

  • advanced_filter – (str) (Optional) Optionally, you can create your own filter. Not recommended

Return type

[discoin.Transaction]

Raises