Blockchain L2 solutions represent scalability solutions built on top of the main networks of blockchain. These solutions aim to increase the transaction capacity, expedite transaction times, and reduce transaction fees in blockchain networks.L2 solutions such as Optimistic Rollups, zk-Rollups, and sidechains employ different technical approaches to achieve these objectives. While Optimistic Rollups execute transactions on sidechains before integrating them into the main chain, zk-Rollups securely validate transactions using mathematical proofs. Sidechains, on the other hand, operate as independent blockchains processing transactions away from the main chain.These solutions aspire to enhance the overall performance of blockchain networks by mitigating transaction delays and high fees resulting from network congestion. Blockchain L2 solutions represent an evolving field that seeks to serve broader audiences and introduce innovations applied across various industries.
# Search
curl -X POST "https://search.dria.co/hnsw/search" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"rerank": true, "top_n": 10, "contract_id": "Z5M7U5bGCAdidUA20STMAK7dj10-bS3jvBHYpl-R_ys", "query": "What is alexanDRIA library?"}'
# Query
curl -X POST "https://search.dria.co/hnsw/query" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"vector": [0.123, 0.5236], "top_n": 10, "contract_id": "Z5M7U5bGCAdidUA20STMAK7dj10-bS3jvBHYpl-R_ys", "level": 2}'