List All Effects
GEThttps://horizon-testnet.stellar.org/effects
This endpoint lists all effects and can be used in streaming mode. Streaming mode allows you to listen for new effects as they are added to the Stellar ledger. If called in streaming mode, Horizon will start at the earliest known effect unless a cursor is set, in which case it will start from that cursor. By setting the cursor value to now, you can stream effects created since your request time.
Request
Query Parameters
A number that points to a specific location in a collection of responses and is pulled from the paging_token value of a record.
Possible values: [asc
, desc
]
A designation of the order in which records should appear. Options include asc
(ascending) or desc
(descending). If this argument isn’t set, it defaults to asc
.
The maximum number of records returned. The limit can range from 1 to 200 - an upper limit that is hardcoded in Horizon for performance reasons. If this argument isn’t designated, it defaults to 10.
Responses
- 200
Success
- application/json
- Schema
- Example (auto)
- ListAllEffects
Schema
_links object
_embedded object
{
"_links": {
"self": {
"href": "string",
"templated": true
},
"next": {
"href": "string",
"templated": true
},
"prev": {
"href": "string",
"templated": true
}
},
"_embedded": {
"records": [
{
"_links": {
"operation": {
"href": "string",
"templated": true
},
"succeeds": {
"href": "string",
"templated": true
},
"precedes": {
"href": "string",
"templated": true
}
},
"id": "string",
"paging_token": "string",
"account": "string",
"type": "Account Created",
"type_i": 1,
"created_at": "string"
}
]
}
}
{
"_links": {
"self": {
"href": "https://horizon-testnet.stellar.org/effects?cursor=&limit=10&order=asc"
},
"next": {
"href": "https://horizon-testnet.stellar.org/effects?cursor=33676838572034-1&limit=10&order=asc"
},
"prev": {
"href": "https://horizon-testnet.stellar.org/effects?cursor=12884905985-1&limit=10&order=desc"
}
},
"_embedded": {
"records": [
{
"_links": {
"operation": {
"href": "https://horizon-testnet.stellar.org/operations/12884905985"
},
"succeeds": {
"href": "https://horizon-testnet.stellar.org/effects?order=desc&cursor=12884905985-1"
},
"precedes": {
"href": "https://horizon-testnet.stellar.org/effects?order=asc&cursor=12884905985-1"
}
},
"id": "0000000012884905985-0000000001",
"paging_token": "12884905985-1",
"account": "GALPCCZN4YXA3YMJHKL6CVIECKPLJJCTVMSNYWBTKJW4K5HQLYLDMZTB",
"type": "account_created",
"type_i": 0,
"created_at": "2015-09-30T17:15:54Z",
"starting_balance": "20.0000000"
},
{
"_links": {
"operation": {
"href": "https://horizon-testnet.stellar.org/operations/12884905985"
},
"succeeds": {
"href": "https://horizon-testnet.stellar.org/effects?order=desc&cursor=12884905985-2"
},
"precedes": {
"href": "https://horizon-testnet.stellar.org/effects?order=asc&cursor=12884905985-2"
}
},
"id": "0000000012884905985-0000000002",
"paging_token": "12884905985-2",
"account": "GAAZI4TCR3TY5OJHCTJC2A4QSY6CJWJH5IAJTGKIN2ER7LBNVKOCCWN7",
"type": "account_debited",
"type_i": 3,
"created_at": "2015-09-30T17:15:54Z",
"asset_type": "native",
"amount": "20.0000000"
},
{
"_links": {
"operation": {
"href": "https://horizon-testnet.stellar.org/operations/12884905985"
},
"succeeds": {
"href": "https://horizon-testnet.stellar.org/effects?order=desc&cursor=12884905985-3"
},
"precedes": {
"href": "https://horizon-testnet.stellar.org/effects?order=asc&cursor=12884905985-3"
}
},
"id": "0000000012884905985-0000000003",
"paging_token": "12884905985-3",
"account": "GALPCCZN4YXA3YMJHKL6CVIECKPLJJCTVMSNYWBTKJW4K5HQLYLDMZTB",
"type": "signer_created",
"type_i": 10,
"created_at": "2015-09-30T17:15:54Z",
"weight": 1,
"public_key": "GALPCCZN4YXA3YMJHKL6CVIECKPLJJCTVMSNYWBTKJW4K5HQLYLDMZTB",
"key": ""
},
{
"_links": {
"operation": {
"href": "https://horizon-testnet.stellar.org/operations/12884905986"
},
"succeeds": {
"href": "https://horizon-testnet.stellar.org/effects?order=desc&cursor=12884905986-1"
},
"precedes": {
"href": "https://horizon-testnet.stellar.org/effects?order=asc&cursor=12884905986-1"
}
},
"id": "0000000012884905986-0000000001",
"paging_token": "12884905986-1",
"account": "GALPCCZN4YXA3YMJHKL6CVIECKPLJJCTVMSNYWBTKJW4K5HQLYLDMZTB",
"type": "account_credited",
"type_i": 2,
"created_at": "2015-09-30T17:15:54Z",
"asset_type": "native",
"amount": "99999999959.9999700"
},
{
"_links": {
"operation": {
"href": "https://horizon-testnet.stellar.org/operations/12884905986"
},
"succeeds": {
"href": "https://horizon-testnet.stellar.org/effects?order=desc&cursor=12884905986-2"
},
"precedes": {
"href": "https://horizon-testnet.stellar.org/effects?order=asc&cursor=12884905986-2"
}
},
"id": "0000000012884905986-0000000002",
"paging_token": "12884905986-2",
"account": "GAAZI4TCR3TY5OJHCTJC2A4QSY6CJWJH5IAJTGKIN2ER7LBNVKOCCWN7",
"type": "account_debited",
"type_i": 3,
"created_at": "2015-09-30T17:15:54Z",
"asset_type": "native",
"amount": "99999999959.9999700"
},
{
"_links": {
"operation": {
"href": "https://horizon-testnet.stellar.org/operations/12884905987"
},
"succeeds": {
"href": "https://horizon-testnet.stellar.org/effects?order=desc&cursor=12884905987-1"
},
"precedes": {
"href": "https://horizon-testnet.stellar.org/effects?order=asc&cursor=12884905987-1"
}
},
"id": "0000000012884905987-0000000001",
"paging_token": "12884905987-1",
"account": "GAAZI4TCR3TY5OJHCTJC2A4QSY6CJWJH5IAJTGKIN2ER7LBNVKOCCWN7",
"type": "signer_removed",
"type_i": 11,
"created_at": "2015-09-30T17:15:54Z",
"weight": 0,
"public_key": "GAAZI4TCR3TY5OJHCTJC2A4QSY6CJWJH5IAJTGKIN2ER7LBNVKOCCWN7",
"key": ""
},
{
"_links": {
"operation": {
"href": "https://horizon-testnet.stellar.org/operations/33676838572033"
},
"succeeds": {
"href": "https://horizon-testnet.stellar.org/effects?order=desc&cursor=33676838572033-1"
},
"precedes": {
"href": "https://horizon-testnet.stellar.org/effects?order=asc&cursor=33676838572033-1"
}
},
"id": "0000033676838572033-0000000001",
"paging_token": "33676838572033-1",
"account": "GAP2KHWUMOHY7IO37UJY7SEBIITJIDZS5DRIIQRPEUT4VUKHZQGIRWS4",
"type": "account_created",
"type_i": 0,
"created_at": "2015-10-01T04:15:01Z",
"starting_balance": "20.0000000"
},
{
"_links": {
"operation": {
"href": "https://horizon-testnet.stellar.org/operations/33676838572033"
},
"succeeds": {
"href": "https://horizon-testnet.stellar.org/effects?order=desc&cursor=33676838572033-2"
},
"precedes": {
"href": "https://horizon-testnet.stellar.org/effects?order=asc&cursor=33676838572033-2"
}
},
"id": "0000033676838572033-0000000002",
"paging_token": "33676838572033-2",
"account": "GALPCCZN4YXA3YMJHKL6CVIECKPLJJCTVMSNYWBTKJW4K5HQLYLDMZTB",
"type": "account_debited",
"type_i": 3,
"created_at": "2015-10-01T04:15:01Z",
"asset_type": "native",
"amount": "20.0000000"
},
{
"_links": {
"operation": {
"href": "https://horizon-testnet.stellar.org/operations/33676838572033"
},
"succeeds": {
"href": "https://horizon-testnet.stellar.org/effects?order=desc&cursor=33676838572033-3"
},
"precedes": {
"href": "https://horizon-testnet.stellar.org/effects?order=asc&cursor=33676838572033-3"
}
},
"id": "0000033676838572033-0000000003",
"paging_token": "33676838572033-3",
"account": "GAP2KHWUMOHY7IO37UJY7SEBIITJIDZS5DRIIQRPEUT4VUKHZQGIRWS4",
"type": "signer_created",
"type_i": 10,
"created_at": "2015-10-01T04:15:01Z",
"weight": 1,
"public_key": "GAP2KHWUMOHY7IO37UJY7SEBIITJIDZS5DRIIQRPEUT4VUKHZQGIRWS4",
"key": ""
},
{
"_links": {
"operation": {
"href": "https://horizon-testnet.stellar.org/operations/33676838572034"
},
"succeeds": {
"href": "https://horizon-testnet.stellar.org/effects?order=desc&cursor=33676838572034-1"
},
"precedes": {
"href": "https://horizon-testnet.stellar.org/effects?order=asc&cursor=33676838572034-1"
}
},
"id": "0000033676838572034-0000000001",
"paging_token": "33676838572034-1",
"account": "GCZTBYH66ISTZKUPVJWTMHWBH4S4JIJ7WNLQJXCTQJKWY3FIT34BWZCJ",
"type": "account_created",
"type_i": 0,
"created_at": "2015-10-01T04:15:01Z",
"starting_balance": "20.0000000"
}
]
}
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://horizon-testnet.stellar.org/effects");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());