insert_table_rows
Add new data rows to existing tables in Dune Analytics for blockchain analysis. Specify namespace, table name, and row data to insert.
Instructions
Insert rows into an existing table.
Args: namespace: Namespace of the table. table_name: Name of the table. rows: List of row objects where keys match column names.
Returns: Insert confirmation with row count.
Example: insert_table_rows( namespace="my_namespace", table_name="token_metrics", rows=[ {"date": "2024-01-01T00:00:00Z", "token": "ETH", "volume": 1000000}, {"date": "2024-01-02T00:00:00Z", "token": "ETH", "volume": 1200000} ] )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| table_name | Yes | ||
| rows | Yes |