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

Closed
s8sato opened this issue Nov 26, 2024 · 1 comment
Closed

Query templates for iroha json query CLI command #5255

s8sato opened this issue Nov 26, 2024 · 1 comment
Assignees
Labels
CLI Enhancement New feature or request queries

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)

@s8sato s8sato self-assigned this Jan 28, 2025
@s8sato s8sato added Enhancement New feature or request CLI queries labels Jan 28, 2025
@s8sato s8sato assigned s8sato and unassigned s8sato Jan 28, 2025
@s8sato
Copy link
Contributor Author

s8sato commented Jan 30, 2025

Closed in favor of #5294

@s8sato s8sato closed this as completed Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Enhancement New feature or request queries
Projects
None yet
Development

No branches or pull requests

1 participant