Questions tagged [query]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

Mappings inside functions to filter query

I have a struct and several boolean mappings that are used to keep track of struct's properties struct Animal { string species; bytes32 ID; } mapping (bytes32 => Animal) public Animals; ...
0
votes
1answer
74 views

Query Ethereum Blockchain for functions return value of a Specified Smart Contract

I want to get smart contract functions return value sent by a specified smart contract within a range of blocks. I found a [manual] working method to achieve this: async function getTxsByAccount(...
1
vote
0answers
47 views

How to open Parity database from javascript (how to open column families)?

I am trying to connect to Parity database at var dbPath = 'C:\\Users\\username\\AppData\\Local\\Parity\\Ethereum\\chains\\ethereum\\db\\906a34e69aec8c0d\\overlayrecent\\db' form javascript using npm ...
0
votes
1answer
58 views

How does CryptoKitties query price data? (To make filters)

so I was just wondering on how CryptoKitties work. Like in order to query the price of each Kitty, do they querry like every single Kitty's price and then sort it out. Or is there a function or a ...
2
votes
2answers
463 views

Error: Couldn't decode bytes32 from ABI: 0x The size doesn't match

I am querying a mapping via a web3 call like this: var Web3 = require('web3'); const web3 = new Web3(new Web3.providers.HttpProvider('https://kovan.infura.io/key...')); var contractABI = new web3....
0
votes
1answer
2k views

How to get metadata from ERC721

I'm trying to get Metadata from ERC721 token. Actually I'm trying to do it via ETHERSCAN and blockcypher APIs but I can't find the metadata in the response (like the Picture URL or the IPFS ID) Can ...
3
votes
0answers
138 views

Ethereum block chain extracter and parser like blocksci

I'm new to ethereum and I would like to develop an analyzing framework for ethereum. Is there a blockchain extractor and a parser to similar to blocksci available for ethereum and support analyzing of ...
3
votes
2answers
1k views

Index and query blockchain data and levelDB

Would it be more performant to query the blockchain data directly through the underlying database levelDB instead of using the provided geth api? How would it be possible? Can I just index the ...
3
votes
1answer
961 views

Querying the blockchain: Search transaction by data

Is it possible to perform queries on the blockchain, based on transaction properties (other then hash), such as its data/sender/value/etc fields? For example, is it possible to "ask the blockchain" to ...
3
votes
1answer
199 views

API to enumerate the blocks from a specific day

I'm trying to find an API that lists all the blocks from a specific day, as we can do with bitcoin: https://blockchain.info/pt/blocks/1515628800000?format=json I've searched etherscan.io and ...
1
vote
2answers
105 views

ETH blockchain reading scalability

Quick premise, I'm super new to blockchain and Solidity. I've tried to figure out scalability implication of reading data from the blockchain. I understand that reading operations are free, but how ...
1
vote
0answers
31 views

Is it possible to query blockchain using wallet extra-infos?

I read here how to add extra fields to a wallet address, is it possible to query the ethereum blockchain and find all wallets with the same extra-filed? For example: all wallets with the same user ...
9
votes
3answers
7k views

Solidity error when encoding arguments to query public mapping

While developing a Smart Contract with Solidity on Remix , after creating the contract I'm trying to query a public mapping: mapping (address => uint256) public balanceOf; but when I call ...
2
votes
1answer
916 views

Asynchronously querying the block chain

This question is related to this one or this one. There is a tutorial here that shows some filtering examples but it doesn't get into transaction level granularity. Can we query the block chain by ...
6
votes
1answer
2k views

How run queries on the block chain?

since I am quite new to Eth I have the following question : there are some transactions made between two parties which are saved in the block chain. On window.onload() prior to rendering my components,...
5
votes
1answer
2k views

Listing transactions in a private blockchain?

In a private blockchain, is it possible to list the transactions based on from and to parameters in a transaction. Is it possible to check the latest transaction from or to an address? Also, is it ...
4
votes
2answers
5k views

How to query local Ethereum blockchain for a specified transaction?

I want to find specified transaction. How can I query my local Ethereum blockchain from the console?
6
votes
2answers
627 views

How does etherchain access and query Ethereum blockchain transaction data?

Can whatever method that etherchain are using to access and query the blockchain data also be leveraged by the average web developer in a garden variety web app using a remote call? Or, are etherchain ...