·multiversx-payment-handling
!

multiversx-payment-handling

Handle payments in MultiversX smart contracts. Use when receiving, validating, or routing EGLD/ESDT payments via self.call_value(), Payment types, or payable endpoints. Covers single, multi, optional, and mixed payment patterns.

6Installs·0Trend·@multiversx

Installation

$npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-payment-handling

How to Install multiversx-payment-handling

Quickly install multiversx-payment-handling AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-payment-handling
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: multiversx/mx-ai-skills.

SKILL.md

View raw

Complete reference for receiving and validating payments in MultiversX smart contracts (SDK v0.64+).

| .egld() | ManagedRef | Accepts EGLD only, panics if ESDT sent. Handles both direct and multi-transfer EGLD. | | .eglddecimal() | ManagedDecimal | EGLD as 18-decimal ManagedDecimal | | .eglddirectnonstrict() | ManagedRef | Raw EGLD from VM. Returns 0 even if ESDT was sent. Low-level, rarely needed. |

| .single() | Ref | Exactly 1 transfer (EGLD or ESDT). Panics if 0 or 2+. Preferred for v0.64+. | | .singleoptional() | Option > | 0 or 1 transfer. Panics if 2+. | | .singleesdt() | Ref | Exactly 1 ESDT. Panics if EGLD or count != 1. | | .singlefungibleesdt() | (ManagedRef , ManagedRef ) | Exactly 1 fungible ESDT (nonce == 0). |

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-payment-handling
Category
!Security
Verified
First Seen
2026-02-22
Updated
2026-03-10

Browse more skills from multiversx/mx-ai-skills

Quick answers

What is multiversx-payment-handling?

Handle payments in MultiversX smart contracts. Use when receiving, validating, or routing EGLD/ESDT payments via self.call_value(), Payment types, or payable endpoints. Covers single, multi, optional, and mixed payment patterns. Source: multiversx/mx-ai-skills.

How do I install multiversx-payment-handling?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-payment-handling Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/multiversx/mx-ai-skills