Skip to content

Commit ddcd727

Browse files
committed
Modify README to use new query endpoints.
Signed-off-by: Antonio Navarro Perez <[email protected]>
1 parent 3622f5e commit ddcd727

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- [Key Features](#key-features)
55
- [Getting Started](#getting-started)
66
- [GraphQL Endpoint](#graphql-endpoint)
7+
- [Hosted Example](#hosted-example)
78
- [Examples](#examples)
89
- [Get all Transactions with add\_package messages. Show the creator, package name and path.](#get-all-transactions-with-add_package-messages-show-the-creator-package-name-and-path)
910
- [Subscribe to get all new blocks in real-time](#subscribe-to-get-all-new-blocks-in-real-time)
@@ -118,9 +119,7 @@ The playground includes built-in documentation for available queries, fields, an
118119
119120
```graphql
120121
{
121-
transactions(
122-
filter: { message: {vm_param: {add_package: {}}}}
123-
) {
122+
getTransactions(where: {messages: {value: {MsgAddPackage: {}}}}) {
124123
index
125124
hash
126125
block_height

0 commit comments

Comments
 (0)