ogmios wss
FindIntersection
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "findIntersection",
"params": {
"points": [
{
"slot": 409114,
"id": "c9101f21de1005f5fc9ae3f0138fb32f35f79667f723b954d7520db3cb251b75"
}
]
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "findIntersection",
"result": {
"intersection": {
"slot": 18446744073709552000,
"id": "c248757d390181c517a5beadc9c3fe64bf821d3e889a963fc717003ec248757d"
},
"tip": {
"slot": 18446744073709552000,
"id": "c248757d390181c517a5beadc9c3fe64bf821d3e889a963fc717003ec248757d",
"height": 18446744073709552000
}
},
"id": null
}
NextBlock
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "nextBlock",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "nextBlock",
"result": {
"direction": "backward",
"point": "origin",
"tip": {
"slot": 158694453,
"id": "44783ab674af11ff4c039ffc70613cc62f021ed58b9d63a563b9a80697143762",
"height": 12013267
}
},
"id": null
}
SubmitTransaction
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "submitTransaction",
"params": {
"transaction": {
"cbor": "string"
}
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "submitTransaction",
"result": {
"transaction": {
"id": "stringstringstringstringstringstringstringstringstringstringstri"
}
},
"id": null
}
EvaluateTransaction
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "evaluateTransaction",
"params": {
"transaction": {
"cbor": "string"
},
"additionalUtxo": [
{
"transaction": {
"id": "stringstringstringstringstringstringstringstringstringstringstri"
},
"index": 4294967295,
"address": "addr1q9d34spgg2kdy47n82e7x9pdd6vql6d2engxmpj20jmhuc2047yqd4xnh7u6u5jp4t0q3fkxzckph4tgnzvamlu7k5psuahzcp",
"value": {
"ada": {
"lovelace": 0
},
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
},
"datumHash": "c248757d390181c517a5beadc9c3fe64bf821d3e889a963fc717003ec248757d",
"datum": "string",
"script": {
"language": "native",
"json": {
"clause": "signature",
"from": "3c07030e36bfff7cd2f004356ef320f3fe3c07030e7cd2f004356437"
},
"cbor": "string"
}
}
]
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"result": [
{
"validator": "spend:1",
"budget": {
"memory": 5236222,
"cpu": 1212353
}
},
{
"validator": "mint:0",
"budget": {
"memory": 5000,
"cpu": 42
}
}
]
}
AcquireMempool
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "acquireMempool",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "acquireMempool",
"result": {
"acquired": "mempool",
"slot": 158695082
},
"id": null
}
NextTransaction
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "nextTransaction",
"params": {
"fields": "all"
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "nextTransaction",
"result": {
"transaction": {
"id": "409326d0843b11a3f929aca20a15984bfad285d096cbdfff9dbbb665bff2de1a",
"spends": "inputs",
"inputs": [
{
"transaction": {
"id": "5dfb594068e563c59434637a70ba835d72fa60393c1c3f8d279a1ed6481d93d2"
},
"index": 1
},
{
"transaction": {
"id": "668f39bc9cc21ef7daf8a23417bb64241659c9d3fabce0035752260d59f50eb3"
},
"index": 3
},
{
"transaction": {
"id": "96ef201c93c6c2efc7ed09a33e65207bcc8968317b1d74f5be1bab4a5be2995e"
},
"index": 1
},
{
"transaction": {
"id": "b645ea36299554e346b1f881ecaf2e86097d6eddff6c2f5a8d95160bc8535fe9"
},
"index": 1
},
{
"transaction": {
"id": "bde35b3be677671d93e651df9563be0a062e7c11dd83ac232dea4f0d176068cd"
},
"index": 1
},
{
"transaction": {
"id": "cdb4c960c240b1ec0fafab3973fd2efe76984f0c0fb0253e38fb7e82951b5495"
},
"index": 3
}
],
"outputs": [
{
"address": "addr1v9534g4jfjlcpl3alv049g5q7xnp7rptv0m38mswands59cx9ltdv",
"value": {
"ada": {
"lovelace": 1000000000
}
}
},
{
"address": "addr1qyall8td9t6v7rzjx3yk42lxy0vla5xnh2ejknjtqay85q4c4020233efrm2r65fu8hleglzgn2dnx92axfgff3kqukspj5ldy",
"value": {
"ada": {
"lovelace": 94073243
},
"581d247c5901596988febefe353285fac1e5e2188a61568a2e0ed807": {
"434841524c4553205749434b": 1553089
},
"58b01f3106d3c2d5a7eb86b1560a6d531708783ddfc4408867f51a70": {
"524f415354204d415354455220494e55": 556741
},
"5a306cb51ad490894ccff06bff4ed8dd6ca468c37ac318b43ec07c94": {
"435259": 340877
},
"5ac3d4bdca238105a040a565e5d7e734b7c9e1630aec7650e809e34a": {
"4d454c4f4e": 6849348820,
"535155495254": 943597019747,
"5445535459": 2998999998685103552,
"666f6d6f546f6b656e": 2999999949045000000
},
"5c6084de7d4dc731c0515a1260d79dcfe3730dd7badf6f32d55cc8c2": {
"6c71": 3465724216
},
"5fc556a186107b649726ed321ae9628985f820806e4f910275bd48f1": {
"536e656b20436f696e": 23982
},
"610140406c24c52d4e630b022201d36d2b1ba0d044237d7bd138d33d": {
"5351554952545f4144415f4c51": 303956486
},
"625bdcf3dc6684f11a82f1b18d94f134ea7e0f1b1aa4c1aaf1f57b16": {
"424f4241": 776572
},
"65b1ac850a58db2166616c59e9d7269800e45c17401b095e15311f76": {
"414c494f4e": 768163
},
"662de1162f04e4ea30802d02d16d6983646e32c85b5ff536deb321ba": {
"4c4f4e4720434154": 618402
},
"6b8c826e61665e20c4bb2ac22674f7acbe98dea64c5638c28430e7be": {
"4348454b": 399338
},
"78d99b7338897c386839ac67ddf5a7d0f1189e969ad445b34813207b": {
"536f6c616e615f4144415f4c51": 19799999010
},
"78fd3eb0d7f9e19b3319e7aa4fdfcd1ca0929da9bff3f0e078f4b3ff": {
"6d6174657374626f69": 3694778316
},
"810fad3b6b5d29b1f32b106588d1b486bc36b6e934e47b084fd4a2b3": {
"75676576616c65": 11000000000000
},
"817168dbae2731600e86982f585a8184d12068b12bd425f3f9bc66a8": {
"747374": 1993451892
}
}
}
],
"fee": {
"ada": {
"lovelace": 207125
}
},
"validityInterval": {
"invalidAfter": 158702282
},
"treasury": {},
"signatories": [
{
"key": "841e62810a33c191cf5c08059c9942c453e1d3085fd8509a83314b4acf809c28",
"signature": "9e6ab291dbef16745b04e7510a7225c14ea57dc4842043958fc76608b47d3683f53b455d4435c058263e0df146541b6f7444e009a33d60425efaa73328dc9402"
}
]
}
},
"id": null
}
HasTransaction
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "hasTransaction",
"params": {
"id": "e79f73026849204dfd55ccba1a01c5b82187798d3bd577ce04363ad91872bf96"
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "hasTransaction",
"result": false,
"id": null
}
SizeOfMempool
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "sizeOfMempool",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "sizeOfMempool",
"result": {
"maxCapacity": {
"bytes": 178176
},
"currentSize": {
"bytes": 9349
},
"transactions": {
"count": 3
}
},
"id": null
}
ReleaseMempool
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "releaseMempool",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "releaseMempool",
"result": {
"released": "mempool"
},
"id": null
}
AcquireLedgerState
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "acquireLedgerState",
"params": {
"point": {
"slot": 18446744073709552000,
"id": "c248757d390181c517a5beadc9c3fe64bf821d3e889a963fc717003ec248757d"
}
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "acquireLedgerState",
"result": {
"acquired": "ledgerState",
"point": {
"slot": 18446744073709552000,
"id": "c248757d390181c517a5beadc9c3fe64bf821d3e889a963fc717003ec248757d"
}
},
"id": null
}
QueryLedgerStateConstitution
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/constitution",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/constitution",
"result": {
"metadata": {
"url": "ipfs://bafkreiazhhawe7sjwuthcfgl3mmv2swec7sukvclu3oli7qdyz4uhhuvmy",
"hash": "2a61e2f4b63442978140c77a70daab3961b22b12b63b13949a390c097214d1c5"
},
"guardrails": {
"hash": "fa24fb305126805cf2164c161d852a0e7330cf988f1fe558cf7d4a64"
}
},
"id": null
}
QueryLedgerStateConstitutionalCommittee
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/constitutionalCommittee",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/constitutionalCommittee",
"result": {
"members": [
{
"from": "script",
"id": "349e55f83e9af24813e6cb368df6a80d38951b2a334dfcdf26815558",
"delegate": {
"status": "authorized",
"from": "script",
"id": "07e0eb70a1cfd5de084b5fcc8a9b28ff7772282b57e760d692c75bde"
},
"status": "active",
"mandate": {
"epoch": 580
}
},
{
"from": "script",
"id": "84aebcfd3e00d0f87af918fc4b5e00135f407e379893df7e7d392c6a",
"delegate": {
"status": "authorized",
"from": "script",
"id": "2ea7a78eb914d988b9d368ed88906f3bc9fc5421667dea6a366710ec"
},
"status": "active",
"mandate": {
"epoch": 580
}
},
{
"from": "script",
"id": "b6012034ba0a7e4afbbf2c7a1432f8824aee5299a48e38e41a952686",
"delegate": {
"status": "authorized",
"from": "script",
"id": "6796d87d5169e5e8c2138886a0994b69858735ec08eef01758bfc280"
},
"status": "active",
"mandate": {
"epoch": 580
}
},
{
"from": "script",
"id": "ce8b37a72b178a37bbd3236daa7b2c158c9d3604e7aa667e6c6004b7",
"delegate": {
"status": "authorized",
"from": "script",
"id": "dc2b070610930aed3525b44379aff5180590ca5ccd01aa9abe7489b8"
},
"status": "active",
"mandate": {
"epoch": 580
}
},
{
"from": "script",
"id": "df0e83bde65416dade5b1f97e7f115cc1ff999550ad968850783fe50",
"delegate": {
"status": "authorized",
"from": "script",
"id": "3c9ebce6e7690f0218214585c7b0ef69d8dd8b6e0f0364d95e191e4c"
},
"status": "active",
"mandate": {
"epoch": 580
}
},
{
"from": "script",
"id": "e8165b3328027ee0d74b1f07298cb092fd99aa7697a1436f5997f625",
"delegate": {
"status": "authorized",
"from": "script",
"id": "4012cab50266efd8c5bf8f65c0f7667352631ec086e79bf5f82f0755"
},
"status": "active",
"mandate": {
"epoch": 580
}
},
{
"from": "script",
"id": "f0dc2c00d92a45521267be2d5de1c485f6f9d14466d7e16062897cf7",
"delegate": {
"status": "authorized",
"from": "script",
"id": "85c47dd4b9a2e70e88965d91dd69be182d5605b23bb5250b1c94bf64"
},
"status": "active",
"mandate": {
"epoch": 580
}
}
],
"quorum": "2/3"
},
"id": null
}
QueryLedgerStateDelegateRepresentatives
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/delegateRepresentatives",
"params": {
"scripts": [
"stringstringstringstringstringstringstringstringstringst"
],
"keys": [
"stringstringstringstringstringstringstringstringstringst"
]
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/delegateRepresentatives",
"result": [
{
"id": "90181c517a5beadc9c3fe64bf821d3e889a963fc717003ec248757d3",
"from": "verificationKey",
"type": "registered",
"mandate": {
"epoch": 18446744073709552000
},
"metadata": {
"hash": "90181c517a5beadc9c3fe64bf8",
"url": "http://example.com"
},
"deposit": {
"ada": {
"lovelace": 0
}
},
"stake": {
"ada": {
"lovelace": 0
}
},
"delegators": [
{
"credential": "90181c517a5beadc9c3fe64bf821d3e889a963fc717003ec248757d3",
"from": "verificationKey"
}
]
}
],
"id": null
}
QueryLedgerStateDump
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/dump",
"params": {
"to": "string"
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/dump",
"result": null,
"id": null
}
QueryLedgerStateEpoch
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/epoch",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/epoch",
"result": 564,
"id": null
}
QueryLedgerStateEraStart
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/eraStart",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/eraStart",
"result": {
"time": {
"seconds": 219024000
},
"slot": 133660800,
"epoch": 507
},
"id": null
}
QueryLedgerStateEraSummaries
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/eraSummaries",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/eraSummaries",
"result": [
{
"start": {
"time": {
"seconds": 0
},
"slot": 0,
"epoch": 0
},
"end": {
"time": {
"seconds": 89856000
},
"slot": 4492800,
"epoch": 208
},
"parameters": {
"epochLength": 21600,
"slotLength": {
"milliseconds": 20000
},
"safeZone": 4320
}
},
{
"start": {
"time": {
"seconds": 89856000
},
"slot": 4492800,
"epoch": 208
},
"end": {
"time": {
"seconds": 101952000
},
"slot": 16588800,
"epoch": 236
},
"parameters": {
"epochLength": 432000,
"slotLength": {
"milliseconds": 1000
},
"safeZone": 129600
}
},
{
"start": {
"time": {
"seconds": 101952000
},
"slot": 16588800,
"epoch": 236
},
"end": {
"time": {
"seconds": 108432000
},
"slot": 23068800,
"epoch": 251
},
"parameters": {
"epochLength": 432000,
"slotLength": {
"milliseconds": 1000
},
"safeZone": 129600
}
},
{
"start": {
"time": {
"seconds": 108432000
},
"slot": 23068800,
"epoch": 251
},
"end": {
"time": {
"seconds": 125280000
},
"slot": 39916800,
"epoch": 290
},
"parameters": {
"epochLength": 432000,
"slotLength": {
"milliseconds": 1000
},
"safeZone": 129600
}
},
{
"start": {
"time": {
"seconds": 125280000
},
"slot": 39916800,
"epoch": 290
},
"end": {
"time": {
"seconds": 157680000
},
"slot": 72316800,
"epoch": 365
},
"parameters": {
"epochLength": 432000,
"slotLength": {
"milliseconds": 1000
},
"safeZone": 129600
}
},
{
"start": {
"time": {
"seconds": 157680000
},
"slot": 72316800,
"epoch": 365
},
"end": {
"time": {
"seconds": 219024000
},
"slot": 133660800,
"epoch": 507
},
"parameters": {
"epochLength": 432000,
"slotLength": {
"milliseconds": 1000
},
"safeZone": 129600
}
},
{
"start": {
"time": {
"seconds": 219024000
},
"slot": 133660800,
"epoch": 507
},
"end": {
"time": {
"seconds": 244512000
},
"slot": 159148800,
"epoch": 566
},
"parameters": {
"epochLength": 432000,
"slotLength": {
"milliseconds": 1000
},
"safeZone": 129600
}
}
],
"id": null
}
QueryLedgerStateGovernanceProposals
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/governanceProposals",
"params": {
"proposals": [
{
"transaction": {
"id": "4030b19fa5025d0258cc8a47ac1342dba7d0c7fddf8822683e30eade78746e45"
},
"index": 564
}
]
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/governanceProposals",
"result": [],
"id": null
}
QueryLedgerStateLiveStakeDistribution
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/liveStakeDistribution",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/liveStakeDistribution",
"result": {
"pool1qqqqqdk4zhsjuxxd8jyvwncf5eucfskz0xjjj64fdmlgj735lr9": {
"stake": "64394600263872/37892338064028089",
"vrf": "6de7605b2afd7e205318fc8b4329d26439b5b179b4746fea12f1ce50395f5d9e"
},
"pool1qqqqpanw9zc0rzh0yp247nzf2s35uvnsm7aaesfl2nnejaev0uc": {
"stake": "56793123045416/37892338064028089",
"vrf": "bb862fcc397de6c06dea9a9ad8442a3d17826e01799a79b861fc083341eaed3d"
},
...
QueryLedgerStateProjectedRewards
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/projectedRewards",
"params": {
"stake": [
{
"ada": {
"lovelace": 0
}
}
],
"scripts": [
"stringstringstringstringstringstringstringstringstringst"
],
"keys": [
"stringstringstringstringstringstringstringstringstringst"
]
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/projectedRewards",
"result": {
"1000000": {
"pool1qqqqqdk4zhsjuxxd8jyvwncf5eucfskz0xjjj64fdmlgj735lr9": {
"ada": {
"lovelace": 688
}
},
"pool1qqqqpanw9zc0rzh0yp247nzf2s35uvnsm7aaesfl2nnejaev0uc": {
"ada": {
"lovelace": 676
}
},
"pool1qqqqzyqf8mlm70883zht60n4q6uqxg4a8x266sewv8ad2grkztl": {
"ada": {
"lovelace": 0
}
}
},
"bc1597ad71c55d2d009a9274b3831ded155118dd769f5376decc1369": {
"pool1qfzjwrtupyvzx0atp5pa3m82v7s8z2eqyqffa0grpyf4j349h6r": {
"ada": {
"lovelace": 0
}
},
"pool1qfxukshs4fkcrflzdnxa2fdza5lfvew3y6echg8ckaa4q8m5hyf": {
"ada": {
"lovelace": 103181546
}
}
}
},
"id": null
}
QueryLedgerStateProtocolParameters
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/protocolParameters",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/protocolParameters",
"result": {
"minFeeCoefficient": 44,
"minFeeConstant": {
"ada": {
"lovelace": 155381
}
},
"minFeeReferenceScripts": {
"base": 15.0,
"range": 25600,
"multiplier": 1.2
},
"maxBlockBodySize": {
"bytes": 90112
},
"maxBlockHeaderSize": {
"bytes": 1100
},
"maxTransactionSize": {
"bytes": 16384
},
...
QueryLedgerStateProposedProtocolParameters
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/proposedProtocolParameters",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/proposedProtocolParameters",
"result": [],
"id": null
}
QueryLedgerStateRewardAccountSummaries
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/rewardAccountSummaries",
"params": {
"scripts": [
"stringstringstringstringstringstringstringstringstringst"
],
"keys": [
"stringstringstringstringstringstringstringstringstringst"
]
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/rewardAccountSummaries",
"result": [
{
"from": "verificationKey",
"credential": "b62ecc8ce7e46c4443b63b91fffaeb19f869d191a7d2381087aaa768",
"stakePool": "pool1kchver88u3kygsak8wgll7htr8uxn5v35lfrsyy842nkscrzyvj",
"rewards": {
"ada": {
"lovelace": 219558722
}
},
"deposit": {
"ada": {
"lovelace": 2000000
}
}
}
],
"id": null
}
QueryLedgerStateStakePools
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/stakePools",
"params": {
"includeStake": true,
"stakePools": [
{
"id": "pool1qqqqpanw9zc0rzh0yp247nzf2s35uvnsm7aaesfl2nnejaev0uc"
}
]
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/stakePools",
"result": {
"pool1qqqqpanw9zc0rzh0yp247nzf2s35uvnsm7aaesfl2nnejaev0uc": {
"id": "pool1qqqqpanw9zc0rzh0yp247nzf2s35uvnsm7aaesfl2nnejaev0uc",
"vrfVerificationKeyHash": "bb862fcc397de6c06dea9a9ad8442a3d17826e01799a79b861fc083341eaed3d",
"pledge": {
"ada": {
"lovelace": 250000000000
}
},
"cost": {
"ada": {
"lovelace": 170000000
}
},
"margin": "1/100",
"rewardAccount": "stake1uyql45vs4hrjuzyy4kmh4fewl8v46wkmwhmc9wkk8df6tdcv7pe2r",
"owners": [
"014419b05d9dc94deec3a0d619221c7d3056865a43bf4e7f53d0645f",
"334e51f1d54528f619813d419f8222e53bbc0b5a78cc0e866bab8e8e",
"773cae89f5736fa91d1ec63c0337aa5989bc2e80d6bdf486c3b4464e",
"dbcbf7e630a44706e305d81f6e34d941ffc14c984264a1c59ff2b6bd",
"e8adc0e5d770adde6988844d007421307904845a9a0ba469e14889b3",
"f77db7d7642e3a49862322c213b766c25a52d5b22b3fed021f5b9848"
],
"relays": [
{
"type": "hostname",
"hostname": "r-eu-0.titanstaking.io",
"port": 4321
},
{
"type": "hostname",
"hostname": "r-eu-1.titanstaking.io",
"port": 4321
},
{
"type": "hostname",
"hostname": "r-eu-2.titanstaking.io",
"port": 4321
}
],
"metadata": {
"url": "https://www.titanstaking.io/titan.metadata.211202.json",
"hash": "f9c306dfa99b0f93b65abb9462161f1398a4ef6ecd2303f11de0ee5a49740bda"
},
"stake": {
"ada": {
"lovelace": 56784809752075
}
}
}
},
"id": null
}
QueryLedgerStateTip
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/tip",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/tip",
"result": {
"slot": 158697481,
"id": "9e742c2e2dc04ef0605ac92d34a66b17454f74ea7abe8f45773896dd5f3da541"
},
"id": null
}
QueryLedgerStateTreasuryAndReserves
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/treasuryAndReserves",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/treasuryAndReserves",
"result": {
"treasury": {
"ada": {
"lovelace": 1781861638625568
}
},
"reserves": {
"ada": {
"lovelace": 7107661935971911
}
}
},
"id": null
}
QueryLedgerStateUtxo
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/utxo",
"params": {
"outputReferences": [
{
"transaction": {
"id": "stringstringstringstringstringstringstringstringstringstringstri"
},
"index": 18446744073709552000
}
]
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryLedgerState/utxo",
"result": [],
"id": null
}
QueryNetworkBlockHeigh
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryNetwork/blockHeight",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryNetwork/blockHeight",
"result": 12013417,
"id": null
}
QueryNetworkGenesisConfiguration
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryNetwork/genesisConfiguration",
"params": {
"era": "byron"
},
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryNetwork/genesisConfiguration",
"result": {
"era": "byron",
"genesisKeyHashes": [
"1deb82908402c7ee3efeb16f369d97fba316ee621d09b32b8969e54b",
"43011479a595b300e0726910d0b602ffcdd20466a3b8ceeacd3fbc26",
"5071d8802ddd05c59f4db907bd1749e82e6242caf6512b20a8368fcf",
"5411c7bf87c252609831a337a713e4859668cba7bba70a9c3ef7c398",
"65904a89e6d0e5f881513d1736945e051b76f095eca138ee869d543d",
"6c9e14978b9d6629b8703f4f25e9df6ed4814b930b8403b0d45350ea",
"af2800c124e599d6dec188a75f8bfde397ebb778163a18240371f2d1"
],
"genesisDelegations": {
"1deb82908402c7ee3efeb16f369d97fba316ee621d09b32b8969e54b": {
"issuer": {
"verificationKey": "50733161fdafb6c8cb6fae0e25bdf9555105b3678efb08f1775b9e90de4f5c77bcc8cefff8d9011cb278b28fddc86d9bab099656d77a7856c7619108cbf65752"
},
...
QueryNetworkStartTime
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryNetwork/startTime",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryNetwork/startTime",
"result": "2017-09-23T21:44:51Z",
"id": null
}
QueryNetworkTip
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "queryNetwork/tip",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "queryNetwork/tip",
"result": {
"slot": 158697776,
"id": "3ed014a61e94252985df743049cd59011be4a48a19d2b9f45928875f2f0e42c4"
},
"id": null
}
ReleaseLedgerState
Copy
wss://ada-ogmios.nownodes.io/wss/{{api_key}}
Body
Copy
{
"jsonrpc": "2.0",
"method": "releaseLedgerState",
"id": null
}
Response: 200
Copy
{
"jsonrpc": "2.0",
"method": "releaseLedgerState",
"result": {
"released": "ledgerState"
},
"id": null
}
Last updated