Managing CL Functions Subscriptions
The Chainlink Functions Subscription Manager is available here. The Functions Subscription Manager lets you create a subscription, add consumers to it, remove consumers from it, fund it with LINK, and delete it.
When you connect to the Subscription Manager, choose the correct network, then click connect wallet.
Subscriptions
Create a subscription
-
Open functions.chain.link and click Create Subscription:
-
You are asked to provide an optional email address and subscription name:
-
The first time that you interact with the Subscription Manager using your EOA, you have to approve the Terms of Service (ToS):
-
When you approve the ToS, a Metamask popup appears, and you are asked to approve the subscription creation:
-
After the subscription is created, you are asked to sign a message in MetaMask to link the subscription name and email address to your subscription:
-
After the subscription is created, you can fund it with LINK:
-
After funding, you can add a consumer to it:
-
After creation, you can fetch the details of your subscription:
Fund a Subscription
-
Open your subscription details and click Actions then click Fund subscription:
-
Fund your subscription. For instance, 0.1 LINK:
-
A Metamask popup appears, and you are asked to confirm the transaction. After you confirm the transaction, a confirmation screen appears:
Add a consumer contract to a Subscription
-
Open your subscription details and click Add Consumer:
-
Fill in the consumer address:
-
A Metamask popup appears, and you are asked to confirm the transaction. After you confirm the transaction, a confirmation screen appears:
Remove a consumer contract from a Subscription
-
Open your subscription details and click the consumer you want to remove, then Remove Consumer:
-
A Metamask popup appears, and you are asked to confirm the transaction.
-
After you confirm the transaction, a confirmation screen appears:
Cancel a Subscription
Note: You cannot cancel a subscription if there are in-flight requests. In-flight requests are requests that still need to be fulfilled.
-
Open your subscription details, click Actions, then Cancel subscription:
-
Fill in the receiver address of the remaining funds:
-
A Metamask popup appears, and you are asked to confirm the transaction.
-
After you confirm the transaction, a confirmation screen appears: