Skip to main content

listtransactions

Overview

The 'listtransactions' method allows you to retrieve a list of your transactions with detailed information about each transaction, including the involved addresses, transaction category, amount, fee, and more.

Request

wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'X-CoinAPI-Key: 4303fb63-adec-42dc-b571-74bc2f2a5167' \
--body-data '{"jsonrpc":"2.0","id":1,"method":"listtransactions","params": [ ]}' \
'https://bitcoin-mainnet.node.coinapi.io'

Request Parameters

  • count (numeric, optional): The number of transactions to return.
  • skip (numeric, optional): The number of transactions to skip.
  • startblock (string, optional): The starting block to return transactions from.
  • endblock (string, optional): The ending block to return transactions until.

Response

{
"result": null,
"error": {
"code": -18,
"message": "No wallet is loaded. Load a wallet using loadwallet or create a new one with createwallet. (Note: A default wallet is no longer automatically created)"
},
"id": 1
}