Before mounting a share:✅ Snowflake account in AWS US-EAST-1 ✅ Enterprise Edition or higher ✅ Access to the
share (via Marketplace or approval) ✅ ACCOUNTADMIN or CREATE DATABASE privileges
If you want other users in your Snowflake account to access the shared database:
Copy
Ask AI
-- Grant usage on the databaseGRANT USAGE ON DATABASE ETHEREUM_ONCHAIN_CORE_DATA TO ROLE analyst_role;-- Grant usage on all schemasGRANT USAGE ON ALL SCHEMAS IN DATABASE ETHEREUM_ONCHAIN_CORE_DATA TO ROLE analyst_role;-- Grant select on all tablesGRANT SELECT ON ALL TABLES IN SCHEMA ETHEREUM_ONCHAIN_CORE_DATA.core TO ROLE analyst_role;GRANT SELECT ON ALL TABLES IN SCHEMA ETHEREUM_ONCHAIN_CORE_DATA.defi TO ROLE analyst_role;-- Repeat for other schemas as needed
-- Drop the databaseDROP DATABASE IF EXISTS ETHEREUM_ONCHAIN_CORE_DATA;
This only removes the database from your account—it doesn’t affect the underlying share. You can
re-mount it anytime by following the mounting steps again.
Wrong Snowflake account (check you’re using the AWS US-EAST-1 account)
Share not yet granted by Flipside
Solution:
For free shares: Check the Marketplace and click “Get” again
For premium shares: Wait for approval email or contact [email protected]
Permission denied when creating database
Error:Insufficient privileges to operate on databaseSolution:
You need ACCOUNTADMIN or CREATE DATABASE privilege
Copy
Ask AI
-- As ACCOUNTADMIN, grant privilegesGRANT CREATE DATABASE ON ACCOUNT TO ROLE your_role;
Can't query tables
Error:Object does not exist or SQL access control errorPossible causes:
Database not properly mounted
Missing USAGE grants
Incorrect schema/table name
Solution:
Copy
Ask AI
-- Verify database existsSHOW DATABASES LIKE 'ETHEREUM%';-- Verify schemasUSE DATABASE ETHEREUM_ONCHAIN_CORE_DATA;SHOW SCHEMAS;-- Grant yourself usageGRANT USAGE ON DATABASE ETHEREUM_ONCHAIN_CORE_DATA TO ROLE your_role;
Data seems stale
Issue: Data hasn’t updated recentlyCheck data freshness:
Copy
Ask AI
SELECT MAX(block_timestamp) AS latest_blockFROM ethereum_onchain_core_data.core.fact_blocks;