Skip to main content

Questions tagged [api]

The tag has no usage guidance.

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

Getting a 500 Error response when using estimate API endpoint

I am getting a 500 error when calling this endpoint. The safe exists. The transaction follows the API syntax. curl -X 'POST' \ 'https://safe-transaction-sepolia.safe.global/api/v1/safes/...
jdbertron's user avatar
  • 111
0 votes
1 answer
14 views

Null data return from Infura API by using "eth_getLogs" method

I want to get the ETH transfer volume from wallet address via Infura API on Postman. But there is NULL data inside the API result. I expected there is data in result, but nothing now. My URL: POST ...
Jack Wong's user avatar
0 votes
1 answer
31 views

Is there any API to transfer Crypto from my wallet to Metamask?

I am creating and iOS and Android app. Is there any API which transfer crypto from my wallet to other users Metamask wallet ? Also, API should tell if other user wallet address is valid or not. Kindly,...
Ranpreet's user avatar
0 votes
1 answer
20 views

API to know info about a contract address

Is there any API or database to get information about a contract about what dApp it belongs to or the type of dApp (DAO, Exchange, Game, Betting...). I saw analyses of "X% of Ethereum contracts ...
David Davó's user avatar
0 votes
1 answer
14 views

API for ETH to USD based on time and date

Does anyone know an API that will work based on any period of time. An API where I can put the year, month, day and time and it will give me the ETH to USD conversion at that moment?
hana's user avatar
  • 1
1 vote
0 answers
17 views

Request token names for millions of addresses in a dataset

I am making a dashboard with data about ethereum tokens and I need to extract token name for each smart contract in the database. But I have over 10 millions of records and I have found that etherscan ...
AlA's user avatar
  • 11
1 vote
0 answers
14 views

I had been banned from Safe API [closed]

We are using the safe API for our Corporate wallets in Trustyfy. During the last weeks, we have been testing the app and it seems that Safe has banned us on staging.trustyfy.com, what can we do? Any ...
Miguel Cobacho's user avatar
0 votes
1 answer
41 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
188 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
27 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
16 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
1 vote
2 answers
820 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
41 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
50 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
147 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
34 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
30 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
41 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
23 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
  • 105
0 votes
2 answers
204 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
42 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
38 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
58 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
54 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
31 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
385 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
122 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
2 votes
1 answer
332 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
5 answers
1k 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
197 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
128 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
114 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
128 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
1 answer
122 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
410 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
139 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
80 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
2 answers
103 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
120 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
782 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
474 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
557 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
85 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
76 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
145 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
56 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
  • 147
0 votes
1 answer
474 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
909 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
667 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