560 questions
0
votes
0
answers
20
views
CCIP-JS getTransferStatus Fails With “Internal error” on eth_call to Router Contract (Viem + Cloudflare RPC)
I am trying to fetch CCIP message transfer status using ccip-js,
I load CCIP messageIds from a CSV, then call:
await ccipClient.getTransferStatus({
messageId,
client: publicClient,
...
0
votes
1
answer
50
views
Chainlink function callback failing but computation is passing
Im working on a smart contract in solidity and im having issues with Chainlink function execution.
I have this source code for the function:
string private functionCode = "return Functions....
0
votes
0
answers
47
views
CCIP Cross Chain Custom Token Transfer Issue
I m trying to transfer my custom token that meets CCT standard. I have deployed the LockReleasePool from the ccip and done all the setps regarding the token admin registry, pool setup and cross chain ...
2
votes
1
answer
78
views
Chainlink Solana SDK: Issue fetching off-chain data asynchronously
I'm trying to fetch off-chain price data using the Chainlink Solana SDK (@chainlink/[email protected]) following the official Chainlink off-chain data feed guide. However, the onRound event handler ...
0
votes
1
answer
112
views
Chainlink CCIP failed run issue. The status is Ready for manual execution. But still failed even i manually triggered
The contract code is, litetrally I just updated the data type from string to bool from this tutorial https://docs.chain.link/ccip/tutorials/evm/programmable-token-transfers
I deployed them followed ...
1
vote
1
answer
67
views
Failed: gas limit set too low" after increasing gas limits multiple times and even setting gas limit to 1300000 in my vrf contract
Hello here i have issues in my project where VRF is suppose to call the chainlink functions, but i keep getting the error " Failed: gas limit set too low" after increasing gas limits ...
2
votes
1
answer
115
views
What do `observationsTimestamp` and `validFromTimestamp` from Chainlink's data streams schemas exactly represent?
Was checking Chainlink's docs on the data stream services.
https://docs.chain.link/data-streams/reference/report-schema
Two of the parameters of the report schema are the validFromTimestamp and ...
0
votes
0
answers
34
views
Chainlink VRF Subscription Funding Issue: LINK Not Reflecting in Subscription
I’m integrating Chainlink VRF V2.5 and created a subscription, but I’m unable to fund it with LINK. Despite multiple attempts, the balance remains unchanged. Here’s what I’ve tried:
UI Method:
...
0
votes
1
answer
61
views
Chainlink VRF: Created Subscription ID Mismatch Between On-Chain and Dashboard
I'm encountering an issue where the subscription ID returned by my script is different from the one shown on vrf.chain.link for the Sepolia network, which when i try to fund to the subid from my ...
0
votes
1
answer
172
views
Chainlink VRF Subscription ID Issue with Foundry Deployment on Sepolia [closed]
I'm deploying a smart contract on the Ethereum Sepolia testnet that integrates Chainlink VRF v2.5 using Foundry. However, I encountered an issue where Foundry provided an invalid Subscription ID that ...
0
votes
1
answer
119
views
Chainlink VRF not calling my fulfillRandomWords
I'm testing out a Chainlink VRF implementation on Arbitrum Sepolia and after calling requestRandomWords, I don't seem to ever get back a response in the form of a call to fulfillRandomWords.
I'm able ...
0
votes
1
answer
102
views
Problem with transfering ERC-721 token in an external contract
I’m building an NFT-based game where two users receive random numbers via Chainlink VRF. The user with the higher number wins and receives the opponent’s NFT from another contract.
The contract ...
-1
votes
1
answer
44
views
Chainlink function reverts
I created a pretty simple chainlink function which seems to work just fine (tested with the playground). I then added it to a contract and connected it to my subscription.
Then when I try to call the ...
0
votes
1
answer
77
views
Chainlink Function calling Alpaca API multiple times instead of once
I'm running into an issue with Chainlink Functions that call the Alpaca API. The function completes successfully but seems to execute multiple times, causing 3 orders to be placed instead of just 1. ...
0
votes
1
answer
31
views
how to create a subscription in VRFCoordinatorV2_Mocks from brownie?
I am trying to create a subscriptionId of the VRFCoordinatorV2_5Mokcs to implement a learning contract that consists of a lottery.
The documentation suggests: Call the createSubscription function (...
0
votes
1
answer
71
views
Fulfill function doesn't work in Chainlink Function Contract for calling external API
Now I am trying to call external API on Chainlink Function Contract.
I created an API, tested it with Postman. It works well.
This is the response of the API.
{
"price": 11192.32
}
And now I ...
0
votes
0
answers
16
views
Chain Link ORACLE NODE Error when calling the transfer function of a smart contract with an amount ranging from 10 to 18
I am setting up an Oracle node that uses a webhook job to call a transfer function of a smart contract. The amount entered by the user will be multiplied by 10 to the power of 18 and then sent to the ...
1
vote
2
answers
60
views
Initialize a non upgradeable smart contract in upgradeable smart contract
I am stuck in the issue where i need to initialize the FunctionsClient smart contract.
But since my smart contract is an upgradeable smart contract, I do not have the constructor function rather the ...
0
votes
1
answer
37
views
Chainlink VRF pending forever
My requests to the Chainlink VRF remain pending indefinitely. The same contract works correctly on the BSC Testnet, but when I switch to the Mainnet, it doesn't work. I have changed the Gas Lane and ...
0
votes
1
answer
144
views
Issues with chainlink historical data feeds
I am developing a contract that needs to use historical Chainlink prices.
I use the following approach:
The caller passes the roundId to contract, according to which we get the price data.
Contract ...
0
votes
1
answer
44
views
Chainlink Node Fails to Start Due to "no password provided" Error Even When Password is Set
I'm trying to set up a Chainlink node with Docker Compose, but I keep running into an issue. My Chainlink node container starts, but it keeps throwing the following error:
...
2024-11-09T15:59:49.588Z ...
1
vote
0
answers
185
views
Issues with Chainlink VRF Fulfillment and Gas Limits in Solidity Smart Contract
I'm working on a Solidity smart contract that integrates Chainlink VRF (v2.5) for randomness in selecting a random winner. The contract is deployed on the Sepolia testnet and uses Chainlink Automation ...
1
vote
1
answer
63
views
How does Solidity call functions defined in interfaces without explicit logic?
How does this solidity function return the value 4 when I didn't define any logic in AggregatorV3interface?
function getVersion() public view returns (uint256) {
return AggregatorV3Interface(...
0
votes
0
answers
57
views
Chainlink Functions call fails when cost estimation is way over the actual cost or computation failed to fetch DONHosted secrets: not found
I'm facing some odd behaviour when call my function in Ethereum/Sepolia. First if estimation cost is bigger than my actual funds the call fails (even though the final cost is way less than the ...
-1
votes
2
answers
90
views
Getting data from IPFS or API to chainlink and to Etherium smartcontract
I have this link "https://ipfs.io/ipfs/QmV1zn4iskhjpz12UyDrRjTvoTwMVdUGCUYQHpzgjFsHk5?filename=data.json" this returns simple json data {
"data": "testing"
}. so i want ...
1
vote
2
answers
332
views
Chainlink VRF: Subscription ID Exceeds uint64 Limits
I'm working on a smart contract using Chainlink VRF (Verifiable Random Function) on the Ethereum Sepolia network. According to the documentation and examples, the subscription ID should be a uint64. ...
-1
votes
1
answer
30
views
ERRORED message while doing transact in the chainlink GUI job run, and no value after calling CurrentPrice
actually im new to this, im trying to learn from the documentation. so in the fulfilling request page im doing exactly what it was told there( https://docs.chain.link/chainlink-nodes/v1/fulfilling-...
0
votes
1
answer
119
views
Error of gateway urls while uploading encrypted secrets to DON - Chainlink Functions
Body
I'm trying to upload encrypted secrets to Chainlink Decentralized Oracle Network (DON) gateways using the @chainlink/functions-toolkit in my RWA project. However, I'm encountering an error when ...
-2
votes
2
answers
173
views
How to get data feed for eth to usd, to add information in solidity
How can I get solidity code for getting latest eth-usd price update to add in solidity/remix? I am just a beginner. I have tried chain link data feed, but its only giving data for btc-usd
I want to ...
0
votes
1
answer
149
views
Error: "execution reverted" when calling Chainlink Data Feed function in Remix on Polygon Cardano Testnet
I am trying to use the ETH/USD price data feed on the Polygon Cardano Testnet via Remix. I deployed the following contract successfully:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import ...
0
votes
0
answers
26
views
Is there a replacement for the IChainlinkOperator interface?
I have been working with Chainlink contracts from version 1.2.0. In that version, Chainlink used to have an IChainlinkOperator interface, which was used to map token symbols to their respective feed ...
0
votes
0
answers
48
views
Chainlink function fulfilment counter malfunction
Wrote this code as a sample chainlink function consumer to test my end points, everything works and I get desired response and no errors but for some reason, the chainlink function fulfilment counter ...
1
vote
1
answer
47
views
Chainlink automation custom logic not triggering but working manually
I've got a problem and i can't understand it.
I have a custom logic automation on polygon blockchain.
I have two triggers.
The first one works flawlessly,
But the second don't want to work.
And doing ...
0
votes
1
answer
74
views
Error encountered during the callback with Chainlink Functions
I need help with Chainlink Functions, I have a smart contract deployed and working, the problem is when I call the "RequestNFT" function, I enter a link with metadata, specifically image, ...
1
vote
1
answer
103
views
"Error returned by simulated script: syntax error, RAM exceeded, or other error"
In Block Magic @Chainlink hackaton i cloned the repository:
https://github.com/BunsDev/block-magic-functions-workshop.git
I installed packages and entered my env variables as it is mentioned in readme....
-1
votes
1
answer
361
views
Which Chainlink's price feeds still have `minAnswer` and `maxAnswer` checks?
Chainlink's website says minAnswer and maxAnswer are deprecated on most Price Feeds, so the questions is, is it possible to know the specific Price Feeds where these are not deprecated yet? ...
0
votes
0
answers
69
views
receiving the following Chainlink error: cannot estimate gas
We are facing problem when calling openAI API with chainlink function, we are testing on the repo from Constellation last year and YouTube
The issue is when i an runing 04_request.js from scripts ...
0
votes
3
answers
86
views
Chainlink Automation on Fuji not running
Custom Automation on Fuji is never calling my contract.
I have created a very simple contract like this :
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import {...
0
votes
3
answers
392
views
VRF deployment subscriptionID out of bounds
Trying to deploy VRF2.5 in Sepolia testnet. I'm using the subscription method with the subscription manager capability at https://vrf.chain.link/
I'm then able to fund the contract using the interface ...
0
votes
0
answers
51
views
Chainlink Function Computation Error: 'Error: input into Functions.encodeString is invalid'
In short:
Been trying to access any data from a particular, chosen API url.
Can view the JSON in browser, but can't call variable in Remix (which should change after SendRequest).
Tried a wide ...
0
votes
1
answer
69
views
Cannot call chainlink function via avalanche fuji testnet using nodejs ( typescript)
Anyone facing situration like below?
error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (error={"...
1
vote
1
answer
106
views
Getting error when running "npm run simulate" for js source code using "@chainlink/functions-toolkit"
I've been trying to implement Chainlink Functions Toolkit in my JS code. But, after running this command:
npm run simulate
I get the following error:
secp256k1 unavailable, reverting to browser ...
0
votes
1
answer
91
views
Error in Minting NFTs on Polygon Network: Suspecting Price Conversion Issue
I've deployed a contract on the Polygon network to mint NFTs, but I'm encountering an issue where only one of the transactions succeeds, while subsequent attempts result in errors. Here are the ...
1
vote
1
answer
515
views
Handling JavaScript Modules and Event Listeners in Astro for Blockchain Interaction
Challenge
I've been following Richard Gottleber's tutorial on creating a decentralized news service using Chainlink and ethers.js, deployed via the Astro framework. I finished the tutorial, reading ...
1
vote
1
answer
360
views
method eth_getLogs in batch triggered rate limit
Anyone have experience in this github repo?
https://github.com/smartcontractkit/smart-contract-examples/blob/main/ccip/offchain/typescript/src/get-status.ts
I'm having some trouble in this function:
...
0
votes
1
answer
167
views
How to Implement a Minimum Funding Requirement in a Solidity Smart Contract?
I'm currently developing a Solidity smart contract named FundMe, where users can contribute funds in Ether (ETH). I'm aiming to enforce a minimum funding requirement of $50 USD equivalent. However, I'...
1
vote
2
answers
312
views
Is there a way to circumvent the longer VRF2.5 subscription IDs throwing an error code in Chainlink Bootcamp day 8?
VRF migration to 2.5 has caused subscription IDs to become much, much longer. When trying to finish the final classes of the bootcamp, we're not able to deploy Runners.sol because of this. Error code ...
0
votes
1
answer
47
views
Can't get phase 1 and 2 phaseId data from feed
I'm getting historical data from the ETH/USD feed 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419
There are currently 6 phases, but I can only fetch data if I start at phase 3. Is this because phase 1 and ...
1
vote
2
answers
533
views
Issues with ethereum_goerli
Is ethereum_goerli already deprecated?
I'm trying to sell my tLINK using ethereum_goerli/erc20/chainlink_token on Ledger, but I get the following error:
INT…NAL_ERROR: blobs limit in txpool is full (-...
1
vote
2
answers
121
views
chainlink functions with geth
am trying to integrate chainlink functions to do some computations in my system ,however am using geth client , and I can t find anything in the documentation on how to set or configure these ...