diff --git a/erisdb/pipe/types.go b/erisdb/pipe/types.go
index 4f79b228ab7becbc8be47f802506a507e54bf13d..b9819cd264bfe20958df44a5d5f813e984a63665 100644
--- a/erisdb/pipe/types.go
+++ b/erisdb/pipe/types.go
@@ -69,7 +69,7 @@ type (
 	}
 
 	ChainId struct {
-		ChainId string `json:"chainId"`
+		ChainId string `json:"chain_id"`
 	}
 
 	// GetBlocks