Questions tagged [dfuse]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
53 views

Why don't dFuse return EOS-token transactions sent from a smart contract?

Why don't this dFuse-query return the latest incoming transaction from account cptblackbill? ../search/transactions?start_block=0&block_count=1400000&limit=20&sort=desc&q=receiver:...
Bjørn Omsland's user avatar
0 votes
1 answer
64 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 ...
Anthony's user avatar
  • 301
2 votes
2 answers
213 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:...
ekkis's user avatar
  • 515
1 vote
1 answer
51 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....
Anthony's user avatar
  • 301
2 votes
1 answer
97 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 ...
Taner Seytgaziyev's user avatar
2 votes
1 answer
71 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 ...
zhengfeng chen's user avatar
2 votes
2 answers
90 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/...
Anthony's user avatar
  • 301
1 vote
0 answers
32 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?
Anthony's user avatar
  • 301
2 votes
1 answer
166 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?
Anthony's user avatar
  • 301
1 vote
1 answer
74 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?
Anthony's user avatar
  • 301
1 vote
1 answer
82 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.
Anthony's user avatar
  • 301
1 vote
1 answer
45 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?
Anthony's user avatar
  • 301
1 vote
1 answer
49 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 ...
pd176's user avatar
  • 111
1 vote
1 answer
75 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?
Anthony's user avatar
  • 301
1 vote
1 answer
1k 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/...
Anthony's user avatar
  • 301
1 vote
1 answer
105 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 ...
Anthony's user avatar
  • 301
2 votes
1 answer
92 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 ...
Anthony's user avatar
  • 301
1 vote
1 answer
20 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 ...
Anthony's user avatar
  • 301
2 votes
1 answer
362 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?
Anthony's user avatar
  • 301
4 votes
1 answer
201 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?
abourget's user avatar
  • 550