Skip to content
docs

UnsafeTransactionError

Defined in: wallet-solana/src/errors.ts:4

Refused before signing: the transaction would almost certainly destroy funds or sign on someone else’s behalf.

  • SignerError

new UnsafeTransactionError(message, code?, details?): UnsafeTransactionError

Defined in: wallet-solana/src/errors.ts:9

string

string

readonly string[] = []

UnsafeTransactionError

SignerError.constructor

readonly code: string | undefined

Defined in: wallet-solana/src/errors.ts:6

Machine-readable reason (e.g. unknown-program, token-drain, slippage); undefined for the generic refusals.


readonly details: readonly string[]

Defined in: wallet-solana/src/errors.ts:8

What tripped the check (program ids, account addresses…).