Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Changing all EOS mainnet endpoints to EOSIO testnet endpoints #110

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
2ad11c4
Update authentication.md
anthonyzzy Oct 13, 2020
07da942
Update README.md
anthonyzzy Oct 13, 2020
a81caf8
Update README.md
anthonyzzy Oct 13, 2020
0b6df99
Update README.md
anthonyzzy Oct 13, 2020
3971002
Update examples.json
anthonyzzy Oct 13, 2020
a10d4a5
Update main.py
anthonyzzy Oct 13, 2020
efbd5bb
Update quickstart-other-languages.md
anthonyzzy Oct 13, 2020
eec7750
Update graphql.md
anthonyzzy Oct 13, 2020
d021485
Update README.md
anthonyzzy Oct 13, 2020
13be4ae
Update main-eos.go
anthonyzzy Oct 13, 2020
875ccfb
Update writing-on-chain.md
anthonyzzy Oct 13, 2020
e990542
Update index.eosio.js
anthonyzzy Oct 13, 2020
89ecb53
Update quickstart-javascript.md
anthonyzzy Oct 13, 2020
ea00992
Update index.eosio.js
anthonyzzy Oct 13, 2020
3a1c021
Update post-state-abi-bin_to_json.md
anthonyzzy Oct 13, 2020
854209b
Update post-chain-push_transaction.md
anthonyzzy Oct 13, 2020
243d6c7
Update index.eosio.html
anthonyzzy Oct 13, 2020
e7f6ea3
Update streaming-transactions.md
anthonyzzy Oct 13, 2020
3f7ae52
Update example.py
anthonyzzy Oct 13, 2020
327d2b7
Update index.ts
anthonyzzy Oct 13, 2020
97bd794
Update get-transactions.md
anthonyzzy Oct 13, 2020
03affa0
Update README.md
anthonyzzy Oct 13, 2020
01c1738
Update index.ts
anthonyzzy Oct 13, 2020
0ca71b5
Update get-block_id-by_time.md
anthonyzzy Oct 13, 2020
db2b32e
Update get-state-abi.md
anthonyzzy Oct 13, 2020
12d9ab4
Update get-state-key_accounts.md
anthonyzzy Oct 13, 2020
d18fac6
Update get-state-table-row.md
anthonyzzy Oct 13, 2020
08ea02e
Update get-state-table_scopes.md
anthonyzzy Oct 13, 2020
481ce8c
Update get-state-tables-accounts.md
anthonyzzy Oct 13, 2020
62d6f03
Update get-search-transactions.md
anthonyzzy Oct 13, 2020
cb2c04f
Update get-state-permission_links.md
anthonyzzy Oct 13, 2020
88223a5
Update get-state-table.md
anthonyzzy Oct 13, 2020
85ee10e
Update get-state-tables-scopes.md
anthonyzzy Oct 13, 2020
8c449d2
Update req-get-action-traces.md
anthonyzzy Oct 14, 2020
19564ef
Update req-get-table-rows.md
anthonyzzy Oct 14, 2020
1b96ca1
Update with the latest information
anthonyzzy Oct 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion content/eosio/public-apis/community-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ title: Community & Support
dfuse has a vibrant community to support you and our own engineers never too far to give you a hand:

* [EOSIO Telegram Group](https://t.me/dfuseAPI)
* [EOSIO Community Forums](https://community.dfuse.io/c/dfuse-for-eosio/) (preferred method)
* [Community Edition Telegram Group](https://t.me/dfuseAPI)
* [Ethereum Telegram Group](https://t.me/dfuseETH)
* WeChat Group: search and follow "dfuse API" WeChat Public Account to join

We're also very active on social medias with fresh content for blockchain developers on a weekly basis:

Expand All @@ -15,6 +17,8 @@ We're also very active on social medias with fresh content for blockchain develo
* [YouTube](https://www.youtube.com/channel/UCT_wVH42n6jv-IG8C7QsHGg)
* [reddit](https://www.reddit.com/user/dfuseio)
* [Facebook](https://www.facebook.com/dfuseio)
* WeChat Public Account: dfuse API


If you need to get in touch for sales or media inquiries, you can use this contact us form:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ to you, you get to choose and pick only what you are interested in.
Want to inspect the full set of available fields you can retrieve?

- [GraphQL API]({{< ref "/eosio/public-apis/reference/graphql-api" >}})
- {{< external-link href="https://mainnet.eos.dfuse.io/graphiql/?query=c3Vic2NyaXB0aW9uIHsKICBzZWFyY2hUcmFuc2FjdGlvbnNGb3J3YXJkKHF1ZXJ5OiJyZWNlaXZlcjplb3Npby50b2tlbiBhY3Rpb246dHJhbnNmZXIgLWRhdGEucXVhbnRpdHk6JzAuMDAwMSBFT1MnIikgewogICAgdW5kbyBjdXJzb3IKICAgIHRyYWNlIHsgaWQgbWF0Y2hpbmdBY3Rpb25zIHsganNvbiB9IH0KICB9Cn0=" title="GraphiQL, online query editor with completion and docs">}}
- {{< external-link href="https://testnet.eos.dfuse.io/graphiql/?query=c3Vic2NyaXB0aW9uIHsKICBzZWFyY2hUcmFuc2FjdGlvbnNGb3J3YXJkKHF1ZXJ5OiJyZWNlaXZlcjplb3Npby50b2tlbiBhY3Rpb246dHJhbnNmZXIgLWRhdGEucXVhbnRpdHk6JzAuMDAwMSBFT1MnIikgewogICAgdW5kbyBjdXJzb3IKICAgIHRyYWNlIHsgaWQgbWF0Y2hpbmdBY3Rpb25zIHsganNvbiB9IH0KICB9Cn0=" title="GraphiQL, online query editor with completion and docs">}}
{{< /alert >}}

{{< tabs "define-query">}}
Expand Down Expand Up @@ -247,4 +247,4 @@ start index.eosio.thml # Windows
- [Try one of our tutorials]({{< ref "/eosio/public-apis/tutorials" >}})
- {{< external-link title="The `@dfuse/client-js` overview document" href="https://github.com/dfuse-io/client-js/blob/master/README.md#dfuse-javascripttypescript-client-library" >}}
- {{< external-link title="The `@dfuse/client-js` quick API reference" href="https://github.com/dfuse-io/client-js/blob/master/README.md#api" >}} ({{< external-link title="Full API reference" href="https://dfuse-io.github.io/client-js/" >}})
- {{< external-link title="GraphiQL, online query editor with completion and docs" href="https://mainnet.eos.dfuse.io/graphiql/?query=c3Vic2NyaXB0aW9uIHsKICBzZWFyY2hUcmFuc2FjdGlvbnNGb3J3YXJkKHF1ZXJ5OiJyZWNlaXZlcjplb3Npby50b2tlbiBhY3Rpb246dHJhbnNmZXIgLWRhdGEucXVhbnRpdHk6JzAuMDAwMSBFT1MnIikgewogICAgdW5kbyBjdXJzb3IKICAgIHRyYWNlIHsgaWQgbWF0Y2hpbmdBY3Rpb25zIHsganNvbiB9IH0KICB9Cn0=" >}}
- {{< external-link title="GraphiQL, online query editor with completion and docs" href="https://testnet.eos.dfuse.io/graphiql/?query=c3Vic2NyaXB0aW9uIHsKICBzZWFyY2hUcmFuc2FjdGlvbnNGb3J3YXJkKHF1ZXJ5OiJyZWNlaXZlcjplb3Npby50b2tlbiBhY3Rpb246dHJhbnNmZXIgLWRhdGEucXVhbnRpdHk6JzAuMDAwMSBFT1MnIikgewogICAgdW5kbyBjdXJzb3IKICAgIHRyYWNlIHsgaWQgbWF0Y2hpbmdBY3Rpb25zIHsganNvbiB9IH0KICB9Cn0=" >}}
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ to you, as you get to pick and choose only what you are interested in.
Want to inspect the full set of available fields you can retrieve?

* [GraphQL API Reference]({{< ref "/eosio/public-apis/reference/graphql-api" >}})
* {{< external-link href="https://mainnet.eos.dfuse.io/graphiql/?query=c3Vic2NyaXB0aW9uIHsKICBzZWFyY2hUcmFuc2FjdGlvbnNGb3J3YXJkKHF1ZXJ5OiJyZWNlaXZlcjplb3Npby50b2tlbiBhY3Rpb246dHJhbnNmZXIgLWRhdGEucXVhbnRpdHk6JzAuMDAwMSBFT1MnIikgewogICAgdW5kbyBjdXJzb3IKICAgIHRyYWNlIHsgaWQgbWF0Y2hpbmdBY3Rpb25zIHsganNvbiB9IH0KICB9Cn0=" title="GraphiQL, online query editor with completion and docs">}}
* {{< external-link href="https://testnet.eos.dfuse.io/graphiql/?query=c3Vic2NyaXB0aW9uIHsKICBzZWFyY2hUcmFuc2FjdGlvbnNGb3J3YXJkKHF1ZXJ5OiJyZWNlaXZlcjplb3Npby50b2tlbiBhY3Rpb246dHJhbnNmZXIgLWRhdGEucXVhbnRpdHk6JzAuMDAwMSBFT1MnIikgewogICAgdW5kbyBjdXJzb3IKICAgIHRyYWNlIHsgaWQgbWF0Y2hpbmdBY3Rpb25zIHsganNvbiB9IH0KICB9Cn0=" title="GraphiQL, online query editor with completion and docs">}}
{{< /alert >}}

{{< tabs "define-query">}}
Expand Down
6 changes: 3 additions & 3 deletions content/eosio/public-apis/reference/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ To authenticate REST requests, specify an `Authorization: Bearer [JWT token]` he

{{< tabs "rest-auth" >}}
{{< tab title="curl" lang="bash" >}}
curl -H "Authorization: Bearer YOURTOKENHERE" -u https://mainnet.eos.dfuse.io/v0/state/... [ ... ]
curl -H "Authorization: Bearer YOURTOKENHERE" -u https://testnet.eos.dfuse.io/v0/state/... [ ... ]
{{< /tab >}}
{{< tab title="eosc" lang="bash" >}}
eosc -H "Authorization: Bearer YOURTOKENHERE" -u https://mainnet.eos.dfuse.io [ ... ]
eosc -H "Authorization: Bearer YOURTOKENHERE" -u https://testnet.eos.dfuse.io [ ... ]
{{< /tab >}}
{{< /tabs >}}

Expand All @@ -28,7 +28,7 @@ This example uses the <https://github.com/hashrocket/ws> command-line WebSocket

{{< tabs "websocket-auth" >}}
{{< tab lang="shell" >}}
ws wss://mainnet.eos.dfuse.io/v1/stream?token=YOURTOKENHERE
ws wss://testnet.eos.dfuse.io/v1/stream?token=YOURTOKENHERE
{{< /tab >}}
{{< /tabs >}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Get the block ID produced at a given time.

The following example fetches the block ID, time and block number for the timestamp `2019-03-04T10:36:14.6Z`.

{{< example-request id="req-by-time" url="https://mainnet.eos.dfuse.io/v0/block_id/by_time?time=2019-03-04T10:36:14.5Z&comparator=gte" >}}
{{< example-request id="req-by-time" url="https://testnet.eos.dfuse.io/v0/block_id/by_time?time=2019-03-04T10:36:14.5Z&comparator=gte" >}}

{{< tabs "block-id-response">}}
{{< tab title="Response" lang="json" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ of this endpoint. Main advantages of using the GraphQL API of this endpoint over

Sample request:

{{< example-request id="search-transactions" url="https://mainnet.eos.dfuse.io/v0/search/transactions?start_block=0&block_count=10000&limit=10&sort=desc&q=receiver:eosio.token+action:transfer+data.to:someaccount1" >}}
{{< example-request id="search-transactions" url="https://testnet.eos.dfuse.io/v0/search/transactions?start_block=0&block_count=10000&limit=10&sort=desc&q=receiver:eosio.token+action:transfer+data.to:someaccount1" >}}

## Pagination

Expand Down
2 changes: 1 addition & 1 deletion content/eosio/public-apis/reference/rest/get-state-abi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Fetches the ABI for a given contract account, at any block height.

Sample request:

{{< example-request id="search-transactions" url="https://mainnet.eos.dfuse.io/v0/state/abi?account=eosio&json=true" >}}
{{< example-request id="search-transactions" url="https://testnet.eos.dfuse.io/v0/state/abi?account=eosio&json=true" >}}

## Requesting past blocks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Fetches the accounts controlled by the given public key, at any block height.

Sample request:

{{< example-request id="search-transactions" url="https://mainnet.eos.dfuse.io/v0/state/key_accounts?public_key=EOS7YNS1swh6QWANkzGgFrjiX8E3u8WK5CK9GMAb6EzKVNZMYhCH3" >}}
{{< example-request id="search-transactions" url="https://testnet.eos.dfuse.io/v0/state/key_accounts?public_key=EOS7YNS1swh6QWANkzGgFrjiX8E3u8WK5CK9GMAb6EzKVNZMYhCH3" >}}

{{< alert type="note" >}}
This endpoint is a drop-in replacement for the `/v1/history/get_key_accounts` API endpoint from standard `nodeos`. Simply tweak the URL, and add the Bearer token.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Fetches snapshots of any account’s linked authorizations on the blockchain, at

Sample request:

{{< example-request id="search-transactions" url="https://mainnet.eos.dfuse.io/v0/state/permission_links?account=eoscanadacom&block_num=10000000" >}}
{{< example-request id="search-transactions" url="https://testnet.eos.dfuse.io/v0/state/permission_links?account=eoscanadacom&block_num=10000000" >}}

Fetches snapshots of any account's linked authorizations on the blockchain, at any block height.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Fetches a single row from the state of any table, at any block height.

Sample request:

{{< example-request id="search-transactions" url="https://mainnet.eos.dfuse.io/v0/state/table/row?account=eosio.token&scope=b1&table=accounts&primary_key=EOS&key_type=symbol_code&block_num=25000000&json=true" >}}
{{< example-request id="search-transactions" url="https://testnet.eos.dfuse.io/v0/state/table/row?account=eosio.token&scope=b1&table=accounts&primary_key=EOS&key_type=symbol_code&block_num=25000000&json=true" >}}

## Requesting past blocks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Fetches the state of any table, at any block height.

Sample request:

{{< example-request id="search-transactions" url="https://mainnet.eos.dfuse.io/v0/state/table?account=eosio.token&scope=b1&table=accounts&block_num=25000000&json=true" >}}
{{< example-request id="search-transactions" url="https://testnet.eos.dfuse.io/v0/state/table?account=eosio.token&scope=b1&table=accounts&block_num=25000000&json=true" >}}

## Requesting past blocks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Not to be confused with [/v0/state/tables/scopes]({{< ref "./get-state-tables-sc

Sample request:

{{< example-request id="search-transactions" url="https://mainnet.eos.dfuse.io/v0/state/table_scopes?account=eosforumdapp&table=proposal" >}}
{{< example-request id="search-transactions" url="https://testnet.eos.dfuse.io/v0/state/table_scopes?account=eosforumdapp&table=proposal" >}}

## Requesting past blocks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The output format is slightly different too.

Sample request:

{{< example-request id="search-transactions" url="https://mainnet.eos.dfuse.io/v0/state/tables/accounts?accounts=eosio.token|eosadddddddd|tokenbyeocat|ethsidechain|epraofficial|alibabapoole|hirevibeshvt|oo1122334455|irespotokens|publytoken11|parslseed123|trybenetwork|zkstokensr4u&scope=b1&table=accounts&block_num=25000000&json=true" >}}
{{< example-request id="search-transactions" url="https://testnet.eos.dfuse.io/v0/state/tables/accounts?accounts=eosio.token|eosadddddddd|tokenbyeocat|ethsidechain|epraofficial|alibabapoole|hirevibeshvt|oo1122334455|irespotokens|publytoken11|parslseed123|trybenetwork|zkstokensr4u&scope=b1&table=accounts&block_num=25000000&json=true" >}}

## Requesting past blocks & ABI handling

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The output format is slightly different too.

Sample request:

{{< example-request id="search-transactions" url="https://mainnet.eos.dfuse.io/v0/state/tables/scopes?account=eosio&scopes=eosio.token|eosadddddddd|tokenbyeocat|ethsidechain|epraofficial|alibabapoole|hirevibeshvt|oo1122334455|irespotokens|publytoken11|parslseed123|trybenetwork|zkstokensr4u&table=delband&block_num=25000000&json=true" >}}
{{< example-request id="search-transactions" url="https://testnet.eos.dfuse.io/v0/state/tables/scopes?account=eosio&scopes=eosio.token|eosadddddddd|tokenbyeocat|ethsidechain|epraofficial|alibabapoole|hirevibeshvt|oo1122334455|irespotokens|publytoken11|parslseed123|trybenetwork|zkstokensr4u&table=delband&block_num=25000000&json=true" >}}

## Requesting past blocks & ABI handling

Expand Down
8 changes: 4 additions & 4 deletions content/eosio/public-apis/reference/rest/get-transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Fetching the transaction lifecycle associated with the provided parameter `:id`.

## Usage

{{< example-request id="search-transactions" url="https://mainnet.eos.dfuse.io/v0/transactions/1d5f57e9392d045ef4d1d19e6976803f06741e11089855b94efcdb42a1a41253" >}}
{{< example-request id="search-transactions" url="https://testnet.eos.dfuse.io/v0/transactions/1d5f57e9392d045ef4d1d19e6976803f06741e11089855b94efcdb42a1a41253" >}}

This method returns transaction information regardless of the actual lifecycle
state be it deferred, executed, failed or cancelled. This means that deferred
Expand All @@ -29,13 +29,13 @@ overview of lifecycle related properties that are available in the response.

#### Response

Here is a sample response, for transaction id `1d5f57e9392d045ef4d1d19e6976803f06741e11089855b94efcdb42a1a41253` on EOS Mainnet:
Here is a sample response, for transaction id `4844708BA8CBDF30F75B856BAE8A7B15A3898A1CA9F0FB9A5FBA897C1E975A5C` on EOSIO Testnet:

{{< tabs "fetch-transaction-example" >}}
{{< tab lang="json" >}}
{
"transaction_status": "executed",
"id": "1d5f57e9392d045ef4d1d19e6976803f06741e11089855b94efcdb42a1a41253",
"id": "4844708BA8CBDF30F75B856BAE8A7B15A3898A1CA9F0FB9A5FBA897C1E975A5C",
"transaction": {
"expiration": "2019-04-16T14:36:11",
...,
Expand All @@ -48,7 +48,7 @@ Here is a sample response, for transaction id `1d5f57e9392d045ef4d1d19e6976803f0
],
},
"execution_trace": {
"id": "1d5f57e9392d045ef4d1d19e6976803f06741e11089855b94efcdb42a1a41253",
"id": "4844708BA8CBDF30F75B856BAE8A7B15A3898A1CA9F0FB9A5FBA897C1E975A5C",
...,
"receipt": {
"status": "executed",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Older version of `cleos` have
{{< external-link href="https://github.com/EOSIO/eos/pull/6265" title="an issue addressed in this PR">}}

{{< highlight shell >}}
eosc -H "Authorization: Bearer YOURTOKENHERE" -H "X-Eos-Push-Guarantee: irreversible" -u "https://mainnet.eos.dfuse.io" tx push mytx.json
eosc -H "Authorization: Bearer YOURTOKENHERE" -H "X-Eos-Push-Guarantee: handoffs:3" -u "https://mainnet.eos.dfuse.io" transfer sourceaccount destination 5
eosc -H "Authorization: Bearer YOURTOKENHERE" -H "X-Eos-Push-Guarantee: irreversible" -u "https://testnet.eos.dfuse.io" tx push mytx.json
eosc -H "Authorization: Bearer YOURTOKENHERE" -H "X-Eos-Push-Guarantee: handoffs:3" -u "https://testnet.eos.dfuse.io" transfer sourceaccount destination 5
{{< /highlight >}}

You can always use `eosc` to use the feature:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Sample request:
{{< tab lang="shell" >}}
curl -X POST -H "Authorization: Bearer eyJhbGciOiJLTVNFUzI1Ni..." \
-d '{"account":"eosio.token","table":"accounts","block_num":2500000,"hex_rows":["aa2c0b010000000004454f5300000000"]}' \
"https://mainnet.eos.dfuse.io/v0/state/abi/bin_to_json"
"https://testnet.eos.dfuse.io/v0/state/abi/bin_to_json"
{{< /tab >}}

{{< tab lang="javascript" >}}
fetch("https://mainnet.eos.dfuse.io/v0/state/abi/bin_to_json", {
fetch("https://testnet.eos.dfuse.io/v0/state/abi/bin_to_json", {
method: "POST",
body: JSON.stringify({
account: "eosio.token",
Expand All @@ -45,7 +45,7 @@ headers = {

data = '{"account":"eosio.token","table":"accounts","block_num":2500000,"hex_rows":["aa2c0b010000000004454f5300000000"]}'

response = requests.post('https://mainnet.eos.dfuse.io/v0/state/abi/bin_to_json', headers=headers, data=data)
response = requests.post('https://testnet.eos.dfuse.io/v0/state/abi/bin_to_json', headers=headers, data=data)
{{< /tab >}}

{{< tab lang="go" >}}
Expand All @@ -61,7 +61,7 @@ import (
func main() {
client := &http.Client{}
var data = []byte(`{{"account":"eosio.token","table":"accounts","block_num":2500000,"hex_rows":["aa2c0b010000000004454f5300000000"]}}`)
req, err := http.NewRequest("POST", "https://mainnet.eos.dfuse.io/v0/state/abi/bin_to_json", data)
req, err := http.NewRequest("POST", "https://testnet.eos.dfuse.io/v0/state/abi/bin_to_json", data)
if err != nil {
log.Fatal(err)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ subscription ($cursor: String) {
{{< /highlight >}}

{{< alert type="note" >}}
Eager to try out the document above? Head down straight to our {{< external-link title="GraphiQL Online Editor" href="https://mainnet.eos.dfuse.io/graphiql/?query=c3Vic2NyaXB0aW9uICgkY3Vyc29yOiBTdHJpbmcpIHsKICBzZWFyY2hUcmFuc2FjdGlvbnNGb3J3YXJkKAogICAgcXVlcnk6ICIoYWNjb3VudDplb3Npby50b2tlbiBPUiBhY2NvdW50OnRoZXRlcnRoZXRlcikgKGFjdGlvbjp0cmFuc2ZlciBPUiBhY3Rpb246aXNzdWUpIiwKICAgIGN1cnNvcjogJGN1cnNvcgogICkgewogICAgdW5kbyBjdXJzb3IKICAgIGJsb2NrIHsgbnVtIGlkIH0KICAgIHRyYWNlIHsKICAgICAgaWQKICAgICAgbWF0Y2hpbmdBY3Rpb25zIHsKICAgICAgICBzZXEKICAgICAgICByZWNlaXZlciBhY2NvdW50IG5hbWUKICAgICAgICBqc29uCiAgICAgICAgZGJPcHMgeyBvcGVyYXRpb24gb2xkSlNPTiB7IG9iamVjdCBlcnJvciB9IG5ld0pTT04geyBvYmplY3QgZXJyb3IgfSB9CiAgICAgICAgZHRyeE9wcyB7IG9wZXJhdGlvbiBwYXllciB0cmFuc2FjdGlvbiB7IGFjdGlvbnMgeyBhY2NvdW50IG5hbWUganNvbiB9IH0gfQogICAgICAgIHJhbU9wcyB7IG9wZXJhdGlvbiBkZWx0YSB1c2FnZSB9CiAgICAgIH0KICAgIH0KICB9Cn0=" >}} and press the play button in the top bar of the page.
Eager to try out the document above? Head down straight to our {{< external-link title="GraphiQL Online Editor" href="https://testnet.eos.dfuse.io/graphiql/?query=c3Vic2NyaXB0aW9uICgkY3Vyc29yOiBTdHJpbmcpIHsKICBzZWFyY2hUcmFuc2FjdGlvbnNGb3J3YXJkKAogICAgcXVlcnk6ICIoYWNjb3VudDplb3Npby50b2tlbiBPUiBhY2NvdW50OnRoZXRlcnRoZXRlcikgKGFjdGlvbjp0cmFuc2ZlciBPUiBhY3Rpb246aXNzdWUpIiwKICAgIGN1cnNvcjogJGN1cnNvcgogICkgewogICAgdW5kbyBjdXJzb3IKICAgIGJsb2NrIHsgbnVtIGlkIH0KICAgIHRyYWNlIHsKICAgICAgaWQKICAgICAgbWF0Y2hpbmdBY3Rpb25zIHsKICAgICAgICBzZXEKICAgICAgICByZWNlaXZlciBhY2NvdW50IG5hbWUKICAgICAgICBqc29uCiAgICAgICAgZGJPcHMgeyBvcGVyYXRpb24gb2xkSlNPTiB7IG9iamVjdCBlcnJvciB9IG5ld0pTT04geyBvYmplY3QgZXJyb3IgfSB9CiAgICAgICAgZHRyeE9wcyB7IG9wZXJhdGlvbiBwYXllciB0cmFuc2FjdGlvbiB7IGFjdGlvbnMgeyBhY2NvdW50IG5hbWUganNvbiB9IH0gfQogICAgICAgIHJhbU9wcyB7IG9wZXJhdGlvbiBkZWx0YSB1c2FnZSB9CiAgICAgIH0KICAgIH0KICB9Cn0=" >}} and press the play button in the top bar of the page.
{{</ alert>}}

The `"accounts": "eosio.token|tethertether"` argument in `get_action_traces` becomes the
Expand Down Expand Up @@ -185,7 +185,7 @@ GraphQL, you have the power to pick and choose the exact field you want to recei
drastically shaving bandwidth cost in most usual cases.

We will not provide a 1 to 1 mapping list as it would be too much. You can use the
{{< external-link title="GraphiQL Online Editor" href="https://mainnet.eos.dfuse.io/graphiql/?query=c3Vic2NyaXB0aW9uICgkY3Vyc29yOiBTdHJpbmcpIHsKICBzZWFyY2hUcmFuc2FjdGlvbnNGb3J3YXJkKAogICAgcXVlcnk6ICIoYWNjb3VudDplb3Npby50b2tlbiBPUiBhY2NvdW50OnRoZXRlcnRoZXRlcikgKGFjdGlvbjp0cmFuc2ZlciBPUiBhY3Rpb246aXNzdWUpIiwKICAgIGN1cnNvcjogJGN1cnNvciwKICAgIGxpbWl0OiAxLAogICkgewogICAgdW5kbyBjdXJzb3IKICAgIGJsb2NrIHsgbnVtIGlkIH0KICAgIHRyYWNlIHsKICAgICAgaWQKICAgICAgbWF0Y2hpbmdBY3Rpb25zIHsKICAgICAgICBzZXEKICAgICAgICByZWNlaXZlciBhY2NvdW50IG5hbWUKICAgICAgICBqc29uCiAgICAgICAgZGJPcHMgeyBvcGVyYXRpb24gb2xkSlNPTiB7IG9iamVjdCBlcnJvciB9IG5ld0pTT04geyBvYmplY3QgZXJyb3IgfSB9CiAgICAgICAgZHRyeE9wcyB7IG9wZXJhdGlvbiBwYXllciB0cmFuc2FjdGlvbiB7IGFjdGlvbnMgeyBhY2NvdW50IG5hbWUganNvbiB9IH0gfQogICAgICAgIHJhbU9wcyB7IG9wZXJhdGlvbiBkZWx0YSB1c2FnZSB9CiAgICAgIH0KICAgIH0KICB9Cn0=" >}}, link and start from there, then slowly add (or remove) the fields you interested in.
{{< external-link title="GraphiQL Online Editor" href="https://testnet.eos.dfuse.io/graphiql/?query=c3Vic2NyaXB0aW9uICgkY3Vyc29yOiBTdHJpbmcpIHsKICBzZWFyY2hUcmFuc2FjdGlvbnNGb3J3YXJkKAogICAgcXVlcnk6ICIoYWNjb3VudDplb3Npby50b2tlbiBPUiBhY2NvdW50OnRoZXRlcnRoZXRlcikgKGFjdGlvbjp0cmFuc2ZlciBPUiBhY3Rpb246aXNzdWUpIiwKICAgIGN1cnNvcjogJGN1cnNvciwKICAgIGxpbWl0OiAxLAogICkgewogICAgdW5kbyBjdXJzb3IKICAgIGJsb2NrIHsgbnVtIGlkIH0KICAgIHRyYWNlIHsKICAgICAgaWQKICAgICAgbWF0Y2hpbmdBY3Rpb25zIHsKICAgICAgICBzZXEKICAgICAgICByZWNlaXZlciBhY2NvdW50IG5hbWUKICAgICAgICBqc29uCiAgICAgICAgZGJPcHMgeyBvcGVyYXRpb24gb2xkSlNPTiB7IG9iamVjdCBlcnJvciB9IG5ld0pTT04geyBvYmplY3QgZXJyb3IgfSB9CiAgICAgICAgZHRyeE9wcyB7IG9wZXJhdGlvbiBwYXllciB0cmFuc2FjdGlvbiB7IGFjdGlvbnMgeyBhY2NvdW50IG5hbWUganNvbiB9IH0gfQogICAgICAgIHJhbU9wcyB7IG9wZXJhdGlvbiBkZWx0YSB1c2FnZSB9CiAgICAgIH0KICAgIH0KICB9Cn0=" >}}, link and start from there, then slowly add (or remove) the fields you interested in.

{{< alert type="note" >}}
The link above as a `limit: 1` parameter so the stream stops right after a match so it's easier to inspect the
Expand Down
Loading