Skip to main content

Questions tagged [data]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Exploring Solutions for Enhanced Data Storage in Ethereum Wallets

Vitalik recently raised an important point about the need for robust data storage solutions in crypto wallets https://vitalik.eth.limo/general/2024/12/03/wallets.html. Chris Were, the CEO and co-...
Mykhailo's user avatar
1 vote
0 answers
12 views

access daily pending txs historical data

I am an academic researcher in finance, currently working on Txs Fees on Ethereum. I am looking for a database where I can find the daily number of pending transactions on Ethereum over a large amount ...
David Germanowicz's user avatar
0 votes
0 answers
44 views

How to identify swap transactions?

Is there a way to identify all swap transactions of a token pair? So this would involve CEX, DEX, direct swaps, and other forms I am not aware of. Of course, this can be complex involving many ...
nocibambi's user avatar
  • 101
1 vote
1 answer
56 views

Redundant byte offset requirement in the Contract ABI Specification?

I've had the pleasure of finding out that, contrary to what I've been used to in the other byte-transferring/-interpretation systems (e.g. the C/C++ languages, the communication protocols, etc.), ...
Iaroslav's user avatar
  • 410
0 votes
0 answers
72 views

How to access transaction data in Alastria networks?

I have read an article about a personal data leak on Alastria networks: https://medium.com/@4k-research/personal-data-leak-alastria-blockchain-ecosystem-9366544d1cd9. Following the article idea I have ...
jander_62's user avatar
1 vote
1 answer
37 views

Smart Contracts data for a thesis on commodity trading

I am considering writing my master's thesis in finance on smart contracts and commodity trading. I would like to conduct an analysis on the trading behavior of smart contracts as opposed to ...
gerscorpion's user avatar
1 vote
1 answer
137 views

Bridging On-chain Data with LLM Models: Retrieving Token Information (Solidity + GPT)

I'm developing a Solidity token and exploring ways to leverage Large Language Models (LLMs) like GPT to answer user queries about the token's data directly within the application. Ideally, I'd like ...
Awais Ahmad's user avatar
0 votes
1 answer
53 views

PDF direct to blockchain?

So firstly I'm just going to preface this with the disclaimer that this is an educational exercise, I understand that the gas fees would be ridiculous. This is for a project, not to ever deploy to ...
Mccalabrese's user avatar
1 vote
1 answer
51 views

Why a zk-rollup should provide data availability given it can use zkp to prove correctness?

The whole idea behind zkp is to prove correctness of the result of a computation without actually disclosing the inputs that you might want to keep secret. So why in the context of zk-rollups it is so ...
Davide C's user avatar
  • 906
1 vote
1 answer
13 views

Solidity large data handling

I’m currently doing a solidity project where users can create crowdfunding campaigns and others can participate financially to them. Each campaign is defined by a struct containing basic informations ...
Crydamoure eth's user avatar
0 votes
1 answer
225 views

Comparison of NEAR and Celestia Data Aavailability Approaches? [closed]

Recently NEAR has come up with a Data Availiabity approach which they claim to be far more superior to a lot of existing techniques. Celestia DA leverages 2D Erasure Coding based Data Availability ...
Gokul Alex's user avatar
1 vote
0 answers
51 views

how to get data about all tokens on the ethereum chain

I want to get data about all the tokens that are on the Ethereum chain without specifying the address of each token, how can I do this?
Matveu's user avatar
  • 11
1 vote
3 answers
291 views

How to parse the input data from the 'More Details' section of a transaction into an Excel Spreadsheet

I wonder if anyone can assist please? I have searched the forum but I cannot find anything that answers my specific question. I'm trying to parse the input data from transactions on the following ...
cryptomal's user avatar
0 votes
2 answers
61 views

How to do data analytics on-chain

