/searchTransactions
1 min
POST
http://1.1.1.1/searchTransactions
include_output_transactionsboolean<p>indicating if we want output transactions, true if you want to include Output Transactions</p>
include_input_transactionsboolean<p>indicating if we want input transactions, true if you want to include Input Transactions</p>
currenciesarraylist of requested currencies, currencies used in this operation (BTC,ETH,BCH,XRP,etc)
accountsarrayAccounts used in this operation
creatorsarraylist of Id's of the creators of the transaction
user_descriptionstring<p>sub string insensitive to search in user description, Description of the transaction you want to fetch</p>
start_date_time_in_milliseconds_since_epochintegerfilter transactions from that time
end_date_time_in_milliseconds_since_epochinteger<p>The end date of the transactions (in unix Epoch time)</p>
status_keysarrayspecified status keys for the transaction
limit_rowsintegerint Max number of transactions to return
wallet_idsarraythe wallets's ids receieved in the operation
include_high_risk_transactionsboolean<p>bool indicating to include transactions deemed high risk by AML service</p>
<ul>
<li>True - includes all transactions, both low risk and high risk</li>
<li>False - only include low risk transactions, high risk transactions are excluded</li>
<li>representing the required transaction statuses.</li>
<li>e.g: [1,2,5] - all the transactions whose their status is FAILED_LIMITATIONS or FAILED_TECHNICAL or FAILED_NO_FUNDS</li>
<li>[10,11] - all the transactions whose their status is CANCELED_GROUP_CHANGED or CANCELED_ACCOUNT_APRROVERS_CHANGED</li>
</ul>
bodyobjectRequest data for filtering transactions.
200success
curl --request POST \
--url 'http://1.1.1.1/searchTransactions?include_output_transactions=False&include_input_transactions=False¤cies=ETH&accounts=1%2C2&creators=bob%40gk8.io%2CJohn%40gk8.io&user_description=Transaction%20No%27%201&status_keys=APPROVED&limit_rows=10&include_high_risk_transactions=False' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data-raw '{
"Creators": [
"[email protected]",
"[email protected]"
],
"Currencies": [
"ETH"
],
"IncludeHighRiskTransactions": "false",
"StatusKeys": [
0
],
"UserDescription": "Transaction No'\'' 1",
"WalletIds": [
"wal1",
"wal2"
],
"Meta": {
"FunctionName": "searchTransactions",
"RandomData": "288cd49d4b8bf00e7d6114b78d5668d5581d6b953fafef779133caa844cd4229",
"Destination": "b9cb8afe52f1d52521cf2b62dfe12146156ad5328f83c62c20c7da81b263356a61340de745c858998544c041798b01c2f4fac31bebe52a19280a32cd57d6d374ea",
"Time": "2021-02-07T18:37:46.948Z",
"Source": "048b99461a70a49abe63fd585cb224177a22a92d2e9e4ddfbc0027887bee9d1843388f42a3eb2e740565e115ad8b7981abf59e3b03b771f4b063b53c517d7a9d99",
"AccessToken": "51311c84d2c8fd2fafbe56ceb1fb30a99d3417abfc55769577338ab286798087"
}
}'- This function is used to search for transactions based on various filters.
- return - amount of extracted transactions in system for given filters
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.