editAccountName
Rename a subaccount.
import { editAccountName } from "@symmio/trading-core";
const hash = await editAccountName(config, {
account: "0xsub...",
name: "Trading bot",
});Parameters
accountAddressrequiredThe subaccount being renamed. The signer must equal the subaccount’s owner on chain.
namestringrequiredNew display name.
chainIdnumberoptionalOptional chain override.
Returns
HashThe broadcast tx hash.
Last updated on