Get Audio Transactions
GET/users/:id/transactions/audio
Gets the user's $AUDIO transaction history within the App
Request
Path Parameters
id stringrequired
A User ID
Query Parameters
offset integer
The number of items to skip. Useful for pagination (page number * limit)
limit integer
The number of items to fetch
sort_method string
Possible values: [date, transaction_type]
Default value: date
The sort method
sort_direction string
Possible values: [asc, desc]
Default value: desc
The sort direction
Header Parameters
Encoded-Data-Message string
The data that was signed by the user for signature recovery
Encoded-Data-Signature string
The signature of data, used for signature recovery
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
latest_chain_block integerrequired
latest_indexed_block integerrequired
latest_chain_slot_plays integerrequired
latest_indexed_slot_plays integerrequired
signature stringrequired
timestamp stringrequired
version
object
required
service stringrequired
version stringrequired
data
object[]
transaction_date stringrequired
method stringrequired
signature stringrequired
user_bank stringrequired
change stringrequired
balance stringrequired
metadata
object
required
{
"latest_chain_block": 0,
"latest_indexed_block": 0,
"latest_chain_slot_plays": 0,
"latest_indexed_slot_plays": 0,
"signature": "string",
"timestamp": "string",
"version": {
"service": "string",
"version": "string"
},
"data": [
{
"transaction_date": "string",
"transaction_type": "string",
"method": "string",
"signature": "string",
"user_bank": "string",
"change": "string",
"balance": "string",
"metadata": {}
}
]
}
Loading...