Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [api]

The tag has no usage guidance.

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

Getting price information using the Safe public API

The current public documentation includes an endpoint: /api/v1/safes/{SAFE_ADDRESS}/balances/usd which is meant to provide users with a fiat balance and conversion rate for every asset held in a safe, ...
Rohan Kapur's user avatar
0 votes
2 answers
44 views

How to collect Contract Addresses via blockchain API?

Currently learning to interact with blockchain via Blockscout API to build personal database of contract addresses for future interactions. Despite trying different commands, I'm having trouble even ...
Ashh's user avatar
  • 3
0 votes
0 answers
20 views

Trouble publishing contract source code in Brownie: ConnectionError 403

I'm encountering an issue while attempting to deploy a contract using Brownie and publish its source code to Etherscan. The deployment itself is successful, but I'm unable to publish the contract ...
Aria's user avatar
  • 11
1 vote
0 answers
15 views

How to you fetch all transactions ERC-20/ERC-721(swap, mint, burn) of a wallet?

I'm looking for an API that will give me exactly All transactions for a wallet, clearly broken down and labelled as Nft transfers, erc20 transfers, Nft purchases, token swaps etc. I've seen Moralis ...
Haseeb Saeed's user avatar
0 votes
2 answers
468 views

Invalid basescan api key when attempting to verify NFT smart contract via foundry

I've successfully verified contracts on etherscan before, but this time I'm following the "Deploy with Foundry" guide on the Base docs: https://docs.base.org/guides/deploy-with-foundry/ I've ...
thatguyintech's user avatar
0 votes
0 answers
20 views

how to find out about all the coins that are on the Ethereum network

how can I find out in real time all the tokens that are on the Ethereum network and get data on prices, volume, etc.
Matveu's user avatar
  • 11
1 vote
0 answers
34 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
0 votes
1 answer
38 views

historical Ethereum trading volume data at a minute interval

I want to access historical Ethereum trading volume and price data at a minute interval for the last six months, I found daily intervals but could not find for minute interval, any suggestion to find ...
Mocak's user avatar
  • 3
1 vote
1 answer
103 views

Why did 0x swap API get deprecated and what is its substitute?

0x swap API was a great project that was under active development for several years. But recently it got deprecated and no longer kept up to date. I could not find any other substitute for it on the ...
Ehsan Khodarahmi's user avatar
0 votes
0 answers
27 views

Return the current ERC20 token holders and number of tokens held

Are there any free APIs available that can provide current data on ERC20 token holders and the number of tokens they hold ?
Alexander Paul's user avatar
0 votes
0 answers
26 views

getting reverted with reason string 'SWAP_CALL_FAILED' while trying back sell unitymeta Token

