mvx_cross_contract_storage

Official

Read contract storage directly, no gas cost.

Authormultiversx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables reading data directly from another smart contract's storage without incurring the gas costs and complexities associated with traditional proxy calls, specifically for same-shard contracts.

Core Features & Use Cases

  • Direct Storage Access: Utilizes storage_mapper_from_address to read storage variables.
  • Zero Gas Overhead: Avoids proxy call gas fees, only incurring the cost of a storage read.
  • Use Case: Efficiently retrieve the total_supply of a token or a user's balance from another contract on the same shard without making an external call.

Quick Start

Use the mvx_cross_contract_storage skill to read the external_total_supply from the contract at address erd1... for the token identifier 'MYTOKEN'.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mvx_cross_contract_storage
Download link: https://github.com/multiversx/mx-ai-skills/archive/main.zip#mvx-cross-contract-storage

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.