Skip to content

Documentation / expo / UseLinkWithSiwsInterface

Interface: UseLinkWithSiwsInterface ​

Properties ​

generateMessage ​

generateMessage: (args) => Promise<Object>

Parameters ​

• args: Object

• args.from: Object

• args.from.domain: string

RFC 3986 authority that is requesting the signature

• args.from.uri: string

RFC 3986 URI referring to the resource that is the subject of the signature

• args.wallet: Object

Solana wallet address

• args.wallet.address: string

Returns ​

Promise<Object>

message ​

message: string


link: (opts) => Promise<PrivyUser>

Parameters ​

• opts: Object

• opts.message: string

The SIWS message

• opts.signature: string

Signature generated against the SIWS message

• opts.wallet?: Object

• opts.wallet.connectorType?: string

Metadata for the wallet account

• opts.wallet.walletClientType?: string

Metadata for the wallet account

Returns ​

Promise<PrivyUser>