SYMMIO Core
Margin allocation and the request-based withdraw system on the core diamond — allocate, initiate, finalize, cancel, and the read views.
Enter a wallet address to load subaccounts.
Pick a subaccount or enter one manually.
Enter a wallet address to load subaccounts.
Pick a subaccount or enter one manually.
Enter a wallet address to load subaccounts.
Pick a subaccount or enter any SYMMIO account address.
Leave empty to use configured affiliate 0x58bB…E24D.
Pick or paste accounts one at a time — each joins the list below, and results come back in that order.
Leave empty to use the Enigma solver 0x0420…445c.
How it works
- Pass a subaccount and an ordered list of
{ functionName, args }. Each name must be a write in the SDK’s SYMMIO core ABI, with its own units. - The SDK encodes every call first, so a wrong name or argument fails before any wallet prompt.
- From the wallet, the calls go out as one AccountLayer
_calltransaction, simulated first. If one call reverts, none of them happen. - Gasless, every call is relayed in order as one request. With
gasless: true, a list holding a call the relayer cannot carry is refused instead of going to the wallet. - Nothing is inferred: no request ids, and no call’s return value is fed into the next. Read what you need before you build the list.
Why this card cannot send it
This app uses the SDK only through @symmio/trading-react, and that package has no hook for this call: the calls are arbitrary core writes, so no fixed set of reads can be refreshed after them. For a withdrawal you do not need it: the useWithdraw flow already deallocates and initiates in one atomic transaction on a cross-margin subaccount.
In a React app
import { executeAccountCallsMutationOptions } from "@symmio/trading-core";
import { useSymmioConfig } from "@symmio/trading-react";
import { useMutation } from "@tanstack/react-query";
const config = useSymmioConfig();
const { mutate } = useMutation(executeAccountCallsMutationOptions(config));
mutate({
account: subAccount,
calls: [
{ functionName: "deallocate", args: [amount18, upnlSig] },
{ functionName: "initiateWithdraw", args: [parts, false, providerData] },
],
});
// Wait for the receipt, then refresh the reads these calls changed.Full reference: SDK docs → Core → SYMMIO contract → executeAccountCalls.