multiversx-payment-handling
Installation
SKILL.md
MultiversX Payment Handling — self.call_value() API Reference
Complete reference for receiving and validating payments in MultiversX smart contracts (SDK v0.64+).
Payment Type Hierarchy
Payment<M> ← v0.64+ preferred, uses NonZeroBigUint (amount guaranteed > 0)
├── token_identifier: TokenId<M> (unified: EGLD + ESDT)
├── token_nonce: u64
└── amount: NonZeroBigUint<M>
EsdtTokenPayment<M> ← ESDT-only (no EGLD), BigUint amount (can be 0 in theory)
├── token_identifier: EsdtTokenIdentifier<M>
├── token_nonce: u64
└── amount: BigUint<M>