@solana/kit · Signers

Solana error #5508012

SIGNER__WALLET_ACCOUNT_CANNOT_SIGN_TRANSACTION

Appears as Solana error #5508012; Decode this error by running `npx @solana/errors decode -- 5508012 '…'`

Message

The wallet account $address cannot be used to create a transaction signer because it does not implement either the `solana:signTransaction` or `solana:signAndSendTransaction` feature. At least one of these features is required. The account supports the following features: $supportedFeatures.

Placeholders (address, supportedFeatures) are filled from the error’s context. Paste the base64 argument below to see the real values.

What it means

Transaction and message signer plumbing: missing fee payer signer, wrong signer type, address mismatch.

What to do

  • Every signer account in the transaction must have a corresponding TransactionSigner object attached, including the fee payer.
  • Modifying signers require the transaction to be unsigned; partial signers can sign in any order.

Decode it locally instead

npx @solana/errors decode -- 5508012 '<base64 context>'

In development, import from @solana/kit as usual and the full message is thrown. In production the message is stripped to keep bundles small; the error object still carries error.context with the same values this page decodes, and isSolanaError(err, SOLANA_ERROR__SIGNER__WALLET_ACCOUNT_CANNOT_SIGN_TRANSACTION) lets you branch on it.

Decode another error

Try: