Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dfuse]

The tag has no usage guidance.

0
votes
1answer
27 views

Using the dfuse API, can I use a single EoswsClient-Instance to stream responds for multiple “getActionTraces”-requests?

example code below: client = new EoswsClient(createEoswsSocket(() => new ws(`wss://${config.dfuse.endpoint}/v1/stream?token=${config.dfuse.token}`, { origin: config.dfuse.origin }))); await ...
2
votes
2answers
28 views

Unable to send transaction

I'm attempting to create a transaction on the Kylin network (via the dfuse endpoint https://kylin.eos.dfuse.io) and I'm using a bespoke fetch to add some headers dfuse wants to see. here's the method:...
1
vote
1answer
18 views

What is the scope of the query without setting the query parameters and only setting the query field in dfuse Search?

q=account:eosio.token action:transfer&sort=desc I restricted the action to transfer, but there are some transactions in the result that are not transfer. What is the reason? q=receiver:eosio....
2
votes
1answer
57 views

How to have real-time communication in dapp?

How would a real-time 1v1 game work on the EOS Blockchain? I've noticed that many of the games/gambling dapps on EOS are mostly player vs. blockchain, like EOSBet. Could I have real-time updates to ...
2
votes
1answer
47 views

dfuse Websocket API cannot get signature in table [duplicate]

Unable to get the signature in the table,But you can get the signature type from the parameters of the interface.They should be the same type.How should I get the correct push from the table? client ...
2
votes
2answers
53 views

dfuse Websocket API table signature shows: `SIG_K1_111111111111111…`

Websocket push table: The content signature type is printed out like this. This table actually has a signature. What could be the possible reason for this to show up. Update How do I get this value/...
1
vote
0answers
21 views

`get_action_traces` listening for events will cause frame dropping in dfuse, solutions?

Calling get_action_traces to listen for events will cause frame dropping. What should I do if I encounter this situation? Resend the listen request?
2
votes
1answer
41 views

Using dfuse API, how to listen to the transfers of all tokens of a specific account?

It seems that, to listen to the transfers of all tokens of a specific account, right now the only way is for the API to add all the token contract accounts in the list. Is there a better way?
1
vote
1answer
18 views

In dfuse, how do I get “hello” from the rpc API?

The contract just added print( "hello"); and console configuration is now available in config.ini. How do I get "hello" from the rpc interface?
1
vote
1answer
23 views

Is there an API in dfuse that's like `get_table_by_scope` in chain API?

Is there an API in dfuse that's like get_table_by_scope in chain API? I have a dapp that needs table snapshots of contracts, and it needs to have all of the tables' scope at any block height.
1
vote
1answer
25 views

For dfuse API’s `get_action_traces`,is parameter `with_inline_traces` false by default?

My question is: In dfuse, when I use the get_action_traces API,is parameter with_inline_traces false by default?
1
vote
1answer
29 views

Getting cpu_limits for accounts at a specified block height

I need to query cpu_available for a bunch of users at some specified block height. I'm trying to use the dfuse api but by querying the userres table, I get only cpu_weight. Is there any way I can get ...
1
vote
1answer
29 views

In dfuse, how do I use `get_action_traces` to get notifications when certain transaction is created and when it's irreversible?

Could someone point me to how to use get_action_traces to get notification when certain transaction is created and when it's irreversible? How should I structure the code?
1
vote
1answer
60 views

“Unable to connect to dfuse endpoint. DOMException: Failed to construct 'WebSocket': The subprotocol '[object Object]' is invalid.”

I ran into this error running testing on a webpage for dfuse API, could someone tell me what this is? Here is my code: const { EoswsClient, createEoswsSocket, InboundMessageType } = require("@dfuse/...
1
vote
1answer
40 views

I don't receive `transfer` data quering `get_action_traces` on dfuse

.getActionTraces({account: "eosbetdice11"}, {start_block: Number(process.env.START_BLOCK)}) here's the response I'm using both the ts library (https://github.com/dfuse-io/eosws-js), no filtering on ...
2
votes
1answer
35 views

How do I listen to multiple accounts using get_action_traces in dfuse

According to this DEC 5th update: "Added support to filter multiple accounts, receivers and action_names in the get_action_traces WS request. Please use that instead of doing multiple parallel ...
1
vote
1answer
14 views

Latency When I’m Using get_head_info

When using the get_head_info, the data is always pushed intermittently. For example, if there’s no data pushed in the first 1-5 seconds, then it would all come in on the 6th second. Is this caused by ...
2
votes
1answer
106 views

How do I connect to the Jungle 2.0 Network with dfuse API

Where is the dfuse API endpoint to connect to the Jungle 2.0 Network?
3
votes
1answer
119 views

How does dfuse handle microforks?

Sometimes, block producers eat blocks from one another, leading to small temporary forks on the chain. How does dfuse handle that?