Skip to main content
POST
https://0xcord.com
/
api
/
chainlinkFunctions
/
addConsumer
Functions Add Consumer
curl --request POST \
  --url https://0xcord.com/api/chainlinkFunctions/addConsumer \
  --header 'Authorization: <api-key>'
{
  "data": {
    "success": true,
    "transactionHash": "<string>",
    "url": "<string>"
  }
}

Params

network
string
required
The blockchain network where the consumer will be linked (e.g., polygon_mumbai, fuji, sepolia)
consumer
string
required
The address of the consumer contract to be linked

Response

data
object
success
boolean
Indicates whether the consumer was successfully linked
transactionHash
string
The transaction hash of the linking transaction
url
string
The URL to the transaction details on the blockchain explorer

Chainlink Functions Tutorial

Learn how to integrate Chainlink Functions with 0xCord