# Query a post

This query allows you to retrieve the details of a single post having its id.

CLI

desmos query posts post [id]

# Example
# desmos query posts post a4469741bb0c0622627810082a5f2e4e54fbbb888f25a4771a5eebc697d30cfc

# Query the posts inside a subspace

This query allows you to get all the stored posts inside the subspace having the given id.

CLI

desmos query posts [subspace-id] [--flags]

Available flags:

  • --page (e.g. --page=1)
  • --limit (e.g --limit=10)
# Example
# desmos query posts 4e188d9c17150037d5199bbdb91ae1eb2a78a15aca04cb35530cccb81494b36e