NEW

Connect the world's APIs to Web3 with Chainlink Functions. Get started

Receiver

AuthorizedReceiver is an abstract contract inherited by operator and forwarder contracts.

Api Reference

Methods

setAuthorizedSenders

function setAuthorizedSenders(address[] senders) external

Sets the fulfillment permission for a given node. Use true to allow, false to disallow. Emits an AuthorizedSendersChanged event.

Parameters
Name Type Description
senders address[] The addresses of the authorized Chainlink node

getAuthorizedSenders

function getAuthorizedSenders() external view returns (address[])

Retrieve a list of authorized senders.

Return Values
Name Type Description
address[] array of addresses

isAuthorizedSender

function isAuthorizedSender(address sender) public view returns (bool)

Use this to check if a node is authorized to fulfill requests.

Parameters
Name Type Description
sender address The address of the Chainlink node
Return Values
Name Type Description
bool The authorization status of the node

Events

AuthorizedSendersChanged

event AuthorizedSendersChanged(address[] senders, address changedBy)

Stay updated on the latest Chainlink news