Skip to content

/valuelocked

/valuelocked?<time>

time: posix timestamp (optional: defaults to now)

Gives total value locked for all token pairs at given timestamp.

Example result

Query: /valuelocked/

[
    {"satoshis":1459676788,"token_amount":19,"token_id":"b79bfc8246b5fc4707e7c7dedcb6619ef1ab91f494a790c20b0f4c422ed95b92"},
]

/valuelocked/<token>?<time>

time: posix timestamp (optional: defaults to now)

Gives total value locked for all token pairs at given timestamp.

Example result

Query: /valuelocked/b79bfc8246b5fc4707e7c7dedcb6619ef1ab91f494a790c20b0f4c422ed95b92

[
    {"satoshis":1459676788,"token_amount":19,"token_id":"b79bfc8246b5fc4707e7c7dedcb6619ef1ab91f494a790c20b0f4c422ed95b92"},
]