sai-perps-query

Query Sai mainnet CosmWasm contracts for Perp, Oracle, and SLP Vault data.

6|1|Updated Sep 23, 2023
One-click install
npx skills add https://github.com/Unique-Divine/jiyuu --skill sai-perps-query
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sai-perps-query
Source: https://github.com/Unique-Divine/jiyuu/tree/main/ai-skills/sai-perps-query
Command: npx skills add https://github.com/Unique-Divine/jiyuu --skill sai-perps-query

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nibid, nibijs, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies querying Sai mainnet CosmWasm contracts, providing access to financial data and analysis for Perp, Oracle, and SLP Vault contracts.

Core Features & Use Cases

  • Contract Query: Execute read-only queries against Perp, Oracle, and SLP Vault contracts.
  • Market Analysis: Retrieve and analyze data on market indices, collaterals, and trading volumes.
  • Use Case: Quickly obtain information on Sai perp contracts, including open interest, fees, and collateral details.

Quick Start

Query the total open interest for a specific market using the sai-perps-query skill.

Frequently Asked Questions about sai-perps-query

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query open interest and market data from Sai CosmWasm contracts?

To query open interest and market data from Sai CosmWasm contracts, you can execute read-only queries against Perp, Oracle, and SLP Vault contracts to retrieve financial metrics like fees and collateral details.

Can I analyze Sai mainnet perp market indices using Nibiru CLI?

Yes, you can analyze Sai mainnet perp market indices using Nibiru CLI, as the querying process requires either the Nibiru CLI or TypeScript SDK to interact directly with the CosmWasm contracts.

What financial data is available when querying Sai mainnet CosmWasm contracts?

Querying Sai mainnet CosmWasm contracts provides financial data including market indices, total open interest, trading volumes, collateral details, and associated fees across Perp, Oracle, and SLP Vault contracts.

Do I need nibid or nibijs to retrieve collateral details from Sai Oracle contracts?

Yes, you need nibid or nibijs because retrieving collateral details from Sai Oracle contracts requires either the Nibiru CLI or TypeScript SDK to execute the underlying read-only contract queries.

What is the best way to get trading volumes and fees from SLP Vault contracts?

The best way to get trading volumes and fees from SLP Vault contracts is by executing targeted read-only queries against the Sai mainnet CosmWasm contracts using the Nibiru TypeScript SDK.