1. Create the Plugin
Go to Bubble Plugin Editor
Click "New Plugin"
Name it something like Covalent Blockchain API
Save the plugin
2. Set API Name and Authentication
Go to the "API Calls" tab
In API Name, enter: Covalent
Set Authentication to: Private key in header
3. Add Shared Headers
Under Shared headers for all calls, click Add a shared header and enter the following:
Key Value Visibility
accept application/json Public
4. Add Shared Parameters
No shared parameters are needed globally for all calls in this configuration.
5. Configure API Calls
✅ 1. List all chains
Name: List all chains
Use as: Data
Data type: JSON
Method: GET
URL:
https://api.covalenthq.com/v1/chains/Add parameter:
key: auth-token
value: <your_covalent_api_key> (mark as Private)
✅ 2. Get token balances for address
Name: Get balances
Use as: Data
Data type: JSON
Method: GET
URL:
https://api.covalenthq.com/v1/<chain_id>/address/<wallet_address>/balances_v2/
Parameters:
chain_id: Public
wallet_address: Public
key: auth-token → <your_api_key> (Private)
✅ 3. Get transactions
Name: Get transactions
Use as: Data
Data type: JSON
Method: GET
URL:
https://api.covalenthq.com/v1/<chain_id>/address/<wallet_address>/transactions_v2/
Parameters:
chain_id: Public
wallet_address: Public
key: auth-token → <your_api_key> (Private)
✅ 4. Get token transfers
Name: Get token transfers
Use as: Data
Data type: JSON
Method: GET
URL:
https://api.covalenthq.com/v1/<chain_id>/address/<wallet_address>/transfers_v2/
Parameters:
chain_id: Public
wallet_address: Public
key: auth-token → <your_api_key> (Private)
✅ 5. Get NFT data
Name: Get NFT metadata
Use as: Data
Data type: JSON
Method: GET
URL:
https://api.covalenthq.com/v1/<chain_id>/tokens/<contract_address>/nft_metadata/<token_id>/
Parameters:
chain_id: Public
contract_address: Public
token_id: Public
key: auth-token → <your_api_key> (Private)
6. Initialize Each API Call
For each API call, click "Initialize call" after entering sample values.
Bubble will retrieve the API response structure and allow it to be used in the app.