Query

Queries a list of GetSession items.

get/pocket/session/get_session

Query parameters

application_addressstring

The Bech32 address of the application using cosmos' ScalarDescriptor to ensure deterministic encoding

service_id.idstring

NOTE: ServiceId.Id may seem redundant but was desigtned created to enable more complex service identification For example, what if we want to request a session for a certain service but with some additional configs that identify it?

Unique identifier for the service

service_id.namestring

TODO_TECHDEBT: Name is currently unused but acts as a reminder than an optional onchain representation of the service is necessary

(Optional) Semantic human readable name for the service

block_heightstring int64

The block height to query the session for

Response

A successful response.

Changes