stx_updateProfile
Usage
import { request } from '@stacks/connect';
const result = await request('stx_updateProfile', {
profile: {
name: 'Alice',
description: 'Builder on Stacks',
image: [
{
'@type': 'ImageObject',
contentUrl: 'https://example.com/avatar.png',
},
],
},
});
console.log('Updated profile:', result.profile);Notes
Signature
Returns
Property
Type
Description
Parameters
profile (required)
Last updated
Was this helpful?