Core Commands
Execute
Last updated March 20, 2026
Summary
The mplx core asset execute info command displays the signer PDA address and current SOL balance for any MPL Core Asset. The signer PDA is a deterministic program-derived address that can hold SOL, tokens, and own other assets on behalf of the asset.
- Derives and displays the signer PDA address for any Core Asset
- Verifies the asset exists on-chain before returning results
- Shows the PDA's current SOL balance
- Used alongside asset-signer wallets for full PDA wallet functionality
Basic Usage
mplx core asset execute info <assetId>
Arguments
| Argument | Description |
|---|---|
ASSET_ID | The address of the MPL Core Asset to derive the signer PDA for |
Global Flags
| Flag | Description |
|---|---|
-c, --config <value> | Path to config file. Default is ~/.config/mplx/config.json |
-k, --keypair <value> | Path to keypair file or ledger (e.g., usb://ledger?key=0) |
-p, --payer <value> | Path to payer keypair file or ledger |
-r, --rpc <value> | RPC URL for the cluster |
--commitment <option> | Commitment level: processed, confirmed, or finalized |
--json | Format output as JSON |
--log-level <option> | Logging level: debug, warn, error, info, or trace (default: info) |
Examples
Display PDA Info for an Asset
mplx core asset execute info 5avjMVza8SuMhgTfzEGNWJskDELMCQk9juAAc8zeQoNa
Output:
--------------------------------
Asset: 5avjMVza8SuMhgTfzEGNWJskDELMCQk9juAAc8zeQoNa
Signer PDA: 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
SOL Balance: 0.1 SOL
--------------------------------
Get Structured JSON Output
mplx core asset execute info <assetId> --json
Returns:
{
"asset": "<assetId>",
"signerPda": "<pdaAddress>",
"balance": 0.1
}
Fund the PDA After Inspection
A common workflow is to inspect the PDA, then fund it:
# 1. Get the PDA address
mplx core asset execute info <assetId>
# 2. Send SOL to the PDA
mplx toolbox sol transfer 0.1 <signerPdaAddress>
# 3. Confirm the balance
mplx core asset execute info <assetId>
How Execute Works
Every MPL Core asset has a deterministic signer PDA derived from its address using findAssetSignerPda. This PDA can act as a wallet — holding SOL, owning tokens, and signing instructions via the on-chain execute instruction.
The typical workflow is:
- Derive the PDA — use
mplx core asset execute info <assetId>to find the PDA address - Fund the PDA — send SOL to the PDA address using
mplx toolbox sol transfer - Register as wallet — add the asset as an asset-signer wallet with
mplx config wallets add <name> --asset <assetId> - Use normally — all CLI commands auto-wrap in the
executeinstruction when an asset-signer wallet is active
info is the only execute subcommand. To perform operations as the PDA, register the asset as an asset-signer wallet — all regular CLI commands will then auto-wrap in execute transparently.
Quick Reference
| Item | Value |
|---|---|
| Command | mplx core asset execute info |
| Applies to | MPL Core Assets only |
| Related | Asset-Signer Wallets |
| PDA derivation | findAssetSignerPda(umi, { asset: assetPubkey }) |
| Source | GitHub — metaplex-foundation/cli |
Notes
- The signer PDA is deterministic — the same asset always produces the same PDA address
- The PDA can hold SOL, SPL tokens, and even own other MPL Core Assets
- Only the asset owner (or authorized delegate) can invoke the
executeinstruction for a given asset's PDA - The command verifies the asset exists on-chain before deriving the PDA; a non-existent asset will produce an error
- The balance shown is the SOL balance only — use
mplx toolbox sol balancewith an asset-signer wallet active to check token balances - This is a read-only command — it does not create or modify any on-chain state
- Some operations cannot be wrapped in
executedue to Solana CPI constraints — see CPI Limitations
