Skip to content

Instantly share code, notes, and snippets.

@papacarp
Created June 20, 2022 15:27
Show Gist options
  • Save papacarp/44607217dc65ca26d1292273e7a24556 to your computer and use it in GitHub Desktop.
Save papacarp/44607217dc65ca26d1292273e7a24556 to your computer and use it in GitHub Desktop.
send:
{
type: 'jsonwsp/request',
version: '1.0',
servicename: 'ogmios',
methodname: 'FindIntersect',
args: { points: [ 'origin' ] }
}
receive
{
type: 'jsonwsp/response',
version: '1.0',
servicename: 'ogmios',
methodname: 'FindIntersect',
result: { IntersectionFound: { point: 'origin', tip: [Object] } },
reflection: null
}
send:
{
type: 'jsonwsp/request',
version: '1.0',
servicename: 'ogmios',
methodname: 'Acquire',
args: {
point: {
slot: 64169093,
hash: 'a9864b937d99f9a2cb41fa114120fbcbf469612a7cdc69e43b9fc93743d0ed0f',
blockNo: 7399970
}
}
}
receive
{
type: 'jsonwsp/response',
version: '1.0',
servicename: 'ogmios',
methodname: 'Acquire',
result: { AcquireSuccess: { point: [Object] } },
reflection: null
}
send:
{
type: 'jsonwsp/request',
version: '1.0',
servicename: 'ogmios',
methodname: 'Query',
args: { query: 'poolsRanking' }
}
receive
{
type: 'jsonwsp/response',
version: '1.0',
servicename: 'ogmios',
methodname: 'Query',
result: {},
reflection: null
}
{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment