multiversx_sdk library
Classes
- Account
- Represents an account in the MultiversX blockchain.
- AddNftUriTransaction
- A transaction class used to add URIs to NFT/SFT on the MultiversX blockchain.
- AddNftUriTransactionData
- Transaction data class specifically for adding URIs to NFT/SFT.
- AddQuantityTransaction
- A transaction class used to add quantity to Semi-Fungible Tokens (SFTs) on the MultiversX blockchain.
- AddQuantityTransactionData
- Transaction data class specifically for adding quantity to SFTs.
- Balance
- Represents a balance of EGLD cryptocurrency.
- BaseTokenProperties
- Base class for common token properties
- BurnQuantityTransaction
- A transaction class used to burn quantity from NFT/SFT tokens on the MultiversX blockchain.
- BurnQuantityTransactionData
- Transaction data class specifically for burning quantity from NFT/SFT.
- ByteOne
- A class representing the second byte of code metadata. This byte contains flags for payable features and reserved values.
- ByteZero
- A class representing the first byte of code metadata. This byte contains flags for upgradeability and readability features.
- CallSmartContractTransaction
- A transaction class used to call smart contract functions on the MultiversX blockchain.
- CallSmartContractTransactionData
- Transaction data class specifically for smart contract calls.
- ChainId
- Represents the chain ID for a transaction.
- ChangeToDynamicTransaction
- A transaction class used to change a token type to dynamic on the MultiversX blockchain.
- ChangeToDynamicTransactionData
- Transaction data class specifically for changing token type to dynamic.
- CodeMetadata
- A class representing code metadata for smart contracts. This class manages contract properties such as upgradeability, readability, and payment capabilities.
- ContractFunction
- Represents a smart contract function with its name and arguments
- ConvertSftToMetaEsdtTransaction
- A transaction class used to convert SFT tokens to Meta ESDT tokens on the MultiversX blockchain.
- ConvertSftToMetaEsdtTransactionData
- Transaction data class specifically for SFT to Meta ESDT conversion transactions.
- CustomTransaction
- Represents a custom transaction on the MultiversX blockchain.
- CustomTransactionData
- Represents the data for a custom transaction.
- DeploySmartContractTransaction
- A transaction class used to deploy smart contracts on the MultiversX blockchain.
- DeploySmartContractTransactionData
- Transaction data class specifically for smart contract deployment.
- DevnetNetworkConfiguration
- Represents the network configuration for the devnet.
- EgldTransferTransaction
- Represents a transaction for transferring EGLD (eGold) on the MultiversX blockchain.
- EmptyWallet
- Represents an empty wallet that implements the WalletInterface. This is primarily used for placeholder or testing purposes.
- EsdtLocalBurnTransaction
- Represents a transaction for burning ESDT tokens locally
- EsdtLocalBurnTransactionData
- Represents the data for an ESDT local burn transaction
- EsdtLocalMintTransaction
- Represents a transaction for minting ESDT tokens locally
- EsdtLocalMintTransactionData
- Represents the data for an ESDT local mint transaction
- EsdtNftTranferTransactionData
- A custom transaction data class for ESDT NFT transfers.
- EsdtNftTransferTransaction
- A transaction class for transferring ESDT NFTs (Non-Fungible Tokens).
- EsdtTokenProperties
- Properties specific to ESDT tokens
- EsdtTranferTransactionData
- Represents the data for an ESDT transfer transaction.
- EsdtTransferTransaction
- Represents an ESDT transfer transaction on the MultiversX blockchain.
- FreezeSingleNftTransaction
- A transaction class used to freeze a single NFT for a specific account.
- FreezeSingleNftTransactionData
- Transaction data class specifically for freezing a single NFT.
- FreezeTokenTransaction
- Represents a transaction for freezing an ESDT token for a specific account
- GasLimit
- Represents the gas limit for a transaction.
- GasPrice
- Represents the gas price for a transaction.
- GasPriceModifier
- Represents a modifier for the gas price.
- IssueEsdtTransaction
- A transaction for issuing a new ESDT token on the MultiversX blockchain.
- IssueEsdtTransactionData
- The transaction data payload for an ESDT token issuance transaction.
- IssueNonFungibleTransaction
- A transaction class used to issue non-fungible tokens (NFTs) on the MultiversX blockchain.
- IssueNonFungibleTransactionData
- Transaction data class specifically for NFT issuance transactions.
- IssueSemiFungibleTransaction
- A transaction class used to issue semi-fungible tokens (SFTs) on the MultiversX blockchain.
- IssueSemiFungibleTransactionData
- Transaction data class specifically for SFT issuance transactions.
- MainnetNetworkConfiguration
- Represents the network configuration for the mainnet.
- Message
- Represents a message in the MultiversX ecosystem.
- MetaDataRecreateTransaction
- A transaction class used to recreate an NFT with new metadata on the MultiversX blockchain.
- MetaDataRecreateTransactionData
- Transaction data class specifically for NFT metadata recreation.
- MetaDataUpdateTransaction
- A transaction class used to update NFT/SFT metadata on the MultiversX blockchain.
- MetaDataUpdateTransactionData
- Transaction data class specifically for NFT/SFT metadata updates.
- ModifyCreatorTransaction
- A transaction class used to modify the creator of a token.
- ModifyCreatorTransactionData
- Transaction data class specifically for modifying token creator.
- ModifyRoyaltiesTransaction
- A transaction class used to modify royalties for an NFT/SFT.
- ModifyRoyaltiesTransactionData
- Transaction data class specifically for modifying NFT/SFT royalties.
- MultiEsdtNftTranferTransactionData
- Represents the data for a multi ESDT/NFT transfer transaction.
- MultiEsdtNftTransferTransaction
- Represents a multi ESDT/NFT transfer transaction.
- MultiTokenTransfer
- Represents a token transfer with quantity and nonce information.
- NetworkConfiguration
- Represents the network configuration for MultiversX blockchain.
- NFTCreationTransaction
- Represents a transaction for creating a new NFT on the MultiversX blockchain.
- NFTCreationTransactionData
- Transaction data specifically for NFT creation.
- NftTokenProperties
- Properties specific to NFT tokens
- Nonce
- Represents a nonce (number used once) in cryptographic operations.
- RegisterAndSetAllRolesDynamicTransaction
- A transaction class used to register a dynamic token and set all roles on the MultiversX blockchain.
- RegisterAndSetAllRolesDynamicTransactionData
- Transaction data class specifically for registering dynamic tokens with all roles.
- RegisterDynamicTransaction
- A transaction class used to register a dynamic token on the MultiversX blockchain.
- RegisterDynamicTransactionData
- Transaction data class specifically for registering dynamic tokens.
- RegisterMetaEsdtTransaction
- A transaction class used to register Meta ESDT tokens on the MultiversX blockchain.
- RegisterMetaEsdtTransactionData
- Transaction data class specifically for Meta ESDT registration transactions.
- RelayedV2Transaction
- Represents a relayed transaction v2 on the MultiversX blockchain.
- RelayedV2TransactionData
- Represents the data for a relayed v2 transaction.
- Sdk
- A class that provides methods for interacting with the MultiversX blockchain.
- SetEsdtSpecialRoleTransaction
- SetNewUrisTransaction
- A transaction class used to set new URIs for an ESDT token.
- SetNewUrisTransactionData
- Transaction data class specifically for setting new URIs for an ESDT token.
- SetNftSpecialRoleTransaction
- SetSftSpecialRoleTransaction
- SignableMessage
- Represents a message that can be signed in the MultiversX ecosystem.
- Signature
- Represents a cryptographic signature.
- StopNftCreationTransaction
- A transaction class used to stop NFT creation for a token.
- StopNftCreationTransactionData
- Transaction data class specifically for stopping NFT creation.
- TestnetNetworkConfiguration
- Represents the network configuration for the testnet.
- TokenFreezeStateTransaction
- Base class for token freeze/unfreeze transactions
- TokenFreezeStateTransactionData
- Base class for token freeze/unfreeze transaction data
- TokenSpecialRoleTransaction
- Base class for token special role transactions
- TokenSpecialRoleTransactionData
- Base class for token special role transaction data
- Transaction
- Represents a transaction on the MultiversX blockchain.
- TransactionData
- Represents the data payload of a transaction.
- TransactionHash
- Represents a transaction hash.
- TransactionVersion
- Represents the version of a transaction.
- TransactionWithData
- Represents a transaction with additional data and gas limit calculation.
- TransactionWithNetworkConfiguration
- Represents a transaction with network configuration.
- TransferNftCreationRoleTransaction
- A transaction class used to transfer NFT creation role from one address to another.
- TransferNftCreationRoleTransactionData
- Transaction data class specifically for NFT creation role transfer transactions.
- TransferOwnershipTransaction
- Represents a transaction for transferring token ownership
- TransferOwnershipTransactionData
- Represents the data for a transfer ownership transaction
- UnfreezeSingleNftTransaction
- A transaction class used to unfreeze a single NFT for a specific account.
- UnfreezeSingleNftTransactionData
- Transaction data class specifically for unfreezing a single NFT.
- UnfreezeTokenTransaction
- Represents a transaction for unfreezing an ESDT token for a specific account
- UnsetEsdtSpecialRoleTransaction
- UnsetNftSpecialRoleTransaction
- UnsetSftSpecialRoleTransaction
- UpdateNftAttributesTransaction
- A transaction class used to update NFT/SFT attributes on the MultiversX blockchain.
- UpdateNftAttributesTransactionData
- Transaction data class specifically for NFT/SFT attributes update.
- UpdateTokenTypeTransaction
- A transaction class used to update a token type to its latest version on the MultiversX blockchain.
- UpdateTokenTypeTransactionData
- Transaction data class specifically for updating token types.
- UpgradeSmartContractTransaction
- A transaction class used to upgrade smart contracts on the MultiversX blockchain.
- UpgradeSmartContractTransactionData
- Transaction data class specifically for smart contract upgrades.
- UpgradeTokenTransaction
- A transaction that upgrades a token's properties on the MultiversX network.
- UpgradeTokenTransactionData
- Represents the data payload for a token upgrade transaction.
- Wallet
- Implements the WalletInterface and provides wallet functionality.
- WalletInterface
- An interface defining the basic functionality of a wallet.
- WalletPair
- Represents a pair of wallets, including a main wallet and an optional guardian wallet.
- WipeSingleNftTransaction
- A transaction class used to wipe a single NFT from a specific account.
- WipeSingleNftTransactionData
- Transaction data class specifically for wiping a single NFT.
Enums
- ArwenVirtualMachine
- Represents the virtual machine type for smart contracts
- DynamicTokenType
- Represents the type of dynamic token to register.
- EsdtTokenRole
- Contains all possible ESDT token roles
- NftTokenRole
- Contains all possible NFT token roles
- NonUpdatableTokenType
- Enumeration of token types that cannot be updated.
- SftTokenRole
- Contains all possible SFT token roles
- UpdatableTokenType
- Enumeration of token types that can be updated.
Extensions
- ToSendTransactionRequest on Transaction
- Extension on Transaction to convert it to a SendTransactionRequest.
Constants
- defaultChainId → const String
- Default chain ID for the network.
- defaultGasPerDataByte → const int
- Default gas cost per data byte.
- defaultGasPriceModifier → const double
- Default gas price modifier.
- defaultMinGasLimit → const int
- Default minimum gas limit for transactions.
- defaultMinGasPrice → const int
- Default minimum gas price for transactions.
- defaultMinTransactionVersion → const int
- Default minimum transaction version.
- denomination → const int
- The number of decimal places used for EGLD denomination.
- messagePrefix → const String
- A constant string used as a prefix for signed messages. This prefix is used to prevent potential attacks by ensuring the message is intended for the Elrond network.
Functions
-
computeContractAddress(
PublicKey address, Nonce nonce) → PublicKey -
mapTransactionDataArgumentsToString(
List arguments) → List< String> - Maps transaction data arguments to their string representations.
-
transactionDataFromCommandAndArguments(
String command, {List< String> arguments = const []}) → List<int> - Creates transaction data from a command and optional arguments.