Get Transaction
curl --request GET \
--url https://app.digitalsurge.com.au/api/private/wallet/all-transactions/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/wallet/all-transactions/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/wallet/all-transactions/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"summary_id": 123,
"id": 123,
"object_id": 123,
"created": "2023-11-07T05:31:56Z",
"src_asset": "<string>",
"dst_asset": "<string>",
"exchange_rate": "<string>",
"fee_currency": "<string>",
"transaction_type": "buy",
"transaction_subtype": "<string>",
"src_amount": "<string>",
"dst_amount": "<string>",
"quote_cost": "<string>",
"cost": "<string>",
"fee": "<string>",
"aud_fee": "<string>",
"aud_value": "<string>",
"status": "<string>"
}Private
Get Transaction
Unified transaction history across every asset you hold.
Every deposit, withdrawal, trade, swap, reward, and adjustment appears
as a single entry, most recent first. Filter by asset, status,
transaction_type (accepts a comma-separated list), or a
time period of 24h, week, month, or year.
GET
/
api
/
private
/
wallet
/
all-transactions
/
{id}
/
Get Transaction
curl --request GET \
--url https://app.digitalsurge.com.au/api/private/wallet/all-transactions/{id}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/wallet/all-transactions/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/wallet/all-transactions/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"summary_id": 123,
"id": 123,
"object_id": 123,
"created": "2023-11-07T05:31:56Z",
"src_asset": "<string>",
"dst_asset": "<string>",
"exchange_rate": "<string>",
"fee_currency": "<string>",
"transaction_type": "buy",
"transaction_subtype": "<string>",
"src_amount": "<string>",
"dst_amount": "<string>",
"quote_cost": "<string>",
"cost": "<string>",
"fee": "<string>",
"aud_fee": "<string>",
"aud_value": "<string>",
"status": "<string>"
}Authorizations
Personal API key, created in the Digital Surge app under Account Settings → API Keys. Send it with every request as Authorization: Bearer <your-api-key>.
Path Parameters
A unique integer value identifying this transaction summary.
Response
200 - application/json
Serializer for TransactionSummary matching IndividualAssetWalletIOV2Serializer structure. All related field logic is pre-computed in the materialized view.
buy- Buysell- Sellswap- Swapdeposit- Depositwithdrawal- Withdrawalcommission- Commissionairdrop- Airdropstake- Stakeunstake- Unstakereward- Reward
Available options:
buy, sell, swap, deposit, withdrawal, commission, airdrop, stake, unstake, reward Convert transaction_subtype choice to V2 format.
Maximum string length:
50