const unityMeta = '0xca861e289f04cB9C67fd6b87ca7EAFa59192f164'; const WBNB = '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c'; const params = { sellToken: unityMeta, buyToken: WBNB, ...
usama musa's user avatar
0 votes
1 answer
38 views

Safe Transaction API balance - returns 0 for fiatConversion for all tokens

I'm trying to fetch the safe address balance with the fiatConversion (USD) but it returns 0 for the all the tokens https://safe-transaction-mainnet.safe.global/api/v1/safes/...
Sri's user avatar
  • 1
0 votes
0 answers
21 views

Is there an API for real time token values?

This is not a coding question so if this is the wrong place to ask it please advice where I can ask it. I am looking for an API where I can get real time token values both on Sepolia and then also on ...
pigfox's user avatar
  • 71
0 votes
2 answers
187 views

Batch Token Swap using 0x

I'm trying to make a telegram bot that sells all the tokens available on a wallet using Ox API. In order to automate the process with only command, I'm okay with adding the private key to the script. ...
Liju Thomas's user avatar
2 votes
2 answers
38 views

How can this account address selled more erc20 token then it received?

I'm using the Alchemy API to retrieve all transactions for a specific address. When I run the API for this address on this particular token, I only receive two transactions. The first transaction ...
Thiago C Fernandes's user avatar
0 votes
0 answers
29 views

0x Swap API Is there a recommended approach for handling these error responses uniformly?

Subject: Assistance Request for 0x Integration Description: Hello 0x Support Team, I hope this message finds you well. I am currently in the process of integrating the 0x API into my project, and I've ...
zg z's user avatar
  • 1
0 votes
1 answer
43 views

What is Safe base API URL for Gnosis Chain?

What is Safe base API URL for Gnosis Chain? Can't find any in the docs Both https://safe-transaction-xdai.safe.global https://safe-transaction-gnosis.safe.global don't work
Ulyana Skl's user avatar
1 vote
1 answer
53 views

Building Cryptocurrency Tracking system for monitoring stolen cryptocurrency transactions

When hackers steal tokens from an account, what they generally do is divert the flow of tokens via multiple proxy accounts making it complicated for the cyber-forensics department to track final ...
Rohit Jambhulkar's user avatar
0 votes
1 answer
26 views

How to find the origin of the token/crypto in the wallet?

For example, Wallet 0x...A1 has 0.5 ETH. I want to know about the origin of 0.5 ETH. Can I get that data from the Etherscan API (what endpoint?) or another solution?
77ay's user avatar
  • 1
1 vote
0 answers
320 views

How to track ERC20 token creations on Ethereum blockhain with web3.js using Infura API?

I'm trying to fetch new ERC20 tokens from the blockchain transactions, my code is scanning the blocks and when I tried to log transactions it works well, (dumping bunch of logs). However I don't know ...
RasmonT's user avatar
  • 131
0 votes
1 answer
72 views

Given token id of ERC1155, how to find out how many copies of it are there?

This may not be possible to implement in an easy fashion via the standard calls only to blockchain, therefore I'd consider third-party API providers such as Alchemy.com I'm aware of, let's say, ...
Nondi's user avatar
  • 49
0 votes
0 answers
26 views

API for web3 projects features (wallets/portfolio)

I`m just curious to ask which API services for web3 projects features (wallets/portfolio) do you guys use ? (including ETH support too, of course )
Ivan Voroshyk's user avatar
2 votes
1 answer
246 views

How to get block and receipts data?

Is there a way to get the entire block information and transaction receipts within the block all in one function/method? Irwing Tello
Irwing Tello's user avatar
6 votes
4 answers
865 views

How to get Token balances

How to get balances of all ERC 20 tokens a wallet holds?
Devsuite's user avatar
2 votes
2 answers
185 views

Ethereum RPC API

I am building an analytics dash for wallets, which constantly tracks balance changes for wallets. I am using this small snippet to get the balance (async () => { const provider = new ethers....
renatghoste's user avatar
0 votes
1 answer
102 views

verifying smart contract using etherscan api?

I wanted to verify my smart contract from polygonscan api but when I use this code I always get a Module Error : "Error! Missing Or invalid Module name" and this is the code I am using in ...
geniar99's user avatar
0 votes
1 answer
102 views

Get signer for Blockchain API without private Key

I have a ERC-20 token and I have a smart contract to but and sell the tokens . I have also created frontend and API for this. In the frontend I get signer from the wallet but to do it in the backend I ...
gauthami vijay's user avatar
0 votes
1 answer
92 views

How to query a contract function via Etherscan's API with uint256 input?

I'm trying to query this contract: 0x992678ad242230Dd795107Fee8B572E27083002A and to get the "getglobalStakedTokensPerPeriod" (number 11) with the unit456 of 1 (period 1) I've tried to use ...
Harel Leon's user avatar
0 votes
0 answers
82 views

Request failed with status code 429

I've find a bot on Github and when I try to make it work, he do one or 2 request and I received the error: Request failed with status code 429 How can I fix that. The node that I use can received 1500 ...
Doum's user avatar
  • 1
0 votes
0 answers
55 views

How to decode orca.so api response

I'm building my arbitrage bot with orca.so, when I try to fetch the price via their api this is the response: { "jsonrpc": "2.0", "result": { "...
Richie Pua's user avatar
0 votes
1 answer
87 views

Is it possible to create an OpenSea collection using their API?

I want to create a collection in OpenSea but using a php backend instead of using their platform. Is it possible to do this? I have been looking at their API documentation and I haven't been able to ...
Falcon Stakepool's user avatar
1 vote
1 answer
277 views

How to get hash and signature of payload parameters using java

I want to use openSea's api, but I don't know how to get the hash and signature of this json object using java. https://docs.opensea.io/reference/create-an-order { "parameters": { "...
yuta O's user avatar
  • 11
0 votes
1 answer
107 views

Is private key sent out at any ocassion in a request to any RPC?

Do I understand correnctly that no RPC whether it be the standard Ethereum full node, or an RPC/REST API gateway, require a private key to be sent to it in the pure text? A private key is only used to ...
Kyell's user avatar
  • 91
0 votes
2 answers
73 views

Can you setup a Chainlink function where the end user pays the LINK gas fee?

I was watching this video https://youtu.be/nKRZ1R2BC4Q. Chainlink functions look incredible. I have a Next.js app that I plan on integrating a Chainlink function. This Chainlink function will take the ...
ChristianOConnor's user avatar
0 votes
1 answer
75 views

What's the best way to open a wallet on behalf of the user?

I work at a gaming company and we are developing a Play2Earn game. We want to make the UX as seamlessly as possible so we would to avoid having the players to open a wallet to initially receive their ...
Falcon Stakepool's user avatar
0 votes
0 answers
115 views

why Seaport Opeansea testnets API return "null" for signature?

I am trying to retrieve offers detail using seaport API for a given asset contract for a given token ID but it returns null for the signature field. My understanding is that this signature is the ...
Surbhi Audichya's user avatar
0 votes
1 answer
676 views

Error on WebSocket connection

i want to retrive data from this websocket api, where is my code import { WebSocketServer } from 'ws' let socket = new WebSocketServer('wss://ws.blockchain.info/inv'); socket.on('error', console....
Oswald's user avatar
  • 1
0 votes
1 answer
403 views

Binance smart chain node API provider without billing per websocket response

I'm unsure if this is the correct place to ask but I thought I'd try anyway. Problem I want to build a Node.js application using the Web3 library. The application should collect prices on liquidity ...
Jaron_e's user avatar
0 votes
1 answer
469 views

How can I get a list of all blocks proposed by a validator?

I would like to get all blocks proposed by a given validator. It looks like this functionality is not available in the standard Beaconchain API. Is there any other API available, probably by a a third ...
TripleSpeeder's user avatar
0 votes
1 answer
76 views

Does Moralis "Get NFTs by Wallet" API support ERC-1155?

I am using this service from Moralis to retrieve all the NFTs that a wallet has. Does this support ERC-1155? I know these tokens are semi-fungible so they are not exactly NFTs, but I was hoping I can ...
Falcon Stakepool's user avatar
0 votes
1 answer
68 views

Query pancake swap staking contract

I've been trying to find information on how to query pancakeswap's staking contract for some time now, and I've unfortunately been unsuccessful this far. I was wondering if anyone would be so kind as ...
Lariz's user avatar
  • 1
1 vote
1 answer
134 views

Is there a RPC API equivalent of fetching my Ethereum balance by using CURL in the cli?

Since metamask connects to a RPC server and passes in the eth address to make a api request. Is it possible to do the same functionality using CURL in the cli to do a basic balance inquiry of an ...
Patoshi パトシ's user avatar
1 vote
2 answers
49 views

I need an API that gets "input data"field from the blockchain

See image for the field I'm trying to get the data from, I can decode it myself, but I can't download the entire blockchain so how do I access the "input data" field? Would an API be the way ...
Adjam's user avatar
  • 137
0 votes
1 answer
366 views

Missing personal api in geth JS consoole

so I installed geth. and launched the genesis terminal after initializing my genesis block. I needed to run the personal.newAccount() command, but the personal api is missing. My colleague had the ...
luko's user avatar
  • 1
0 votes
2 answers
798 views

How do you return the market cap of an ERC20 token?

After an ICO, a token contract has essentially converted ethers into a token through the minting process. Once this token’s initial supply has been minted, how do you call the blockchain to return the ...
immaxkent's user avatar
  • 519
0 votes
1 answer
570 views

How to Get All NFTs Owned by an Address on my custom blockchain

on mumbai lets say, i can use the alchemy sdk, where i input the network name and then call the functions easilly, however if the network is testnetwork with a chain id of 1234 and public RPC of : &...
anthony422's user avatar
1 vote
0 answers
15 views

Issues regarding retreiving ERC 721 Transactions and them not showing up on the API action=tokennfttx endpoint

I'm currently attempting to retreive ERC 721 Transactions with Etherscan's API for a wallet and the most recent transactions are not showing up. The request I am pushing is the following :"https:/...
maison dupon's user avatar
1 vote
0 answers
208 views

How to connect web3.py and fastAPI?

I am new to this. So how do I will return the value from web3.py. then, how to connect with fastApi?
Elli's user avatar
  • 11
2 votes
3 answers
1k 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
2 votes
1 answer
379 views

Etherscan API get Tokens Transferred Information

I'm using etherscan, polygonscan API to get all the transactions from a contract. My goal is to calculate how much money was transacted between sellers and buyers for a certain collection. At the ...
Goncalo Diogo's user avatar