as I understand it, data analytics (like calculating averages etc) on blockchain data is usually done off-chain (ie. you obtain data from the blockchain via say a third party API call or directly from ...
Qustack's user avatar
0 votes
1 answer
31 views

Best approach to simplify phantom array logic (ERC721 Enumerable) [HARD]

I wanted to create an ERC721 token vault with arbitrary numbers of NFTs pre-"minted", yet compliant with IERC721Enumerable as a proof-of-concept. For simplicity, the NFT ids are contiguous. ...
Ashraile's user avatar
  • 125
1 vote
1 answer
27 views

How can I access the 3rd argument of _safeMint?

I am minting an ERC721 using _safeMint and I am setting the 3rd argument to a string. I want to be able to access this data argument using the transaction hash or whatever I have to access the ...
Falcon Stakepool's user avatar
0 votes
1 answer
35 views

can I get market data from chainlink and how?

I need to get price market cap and price change of cryptos do you know any free plans and how what limitations do they have?
NIMA Shahahmadian's user avatar
1 vote
4 answers
120 views

Specific Block Data?

How can I get data from a specific block in the past? Does node providers support archive node? Any suggestions are welcome.
Tien's user avatar
  • 193
0 votes
3 answers
322 views

What are the GraphQL API providers for blockchain data?

I know there are RPC providers like QuickNode and Alchemy Irwing Tello
Irwing Tello's user avatar
3 votes
1 answer
1k views

How can I decode the emitted event data field using Foundry Cast in Ethereum?

I'm trying to extract relevant information from the event but I'm not sure how to decode the emitted event data using cast. Any tips or resources would be greatly appreciated. Thank you!" E.g for ...
Surbhi Audichya's user avatar
1 vote
0 answers
43 views

"How to limit the function call for all users except those who have a special token with the address 'X'?"

hi i'm continuing to explore solidity. I wrote a contract which contains 4 functions: addAuthorizedAddress, removeAuthorizedAddress, storeData, retrieveData. The last two: storeData and retrieveData ...
Lll Cilician's user avatar
1 vote
1 answer
434 views

What's the best way to verify an address is correct in C#?

Is there an easy way to validate an Ethereum address in C#? Basically, I am looking for the method that correspond to these ones in Javascript but in C#.
Falcon Stakepool's user avatar
0 votes
1 answer
79 views

Is there a way to enable logs for graph commands?

I am running the following version of graph-cli: @graphprotocol/graph-cli/0.42.4 linux-x64 node-v18.15.0 Is there a way to setup a log or have more details after each command gets executed?
Falcon Stakepool's user avatar
2 votes
1 answer
696 views

Best way to store private data in smart contract

I wanna to store some personal data as a string to my smart contract with simple store function like a note: mapping (address => string[]) private addressToNotes; function store (string memory ...
Alireza's user avatar
  • 360
2 votes
3 answers
2k views

DEX Real-Time Data

I have a project that tries to retrieve real time data from UnisWap V2 and SushiSwap I have already figured out how to get real time data from Sushi using api but it's not the same for Uniswap API ...
Said's user avatar
  • 31
1 vote
1 answer
192 views

contracts being deployed via 0x61088480

Lately I am coming across different deployment tx data patterns. I am already familiar with how the free memory pointer is shifted from the usual 80 when there are immutables in the code (great ...
Pablo González's user avatar
0 votes
1 answer
25 views

Which one is gas efficient?

Lets say i want to store some data about each address ,through the mapping. My first idea is: store in struct this way: struct user { address userAddress; uint256 someUint: string someString; ...
Alireza's user avatar
  • 360
0 votes
1 answer
250 views

Comparison of gas cost in different types of data storage

I want to compare gas fee of different types of data includes: String, bytes, uint, bool, int, address and etc... does anyone knows how much they costs? or share a link about this? Thank you
Alireza's user avatar
  • 360
0 votes
1 answer
17 views

Contracts design

I have a project where users deploy their own instances of a contract and those instances need off-chain data through chainlink oracle, what's the best between making the contract has its own request ...
noro meb's user avatar
  • 368
2 votes
1 answer
123 views

call a function in the same contract

i have a contract who containt a function onTokenTransfer(address _sender, uint256 _fee, bytes memory _data), when i transfer some ERC-20 Token using ERC-677 function transferAndCall, the function ...
noro meb's user avatar
  • 368
1 vote
1 answer
280 views

ERC677 transferAndCall

i want to send some LINK to a contract B from a contract A, and in the same function call a function in contract B, im using transferAndCall(address _to, uint _value, bytes _data) function in the ...
noro meb's user avatar
  • 368
1 vote
2 answers
170 views

What field is used to pass on transaction information? input field or data field?

In the documentation here under the eth_sendTransaction, it shows/states that in the transaction object sent, there is an input field. But in the documentation here it says there is a data field. My ...
Finlay Weber's user avatar
0 votes
1 answer
1k views

How to fix decoding transaction data giving wrong output in ethers-rs?

I am trying to decode the hex data of a transaction. For testing purposes I am using the transaction that can be found here https://kovan.etherscan.io/tx/...
Finlay Weber's user avatar
1 vote
0 answers
55 views

How do you find every self-destructed contract using geth?

I'd like to use my go-ethereum node to find every self-destructed contract in the history of Ethereum and get their addresses. What is an efficient way to do so?
Jesbus's user avatar
  • 10.5k
1 vote
2 answers
1k views

Are there any data sets available for download of all addresses that have been used?

Since etherscan indexes all addresses that have been involved in any transaction i was wondering if such a data set is available for download anywhere? I cant find anything on etherscans website and ...
CathalMF's user avatar
  • 283
0 votes
1 answer
118 views

How data is being retrieved from the blockchain using only the address of a smart contract

Sorry if I didn't fully clarify the question; it was quite challenging for me to do so. This is a smart contract // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract GameItem { ...
Praval791's user avatar
0 votes
1 answer
197 views

Accessing historical data for validators from the API

I have been trying to pull the validator-level data for ETH for a project I am working on. I am using this API and have been unable to find a command I need. Ideally, the request URL would either ...
TG_hence's user avatar
1 vote
1 answer
670 views

Wallet mobile app that allows sending transactions with data to smart contracts on BSC?

I have tried about a dozen crypto wallet apps on Android, including Metamask, and I haven't found a single one that: supports BSC (BNB Smart Chain) allows me to manually initiate and send a ...
matteo's user avatar
  • 115
0 votes
1 answer
66 views

how to get NBA data

Hello everyone I need NBA data in my smart contract so I used some chainlink jobs but they don't provide specific data about the teams or players , is there any node that can help ? or is there ...
Kasra's user avatar
  • 37
1 vote
0 answers
18 views

How to make Enums scalable? [duplicate]

Let's say that I have a contract Games.sol containing an enum with multiple games. enum { TicTacToe, PacMan, Chess } This enum is currently imported from a library and I think that it's immutable, so ...
Franfran's user avatar
  • 635
1 vote
0 answers
26 views

Is there a particular reason as to why evm adresses are only 160 bits and not 256 bits? [duplicate]

Is there a particular reason as to why evm adresses are only 160 bits and not 256 bits? Wouldn't that create a pigeon hole problem eventually? Is this solely to save 96 per addresses so to decrease ...
karma badger's user avatar
0 votes
1 answer
23 views

Can I integrate files within a smart contract?

I want to create a smart contract, let you use files like docx, doc, pdf etc. with the reason of keep those files in the smart contract system and use them when the users of the smart contract ...
Satoshi_Amadeus_XDS_Stars's user avatar
1 vote
1 answer
266 views

Retrieve a non-constant/non-view transaction's return (output) data with hardhat/ethersjs

I'm trying to figure out if it's possible to retrieve the return value of a non-view function. Specifically, I want to see the return value of a newly created contract I have created a simple setup to ...
phaze's user avatar
  • 1,635
1 vote
1 answer
2k views

How to get smart contract data from certain block? [closed]

I need to get data from a smart contract. How can I get historical data for smart contract ordered by block?
TreantBG's user avatar
  • 113
33 votes
3 answers
23k views

Where is the state data stored?

This question was asked on Reddit a while ago: Where is the state data actually stored though? On the hard drive of each node? Separate from or within the blockchain? — Reddit: Basic ...
J-B's user avatar
  • 8,981