cURL
curl --request POST \ --url https://privacy.magicblock.app/tx/undelegate-ephemeral-ata \ --header 'Content-Type: application/json' \ --data ' { "payer": "<string>", "user": "<string>", "mint": "<string>", "ata": "<string>", "magic_context": "<string>", "ephemeral_ata": "<string>", "cluster_url": "<string>" } '
{ "transaction": "<string>", "message": "Transaction created successfully" }
Undelegate an ephemeral ATA from a DLP.
Payer/owner pubkey (signer)
Owner of the ephemeral ATA
SPL token mint
User's SPL token account
Magic context account
Ephemeral ATA PDA
Solana cluster URL override
Response containing a serialized transaction.
Base64-encoded serialized transaction
Was this page helpful?