List held accumulation credits
deprecated
Held Relay settlement credits with independently retained ownership for this accumulation address. Unidentified shared-custody credits are excluded, so an empty list does not establish that no deposit exists. Amounts describe observed Solana USDC credit. Requires a server key.
GET
/
v1
/
accumulation-addresses
/
{id}
/
deposits
List held accumulation credits
curl --request GET \
--url https://orchestration.flashnet.xyz/v1/accumulation-addresses/{id}/deposits \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://orchestration.flashnet.xyz/v1/accumulation-addresses/{id}/deposits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://orchestration.flashnet.xyz/v1/accumulation-addresses/{id}/deposits"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"deposits": [
{
"addressType": "accumulation",
"addressId": "<string>",
"depositId": "<string>",
"state": "held",
"observedCredit": {
"chain": "solana",
"asset": "USDC",
"amount": "<string>",
"confirmationState": "confirmed"
},
"reason": "awaiting_proof",
"observedAt": "2023-11-07T05:31:56Z"
}
],
"nextOffset": 123
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Authorizations
Query Parameters
Was this page helpful?
⌘I
List held accumulation credits
curl --request GET \
--url https://orchestration.flashnet.xyz/v1/accumulation-addresses/{id}/deposits \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://orchestration.flashnet.xyz/v1/accumulation-addresses/{id}/deposits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://orchestration.flashnet.xyz/v1/accumulation-addresses/{id}/deposits"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"deposits": [
{
"addressType": "accumulation",
"addressId": "<string>",
"depositId": "<string>",
"state": "held",
"observedCredit": {
"chain": "solana",
"asset": "USDC",
"amount": "<string>",
"confirmationState": "confirmed"
},
"reason": "awaiting_proof",
"observedAt": "2023-11-07T05:31:56Z"
}
],
"nextOffset": 123
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}