SignLens for wallets
The engine behind the SignLens extension is available to wallets. Give it the transaction a dapp wants signed, and it answers with what your wallet can show before the user signs: a verdict, a one-line summary, the findings, and each effect in words. You can try it now on a free API, with no key and no sign-up.
Try it
This transaction changes the owner of the signer's USDC account. Nothing leaves the wallet, so a balance preview shows no change. Ask the API about it:
curl https://api.signlens.dev/v2/explain \
-H 'Content-Type: application/json' \
-d '{"transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDoPNSg/gB3f2Qk4kW/vfGYT2/sMTPySWftlVhtuDXJcUCafOnxoRGYS85JbwrRgtqlC8ZZZeNgwYvV3CJxFQiAQbd9uHXZaGT2cvhRs7reawctIXtX1s3kTqM9YV+/wCpAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAgIBACMGAgG7HXwEidPzx+CSI58Y4AW+qo9qYvAtl7KeMprzY4yjNw==",
"own_keys": ["BqHRmuFYxr8jCPc3N7ebMfnJJKYcSnoaqknXQ2x1Tx9A"]}'
The answer, cut down here to its first fields:
{
"schema": "signlens-explanation/2",
"verdict": "block",
"summary": {
"text": "Give the owner authority over ARX9…Evfz to DbRK…ERgS"
},
"findings": [
{
"code": "TOKEN_ACCOUNT_GIVEN_AWAY",
"severity": "critical",
"message": {
"text": "Gives YOUR token account to DbRK…ERgS; the new owner controls every token in it and you cannot get it back"
}
}
]
}
The whole document also carries every instruction decoded, the effects as sentences with their amounts and addresses as values, the fee, how long the signature stays valid, and the text ready to show. The API reference has the request's fields, the limits and the errors.
What a wallet gets
- Explanations of 62 Solana programs, among them Jupiter, Kamino, Meteora, Raydium, Orca, Pump and the routers trading terminals use: the list. On 30 November 2026 that was 94.1% of 9,940 transactions ordinary users signed, against at most 40.2% for the programs Ledger's clear signing lists: the measurement. An unknown program is reported as unknown, never guessed at.
- Findings a balance preview cannot give: accounts given away, unlimited approvals, signatures that never expire, lookalike addresses, a swap paid to someone else, and a simulation that disagrees with what the bytes say.
- The user's own accounts, worked out and named: from the wallet address you send, the engine derives the user's token accounts and calls them theirs ("Your USDC account"), by arithmetic and not on the dapp's word. That is how it can say that a swap pays its output to an account that is not the user's, or that the account being handed over is the user's own.
- Names checked by address: a token is called USDC only when its address is Circle's.
- A document, not a picture: every sentence comes with its parts, so your wallet shows it in its own design. It is worded in English or in Simplified Chinese, which a native speaker reviewed: send the user's languages in the request's
localefield, and the answer says which one it used. - Both transaction formats, the versioned one with lookup tables and the newer v1.
Two ways to use it
- The API
- What the extension itself uses, at
api.signlens.dev. Free to try at ten requests a minute for each address, with no key. Call it from your app or your server. For more than that, write to us. - Inside your wallet
- The engine is one library with no network access of its own: your wallet hands it the bytes and gets the document back, so nothing leaves the device. It builds as WebAssembly for a browser extension or a desktop app, about 840 KB before the program descriptions, and as a native library for iOS and Android. Wallet teams license it from SignLens: write to us.
Hardware wallets
A hardware wallet is a device and the app that talks to it. SignLens works in the app: on the desktop, the phone or the browser extension, it explains the transaction before the app sends it to the device, through the API or with the engine built in. That is where most of the reading happens today, since a device's screen has room for a few lines. SignLens does not run on a device's own chip.
The extension already works this way in front of any wallet, a hardware wallet's browser extension included: with a Ledger or another hardware wallet.
Why not read sRFC 39's display rules yourself?
sRFC 39 is a draft standard for programs to say how their instructions should be shown. A wallet can implement it, and should when programs publish under it. It does not give a wallet what SignLens does:
- A standard is a format, not the descriptions
- sRFC 39 says how a program may describe its instructions. Someone still has to write a description of every instruction of every program, and keep it right as programs change. When SignLens read the chain on 30 November 2026, the display rules sRFC 39 proposes were published for eight of Solana's own programs (System, Token, Token-2022 and the like) and one other program. Jupiter, Kamino, Orca, Raydium, Meteora and Pump had none. A wallet that implements the standard today explains a transfer, and little else.
- Many programs will never describe themselves
- A good part of what people sign goes through routers whose authors publish no interface at all: trading terminals, aggregators' own routers, exchange proxies. SignLens reads them from a layout worked out from their transactions on chain, and checks each reading against what those transactions moved.
- A program's own description is its author's word
- Display rules are written by whoever wrote the program, and a drainer can describe its program as harmless. The standard's own discussion leaves open who vouches for a description. Every description SignLens uses is reviewed, dated and tested against real mainnet transactions, and a program it has none for is blocked, not guessed at.
- Describing is not judging
- A display rule says what an instruction is called and how to show its fields. It does not say that this transaction hands your token account to a stranger, approves an unlimited amount, never expires, pays a swap's output to someone else, or sends to an address that imitates one you know. Those findings, and the verdict they add up to, come from a model of what a transaction does to the signer, which is most of the engine.
- One language for each program
- A display rule holds one text for each instruction and each field, in the language its authors wrote it in, and the standard has no place for a translation. When the question came up in its discussion, the answer proposed was to leave translation out of scope. SignLens words every explanation itself, so a sentence is translated once and reviewed, whatever program it describes: in English and in Simplified Chinese today, which a native speaker reviewed, with more languages planned.
- It has to be kept up
- Routers are upgraded without notice and new programs take over traffic within weeks. SignLens measures what share of ordinary users' transactions it fully explains on dated samples of mainnet, publishes the result with the sample's signatures, and works through what is left.
The two fit together: a standard for how descriptions are written, and a reviewed, tested library of them with the checks on top. The three measured on the same transactions, and how SignLens compares with wallet previews.
What is open, and what is not
The extension is open source under the Apache 2.0 licence (its repository), and each release is built reproducibly, so anyone can check what it sends and that it passes a request on unchanged. The engine and its library of program descriptions are SignLens's own work and are not public: they are what the API serves and what a wallet licenses.
Talk to us
Write to contact@signlens.dev about higher limits, running the engine inside your wallet, a program you need explained, or a language.