merge: chore/cleanup-remove-bloat-and-secrets into main
This commit is contained in:
commit
bde2f3a97d
1173 changed files with 437609 additions and 0 deletions
21
app/domain/labels/sources/chainbase.py
Normal file
21
app/domain/labels/sources/chainbase.py
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
"""Chainbase source — placeholder, requires API key.
|
||||
|
||||
TODO: add CHAINBASE_API_KEY to gopass + env. Free tier: 50K calls/month.
|
||||
|
||||
For now returns []. Stub.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
|
||||
from app.domain.labels.models import Label
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
async def query_chainbase(address: str, chain: str = "ethereum") -> list[Label]:
|
||||
"""Query Chainbase for an address's labels.
|
||||
|
||||
Returns [] until CHAINBASE_API_KEY is configured.
|
||||
"""
|
||||
return []
|
||||
Loading…
Add table
Add a link
Reference in a new issue