Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query templates for iroha json query CLI command #5255

Open
s8sato opened this issue Nov 26, 2024 · 0 comments
Open

Query templates for iroha json query CLI command #5255

s8sato opened this issue Nov 26, 2024 · 0 comments

Comments

@s8sato
Copy link
Contributor

s8sato commented Nov 26, 2024

Would it make sense to give some query templates for iroha json query CLI command? For example, what used to be FindTransactionByHash before #5025 would be:

{
  "Iterable": {
    "query": {
      "FindTransactions": {
        "query": null,
        "predicate": {
          "Atom": {
            "Value": {
              "Hash": {
                "Atom": {
                  "Equals": "EB7A8C4C6C1C652EE8929D140EDFD844D35BDEAE8CCB0A44CB307E2C43604BE7"
                }
              }
            }
          }
        },
        "selector": [
          {
            "Atom": null
          }
        ]
      }
    }
  }
}

Originally posted by @s8sato in #5242 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant