Skip to Content
Symmio Trading-SDK — the SDK surface for builders on Arbitrum
CoreAccountLayereditAccountName

editAccountName

Rename a subaccount.

import { editAccountName } from "@symmio/trading-core"; const hash = await editAccountName(config, { account: "0xsub...", name: "Trading bot", });

Parameters

accountAddressrequired

The subaccount being renamed. The signer must equal the subaccount’s owner on chain.

namestringrequired

New display name.

chainIdnumberoptional

Optional chain override.

gaslessboolean | GaslessWriteOptionsoptional

Relay this write through the gasless execution mode instead of the wallet. A boolean for the common case, or a per-call GaslessWriteOptions bag; omitted, the chain’s execution.mode decides.

Returns

Hash
The broadcast tx hash.
Last updated on