Sui SDK v2
getSuiPublicKey
Returns an @mysten/sui Ed25519PublicKey for a Para wallet.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns an @mysten/sui Ed25519PublicKey for a Para wallet.
import type { Para as ParaServer } from '@getpara/server-sdk';
import { getSuiPublicKey } from '@getpara/sui-sdk-integration';
declare const para: ParaServer; // An authenticated Para Server client with a loaded Sui wallet.
const publicKey = getSuiPublicKey(para, 'wallet-id');
const address = publicKey.toSuiAddress();