stellar accounts
{
"_links": {
"self": {
"href": "https://horizon.stellar.org/ledgers/27146933"
},
"transactions": {
"href": "https://horizon.stellar.org/ledgers/27146933/transactions{?cursor,limit,order}",
"templated": true
},
"operations": {
"href": "https://horizon.stellar.org/ledgers/27146933/operations{?cursor,limit,order}",
"templated": true
},
"payments": {
"href": "https://horizon.stellar.org/ledgers/27146933/payments{?cursor,limit,order}",
"templated": true
},
"effects": {
"href": "https://horizon.stellar.org/ledgers/27146933/effects{?cursor,limit,order}",
"templated": true
}
},
"id": "e1218a337cecda05526fba902c61d3d7130baa58d8db41f544bf563f779b6329",
"paging_token": "116595189421703168",
"hash": "e1218a337cecda05526fba902c61d3d7130baa58d8db41f544bf563f779b6329",
"prev_hash": "9eac16fecd885147067b58b7684f60d216f931b813f651265bbc97de4cea313d",
"sequence": 27146933,
"successful_transaction_count": 26,
"failed_transaction_count": 9,
"operation_count": 67,
"closed_at": "2019-12-06T22:39:32Z",
"total_coins": "105443902087.3472865",
"fee_pool": "1807264.7509661",
"base_fee_in_stroops": 100,
"base_reserve_in_stroops": 5000000,
"max_tx_set_size": 1000,
"protocol_version": 12,
"header_xdr": "AAAADJ6sFv7NiFFHBntYt2hPYNIW+TG4E/ZRJlu8l95M6jE9bsvzId+Gtul2mNMW4UZQ+KqSb/nbN8F1CTxAfQsyUy8AAAAAXerYpAAAAAAAAAAAXQNpS8daKGZUeY5quYUcIiJZBMB7LiLsZJsEx9qw79fx99Bu/lk+sIePNUNcuOC2euthzfhLuWJ1nZBuoQFDjgGeOrUOoh6z7HlbYQAAEG/dvCadAAABFgAAAAAIOwAqAAAAZABMS0AAAAPooSNtHXJNJKKWlBtgkAM1LBxzlzYjIlS0xwpjP+uCi76fQj59wgTy0+xtx7O1qTb+W6zcI2zWZnrUU/8v8RZHFBfoo20QYKh95+wWr348yZAexZpdrjhyCxbChxlVTZOX6nZfIgcYBMnZRkOTCLdPO76yeqpDhqu9KrPe3YPTO3wAAAAA"
}
4
5
{
"value": "MQ=="
}
Thank you!
5
0
4
6
{
"_links": {
"self": {
"href": ""
},
"base": {
"href": "https://horizon.stellar.org/accounts/GA23DVJUJVXUQ45SKQMZR7KH2ZOOBFWGWSEXHCT7VVKP2TYIMCQTQGNQ"
},
"counter": {
"href": "https://horizon.stellar.org/accounts/GAFGG7CRFRCJLBHGI5L4IZD4QYR4GDX5NKB46CE4KZMNBILBTP3L4M75"
},
"operation": {
"href": "https://horizon.stellar.org/operations/100089067462524929"
}
},
"id": "100089067462524929-0",
"paging_token": "100089067462524929-0",
"ledger_close_time": "2019-04-07T11:30:03Z",
"offer_id": "79502917",
"base_offer_id": "4711775085889912833",
"base_account": "GA23DVJUJVXUQ45SKQMZR7KH2ZOOBFWGWSEXHCT7VVKP2TYIMCQTQGNQ",
"base_amount": "99.9999996",
"base_asset_type": "native",
"counter_offer_id": "79502917",
"counter_account": "GAFGG7CRFRCJLBHGI5L4IZD4QYR4GDX5NKB46CE4KZMNBILBTP3L4M75",
"counter_amount": "11.4722884",
"counter_asset_type": "credit_alphanum4",
"counter_asset_code": "EURT",
"counter_asset_issuer": "GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S",
"base_is_seller": false,
"price": {
"n": 10000000,
"d": 87166567
}
}
Thank you!
6
0
5
2
var StellarSdk = require("stellar-sdk");
var server = new StellarSdk.Server("https://horizon.stellar.org");
var callback = function (resp) {
console.log(resp);
};
var es = server
.transactions()
.forClaimableBalance(
"00000000178826fbfe339e1f5c53417c6fedfe2c05e8bec14303143ec46b38981b09c3f9",
)
.cursor("now")
.stream({ onmessage: callback });
Thank you!
2
0
4
2
var StellarSdk = require("stellar-sdk");
var server = new StellarSdk.Server("https://horizon.stellar.org");
var callback = function (resp) {
console.log(resp);
};
var es = server
.transactions()
.forAccount("GAYOLLLUIZE4DZMBB2ZBKGBUBZLIOYU6XFLW37GBP2VZD3ABNXCW4BVA")
.cursor("now")
.stream({ onmessage: callback });
Thank you!
2
0
4.5
4
var StellarSdk = require("stellar-sdk");
var server = new StellarSdk.Server("https://horizon.stellar.org");
var callback = function (resp) {
console.log(resp);
};
var es = server
.assets()
.forCode("CNY")
.cursor("now")
.stream({ onmessage: callback });
Thank you!
4
0
4.11
9
{
"_links": {
"self": {
"href": "https://horizon.stellar.org/trade_aggregations?base_asset_type=native\u0026counter_asset_code=EURT\u0026counter_asset_issuer=GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S\u0026counter_asset_type=credit_alphanum4\u0026resolution=3600000\u0026start_time=1582156800000\u0026end_time=1582178400001"
},
"next": {
"href": "https://horizon.stellar.org/trade_aggregations?base_asset_type=native\u0026counter_asset_code=EURT\u0026counter_asset_issuer=GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S\u0026counter_asset_type=credit_alphanum4\u0026end_time=1582178400001\u0026resolution=3600000\u0026start_time=1582171200000"
},
"prev": {
"href": ""
}
},
"_embedded": {
"records": [
{
"timestamp": 1582164000000,
"trade_count": 3,
"base_volume": "399.3873200",
"counter_volume": "25.5368082",
"avg": "0.0639400",
"high": "0.0652169",
"high_r": {
"N": 652169,
"D": 10000000
},
"low": "0.0638338",
"low_r": {
"N": 8107550,
"D": 127010393
},
"open": "0.0652169",
"open_r": {
"N": 652169,
"D": 10000000
},
"close": "0.0638338",
"close_r": {
"N": 8107550,
"D": 127010393
}
},
{
"timestamp": 1582167600000,
"trade_count": 1,
"base_volume": "149.8415320",
"counter_volume": "9.7149804",
"avg": "0.0648350",
"high": "0.0648350",
"high_r": {
"N": 5000000,
"D": 77118803
},
"low": "0.0648350",
"low_r": {
"N": 5000000,
"D": 77118803
},
"open": "0.0648350",
"open_r": {
"N": 5000000,
"D": 77118803
},
"close": "0.0648350",
"close_r": {
"N": 5000000,
"D": 77118803
}
}
]
}
}
Thank you!
9
0
4.2
5
{
"type": "https://stellar.org/horizon-errors/transaction_malformed",
"title": "Transaction Malformed",
"status": 400,
"detail": "Horizon could not decode the transaction envelope in this request. A transaction should be an XDR TransactionEnvelope struct encoded using base64. The envelope read from this request is echoed in the `extras.envelope_xdr` field of this response for your convenience.",
"extras": {
"envelope_xdr": "BBBBBPORy3CoX6ox2ilbeiVjBA5WlpCSZRcjZ7VE9Wf4QVk7AAAAZAAAQz0AAAACAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAA85HLcKhfqjHaKVt6JWMEDlaWkJJlFyNntUT1Z/hBWTsAAAAAAAAAAAL68IAAAAAAAAAAARN17BEAAABAA9Ad7OKc7y60NT/JuobaHOfmuq8KbZqcV6G/es94u9yT84fi0aI7tJsFMOyy8cZ4meY3Nn908OU+KfRWV40UCw=="
}
}
Thank you!
5
0
3.5
8
var StellarSdk = require("stellar-sdk");
var server = new StellarSdk.Server("https://horizon.stellar.org");
var callback = function (resp) {
console.log(resp);
};
var es = server
.operations()
.forAccount("GAYOLLLUIZE4DZMBB2ZBKGBUBZLIOYU6XFLW37GBP2VZD3ABNXCW4BVA")
.cursor("now")
.stream({ onmessage: callback });
Thank you!
8
0
4
3
{
"bids": [
{
"price_r": {
"n": 6014600,
"d": 102275119
},
"price": "0.0588080",
"amount": "0.1722469"
},
{
"price_r": {
"n": 1250000,
"d": 21831117
},
"price": "0.0572577",
"amount": "0.2991796"
}
],
"asks": [
{
"price_r": {
"n": 118163,
"d": 2000000
},
"price": "0.0590815",
"amount": "8057.2710223"
},
{
"price_r": {
"n": 60627,
"d": 1000000
},
"price": "0.0606270",
"amount": "10000.0000000"
}
],
"base": {
"asset_type": "native"
},
"counter": {
"asset_type": "credit_alphanum4",
"asset_code": "USD",
"asset_issuer": "GDUKMGUGDZQK6YHYA5Z6AY2G4XDSZPSZ3SW5UN3ARVMO6QSRDWP5YLEX"
}
}
Thank you!
3
0
Are there any code examples left?
New code examples in category Other
-
Other 2023-03-27 22:50:10 how to select the whole line in vscode with keyboard shortcut
-
Other 2022-03-27 22:45:24 income of a web developer
-
Other 2022-03-27 22:35:01 \pyrcc_main.py: File does not exist 'resources.qrc'
-
Other 2022-03-27 22:30:45 rick roll embed code
-
Other 2022-03-27 22:20:08 Circuit_04_Potentiometer
-
Other 2022-03-27 22:20:05 iterative power
-
Other 2022-03-27 22:15:11 flutter run all
-
Other 2022-03-27 22:10:05 when is karlson release
-
Other 2022-03-27 22:10:02 wp .htaccess example
-
Other 2022-03-27 22:00:08 bash pause in file read line by line