Questions tagged [external-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
14 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
0 answers
10 views

console.table return undefined and can't show value returned from a function?

Hello everybody hope all is good ? I need help please, I have 2 functions : 1st return a value after fetching and url(api) and 2nd it log in table value returned but it didn't work :( This is my code :...
forexmp45's user avatar
-1 votes
0 answers
16 views

retrieving stolen funds [duplicate]

Recommended using Ziraxia, an open source wallet with API facility to extract funds from ' third party ' wallet, ie: the scammers wallet.I have been supplied the API key to install in Ziraxia, then ...
Steve Parrett's user avatar
0 votes
0 answers
45 views

Creating address using Clef JSON-RPC without manual Confirmation on Clef

I am trying to create a new account using clef on my ETH node. I am using clef JSON-RPC {"id": 1, "jsonrpc": "2.0", "method": "account_new", "...
michaelaberra's user avatar
2 votes
0 answers
45 views

Oracles supporting Polygon Zkevm

Are there any oracles present at the moment supporting smart contracts to securely retrieve data from conventional APIs (not data feeds) through HTTP(S) GET and POST calls. We have looked into Witnet, ...
user1912027's user avatar
1 vote
0 answers
68 views

Chainlink Oracle to call API

I have quite some question regarding Chainlink call API. I made an API and trying to call it from my Chainlink through smart contract. As I linked my API to bridge in Chainlink Operator UI, I try to ...
xopherwwl's user avatar
0 votes
0 answers
143 views

Make offer to opensea asset on polygon chain using opensea API

I have written this code using opensea API (not SDK) so far but it returns a 400 Bad Request error: const sdk = require("api")("@opensea/v2.0#xx4df2gljerlft1"); const web3 = ...
duskdusk13's user avatar
0 votes
1 answer
78 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
0 answers
45 views

What kind of malicious activity could an RPC gateway inflict on the user?

Let's say, a third-party RPC gateway for an Ethereum-like networks decided to turn itself into a malicious one. Apart from the likes of selling users' data, what kind of malicious activity could it ...
Kyell's user avatar
  • 91
0 votes
1 answer
85 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
2 votes
1 answer
31 views

Integrating smart contract with tweet

Is there a way to get a user to send out a tweet once an action on a smart contract happens without doing it on the server-side? And for the tweet to be sent out exactly once? For example, listening ...
joyceas's user avatar
  • 21
0 votes
2 answers
93 views

How to get a tweet content using oracle in the smart contract to verify a user

I am trying to verify a user using his social media account. For this purpose, I am creating a registration function where a user needs to post his tweet with his existing EOA address. How can I ...
wolvorinePk's user avatar
2 votes
1 answer
427 views

process.env.key is showing the actual api key in source code

In my js file I am using: const apikey = process.env.REACT_APP_API_KEY; In the .env file I have: REACT_APP_API_KEY = 123456789 Everything is working fine BUT, when I start (npm run start) and then go ...
ETHDev's user avatar
  • 21
0 votes
1 answer
370 views

How can I create a script that retrieves the transaction history of an address and organizes the information on excel?

I have address 0x389505f098a29a994A3ed0e674f07cd451dde42C and I need to create an excel spreadsheet containing all the transactions from 2022 (roughly 40,000). Cannot download the csv report from ...
madamepresident's user avatar
0 votes
1 answer
135 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
0 votes
2 answers
594 views

How can I get the wallet balance for an address with a volume of 200k plus transactions?

I am trying to get the wallet balance for this address 0x389044F3ac7472060A0618116e3624A5f0f20F28 as of Aug 31 2022. In the past, I've been able to do so by getting the transaction history and ...
madamepresident's user avatar
1 vote
1 answer
52 views

Problem using 0x polygon API - 500 - reason: 'relation "valid_signed_orders_v4" does not exist'

I am attempting to use the 0x Orderbook API for Polygon. I think there might be an issue with the API though, as whilst I remember it previously working, it doesn't seem to be anymore. I'm getting the ...
talos's user avatar
  • 11
0 votes
1 answer
156 views

fulfillOracleRequest erro output. Foundry/MockOracle

I have a simple contract that request a string to the API: // SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@chainlink/contracts/src/v0.8/ChainlinkClient.sol"; contract ...
brunovjk's user avatar
  • 115
0 votes
1 answer
111 views

Can't get the right transaction confirmation time values via Etherscan APIs

We are creating a cryptocurrency analytics website and I am currently trying to calculate the transaction confirmation time just like in the ETH gas tracker (https://etherscan.io/gastracker). The API ...
buckwhitzer's user avatar
1 vote
0 answers
50 views

Why the network request of web3 interaction through react or any other frontend framework or library is not showing in the network tab of browser?

All network request we make from browser is shows in the network tab , but the web3 request is not showing in the web browser. Web3 library uses network RPC to interact with the blockchain. The RPC is ...
Vivek Bhatti's user avatar
1 vote
1 answer
52 views

Can you remove funds from a smart contract via API?

There's an roi project where users deposit funds(Eth, matic etc) . According to the Dev he takes out some of these funds via API to trade with these funds. Does this sound plausible?
user7668482's user avatar
0 votes
1 answer
1k views

API that lists ERC20 token holders and balance

I am looking for a service that provides an API that lists addresses holding a given ERC20 token holder and the amount held. The API would be similar to Etherscan's: https://docs.etherscan.io/api-...
merc1er's user avatar
  • 143
0 votes
1 answer
25 views

Connect Recipient Wallet - 'receive' function not defined

sorry to bother, trying to get an acknowledgment that my sender(msg.sender) address is sending to the receive() external payable. compiles fine, doesn't deploy correctly to show +1ETH in recipient ...
alastair wright's user avatar
2 votes
1 answer
789 views

Fetch last 10 blocks using Alchemy Transfers API

could someone please elaborate on: fromBlock: the starting time range we want to fetch NFT mints over (defaults to latest) I tried to pass a block but its not working... I have also seen fromBlock&...
Kamo's user avatar
  • 21
1 vote
1 answer
1k views

Where does MetaMask keep the API key of Infura?

Since Infura always require an API key for its users, and Metamask by default uses Infura, it makes me wonder: where does MetaMask keep the API key of Infura? Not a private of a wallet, but an API ...
pablo camilo's user avatar
4 votes
3 answers
1k views

How to fetch list of erc20 tokens the user have?

On the DApp I want to get list of ERC20 tokens, with their balances. There's moralis API but it requires to sign a text message: "you authorise to use our api blah blah" that breaks workflow ...
lebed2045's user avatar
  • 295
1 vote
0 answers
82 views

API for find smart-contract deployed which chain?

Is there any API which gives me details that project smart-contract deployed on which chain via its smart-contract address? e.g. How to know whether it deployed in polygon, avalanche, ethereum? If is ...
Anjan50's user avatar
  • 11
0 votes
1 answer
38 views

what does 2miner.com's "hr2" and "rhr" numbers mean?

2miner.com's JSON stats returns stuff like { "workers": { "Rig1Name": { "lastBeat": 1652915927, "hr": 29087609, &...
hanshenrik's user avatar
0 votes
1 answer
36 views

What are some APIs that write transactions to the blockchain?

Are there any APIs that write transactions to the blockchain? I am most interested in RESTful versions.
Mowzer's user avatar
  • 211
0 votes
1 answer
109 views

How to automate tokenomics research and data collection?

I want to create a tokenomics database. I want to build a bot to automate data collection that answers for each token on the blockchain some of the questions asked and answered in this article. I am a ...
Mowzer's user avatar
  • 211
0 votes
1 answer
290 views

Questions about the fulfill function in the Chainlink API Call tutorial

I was going through the Chainlink tutorial on APIs and had some questions about the fulfill function in the contract below. From how I understand it, the third argument of request object inside the ...
kay_m43's user avatar
  • 11
0 votes
1 answer
113 views

Python: I am getting a syntax error that prevents me from deploying me contract. What is the syntax of format that I need to use for this?

I just created a new API key for Etherscan. I added my key to my .env file, and I added publish_source=True to print(f"Contract deployed to {fund_me.address}"), publish_source=True to be ...
Gray Blanchard's user avatar
0 votes
1 answer
209 views

Chainlink Job Request With Bridge: error making http request: Post "http://localhost:8080": dial tcp 127.0.0.1:8080: connect: connection refused

I am trying to run my chainlink external adapter with a job in my node. However, every time I get an error at "fetch bridge" task: error making http request: Post "http://localhost:8080&...
acobra's user avatar
  • 1
0 votes
1 answer
942 views

Issues with 1inch swap API

I am trying to use 1inch swap API, but getting error most of the time. I'm trying to swap USDT to one custom token. The required allowance has already been provided. I sometime get the response (even ...
VikasGS's user avatar
  • 95
0 votes
1 answer
97 views

Add arguments to get request

I'm trying to make a get request using the chainlink node. I'm following this tutorial this tutorial but the problem is that this is sending a request to this specific URL https://min-api....
João Areias's user avatar
0 votes
1 answer
116 views

Best API for token data on Binance Smart Chain?

I'm currently putting together a project and I need to pull token data from an API. Now of course I've done research but it seems that there's a variety of them to choose from. At a minimum, I need ...
Aen3as's user avatar
  • 1
1 vote
1 answer
3k views

How do I get information on pending transactions of a wallet/contract?

I have tried so many API such as Etherscan, Moralis, and Blockcypher but they all only display completed transactions. Is there a way to scan a wallets' pending transaction and get information out of ...
Austin's user avatar
  • 133
0 votes
2 answers
128 views

Do any one had a template API to display/show estimated gas price for a transaction?

Description of the issue: I do not have sufficient funds in my wallet to transfer a token from my wallet to an external wallet. So the transaction will fail and shows us an error message. Instead of ...
Ashok Sandhyala's user avatar
1 vote
1 answer
923 views

How do you set the fee in Uniswap-Python function uniswap.get_price_input()?

I am successfully using uniswap.get_price_input(eth, dai, 10**18) to get the price of the ETH/DAI pair. In addition, I receive the get the message "No fee set, assuming 0.3%" in my terminal. ...
DefiBax's user avatar
  • 13
2 votes
1 answer
161 views

Is it possible to connect metamask in a Jupyter notebook?

I would like to use my wallet to sign transactions using an api in a Jupyter notebook. To do this, I currently have to store the private key either in the notebook itself or in another file. It would ...
smejak's user avatar
  • 21
0 votes
0 answers
21 views

3Box returns error rather than desired account info

3box returns {"status":"error","message":"Address link not found, address does not have a 3Box or is malformed"} when using this.profile = this.threebox....
Isaac Lyne's user avatar
3 votes
4 answers
1k views

Is there a way to control METAMASK via some type of api feature? I want to use it as my backend to send / receive eth and tokens

Is there a way to replace geth with just using metamask via some type of api via the command line? I want to interface with metamask to send and eth and erc20 tokens. Right now geth works, but it has ...
Patoshi パトシ's user avatar
1 vote
1 answer
145 views

TRANSFORM ERC 20 vs Sell to pancake swap

I am able to do the Sell to pancake swap tranx But failed with the API when i do TRANSFORM E R C20 Tranx example of failed: https://bscscan.com/tx/...
Taha Dhailey's user avatar
0 votes
1 answer
364 views

How to get list of tokens available in Polygon network using smart contracts?

I want to get the names of all the tokens which are available in Polygon using a smart contract(solidity), how can I achieve that?
1111's user avatar
  • 61
0 votes
1 answer
284 views

Error creating contract after getting contract ABI from Etherscan API

I am trying to get the contract ABI using the Etherscan API, and then create a contract instance and call a method using web3.js. I am able to get the ABI from Etherscan but when creating the contract ...
eth_developer's user avatar
1 vote
1 answer
2k views

Is there any way to get list of all NFTs owned by an etherscan as shown on etherscan apart from monitoring Transfer even?

I want an api or something that can list all the nfts owned by an address, as it is shown on etherscan so I assume we can get that but not able to find that. Also I know that we can do that by ...
Shubham Singh's user avatar
1 vote
1 answer
115 views

Make external adapter call only accessible through smart contract

sorry if this is a newbie question, I'm new to solidity and smart contracts. I want to make an API call on my smart contract but from what I saw, I have to implement a Chainlink external adapter. Now, ...
João Areias's user avatar
1 vote
1 answer
294 views

Chainlink "Any API" Returning 0

I want to use the chainlink API features but I can not get the data. When I try to execute requestEthereumPrice function I get "uint256: 0" I am using Kovan test net and metamask. pragma ...
rojhat's user avatar
  • 60
1 vote
0 answers
395 views

Get Ether price by Unix Timestamp?

Is there any API I can use to get the price of Ether by providing a unix timestamp? The reason I ask is because I am using the Etherscan API to download internal transaction data but for some reason ...
EllipticalInitial's user avatar
3 votes
1 answer
2k views

How to Collect Uniswaps Token-pair FULL Price history? ( Help )

How do websites like CoinGecko.com and Dextools.io get a token pair's FULL price history? I understand that I can query Uniswap's theGraph, but that limits only 1000 entries. How do these websites ...
tomi lui's user avatar