Documentation Index
Fetch the complete documentation index at: https://docs.magic.link/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
All endpoints require the following headers unless otherwise noted:Bearer token (JWT) for end-user authentication. Format:
Bearer YOUR_JWT_TOKENYour Magic secret key for application-level authentication.
Estimate Transfer Cost
Estimate the cost of a transfer route before executing it.cURL
Request Parameters
Where to transfer from. Values:
self, extended, hyperliquid, paradex, nado, polymarketWhere to transfer to. Values:
self, extended, hyperliquid, paradex, nado, polymarketThe amount to transfer as a decimal string (e.g.,
"100").The chain context for the transfer. Values:
ETH, ARB, POL, SOL, STRK, INKThe token to transfer. Values:
ETH, WETH, USDC, USDC.E, POL, SOLOptional transfer mode. Values:
sponsored (gas-sponsored), legacyResponse Fields
Whether the estimate was computed successfully.
List of planned transfer steps with individual cost breakdowns.
Total estimated cost across all steps in ETH.
Total estimated cost across all steps in USDC.
Create Transfer
Create and execute a transfer task. The transfer is executed asynchronously. Use the returnedtask_id to monitor progress.
cURL
X-Task-ID header for convenience.
Request Parameters
The request parameters are identical to Estimate Transfer Cost.Response Fields
Whether the task was created successfully.
The UUID of the created transfer task. Use this to poll for status.
Human-readable status message.
List Tasks
Get the authenticated user’s transfer tasks, ordered by most recent.cURL
Query Parameters
Maximum number of tasks to return.
Response Fields
The UOA-internal user UUID.
List of task objects.
Get Task
Get a specific transfer task by ID.cURL
Path Parameters
The UUID of the task to retrieve.
Response Fields
The response fields are the same as those in the List Tasks task object.Resume Task
Resume a failed or cancelled transfer task from the last successful checkpoint.cURL
Path Parameters
The UUID of the task to resume.
Only tasks with status
FAILED or CANCELLED can be resumed. Attempting to resume a COMPLETED, IN_PROGRESS, or PENDING task will return an error.Response Fields
Whether the task was resumed successfully.
The UUID of the resumed task.
Human-readable status message.