List transactions
This endpoint returns a list of transactions based on the provided query parameters.
You must specify either a currency (by ID or symbol) or a combination of blockchain and network.
- If
currencyis provided,blockchainandnetworkcannot be used. - If
currencyis not provided, you may useblockchain,network, or both together.
Only one of these approaches is allowed per request.
The currencyID is unique across blockchains and networks, and can be identified by querying the /currencies endpoint. We recommend using currencyID whenever possible to avoid ambiguity.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
currency
Filter on ID or symbol of the currency
direction
The direction of the transaction (e.g. incoming, outgoing)
query
Filter by query string in any of the fields address, customerid, transactionid, hash, type.
limit
The amount of transactions returned per request. Max 100.
offset
The offset from which to begin selection of transactions.
from
Only return transactions from after this timestamp.
to
Only return transactions from before this timestamp.
transactionIds
Filter on Protect internal transactionID. This is purely internal and should rarely be used by clients
type
The type of transactions to fetch (e.g. burn).
source
Returns only transaction that have this address as a source
destination
Returns only transaction that have this address as a destination
ids
Filter on Protect transaction ID, as visible in the transaction objects.
blockchain
The blockchain associated with the transactions (e.g. ETH, BTC)
network
The network the transaction took place in (e.g. mainnet, testnet).
fromBlockNumber
Only return transactions from after this block.
toBlockNumber
Only return transactions from before this block.
hashes
Filter on transaction hash, as visible in the transaction objects.
address
Returns only transaction that have this address as either a source or a destination
amountAbove
Returns only transactions with an amount strictly above the given amount
excludeUnknownSourceDestination
Returns only transactions with a known source and destination, default false
customerId
Returns only transactions with a specific customer id
Response
A successful response.
result
totalItems
The total number of transactions.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error