8. Signing Transactions
Review and approve what a dApp asks of the Amadeus Wallet extension, including transaction signatures, API keys, network switches and account switches.
Overview
Websites (dApps) talk to the extension through the window.amadeus provider that it injects into every page. Reading your active address needs no approval. These four requests open an approval screen, where you choose Reject or approve:
| Screen | What the site asks for |
|---|---|
| Sign Transaction | Your signature on a contract call, for example a Coin transfer |
| Generate API Key | A signed API key that proves to the site's backend that you control the address |
| Switch Network | Moving the wallet to Mainnet or Testnet |
| Switch Account | Making another of your accounts the active one |
Connecting to a site
When a site asks for your account and the wallet is unlocked, the extension gives it the active account's address right away. There is no separate connect prompt. If the wallet is locked, the unlock screen opens first, and the site gets the address after you unlock. The site waits up to 30 seconds for this.
Any site you visit while the wallet is unlocked can read the active address. It cannot move funds, sign anything or switch your account or network without an approval screen.
Where approval screens appear
The wallet opens the approval screen by itself. You don't need to click the toolbar icon.
- If the wallet is already open in the same browser window as the site (side panel or popup), the request appears there and the window is brought to the front.
- Otherwise the request opens in a separate wallet window. If the wallet already opened such a window earlier, it reuses that window.
- If the wallet is locked, you see the unlock screen first. After you unlock, the request appears.
The Wallet Display Mode in Preferences decides what happens when you click the toolbar icon. It does not change where dApp requests appear. See Preferences.
The site shown on every approval screen comes from the browser, not from the page. A page can't pretend to be another site.
Queued requests
Sites can send several requests at once. The wallet queues them and shows one at a time. After you answer one, the next appears in this order: signatures, then API keys, then network switches, then account switches. Among several signature requests, the newest is shown first.
When the queue is empty, the side panel goes back to the dashboard and a popup or wallet window closes.
The badge on the toolbar icon shows how many signature and API key requests are waiting.
Requests don't wait forever:
- Signature, API key and account-switch requests expire about 2 minutes after the site sends them. The wallet removes them and tells the site the request expired.
- Closing or reloading the tab that sent a request removes its pending signature, API key and account-switch requests.
- A site can cancel its own pending signature, API key and account-switch requests.
- Network switch requests don't expire in the wallet. The site stops waiting after 30 seconds, but approving the request later still switches the network.
- When the wallet auto-locks, it rejects every waiting request of every kind and tells each site that the wallet locked.
Sign Transaction
The Sign Transaction screen shows:
- a badge with the current network: Mainnet, Testnet or Custom
- Origin: the site's hostname and full origin
- Description: shown only if the site provided one. The site writes this text and the wallet does not check it.
- Transaction Details:
- Contract: for example
Coin - Method: for example
transfer - Arguments: the call arguments as JSON. Binary values are shown as a byte summary.
- Requested at: when the site sent the request
- Network: the network the transaction will be signed for
- Contract: for example
- the warning "Only approve transactions from websites you trust. Make sure you understand what this transaction will do."

Review it
- Origin. Is this the site you meant to use? Check the full origin for look-alike domains.
- Contract and Method. Trust these over the description. A
Cointransfersends tokens. - Arguments. For
Cointransferthe arguments are[recipient, amount, symbol]. The amount is in atomic units. AMA has 9 decimals, so1000000000means 1 AMA. - Network. Make sure it is the network you expect.
If anything looks wrong, or you didn't start this action, click Reject.
Approve it
- Click Sign.
- The Signing Transaction screen appears for a moment.
- The Transaction Signed! screen says "Your transaction has been signed and returned to" the site. It shows the Contract, Method, Origin, Description (if any) and the full Transaction Hash with a copy icon.

The extension signs the transaction and hands it back to the site. The site submits it to the network. The View in Explorer link uses the current network's explorer. It only finds the transaction after the site has submitted it.
If the wallet locks itself (auto-lock) while the request is open, the wallet shows the unlock screen and rejects the request, so the site is told the wallet locked. After you unlock, repeat the action on the site.
Signatures are bound to a network
The wallet signs for the active network. Testnet uses its own signing domain. Mainnet and Custom RPC use the Mainnet one. A transaction signed on Testnet can't be replayed on Mainnet, and the other way round.
Reject it
Click Reject. Nothing is signed, and the site receives the error "User rejected the request".
Generate API Key
Some sites ask for an API key, a token signed with your account that their backend can verify. The Generate API Key screen shows:
- the current network badge
- Origin
- API Key Details:
- Audience: who the key is for, as set by the site
- Expires in: how long the key stays valid, for example
1dor2h 0m
- the warning "This will sign an API key with your wallet. Only approve requests from websites you trust."
Click Approve to sign the key. The API Key Generated! screen confirms that the key was returned to the site. If the same tab asks again before you answer, the new request replaces the old one.
For developers, the key format and server-side checks are covered in Signing and API keys.
Switch Network
A site can ask the wallet to move to Mainnet or Testnet. Sites can't request a Custom RPC. If the wallet is already on the requested network, the site gets an answer right away and you see no prompt.
The Switch Network screen shows the requested network as a badge, the Origin, and "This site is requesting to switch your wallet to a different network." with the Requested Network. Click Switch to approve or Reject to stay where you are.
Approving changes the network for the whole wallet. Every open site is told that the network changed. See Network settings.
Switch Account
A site can ask you to make a different account active. This never happens silently.
The Switch Account screen shows the Origin and a list under Choose the account to make active:
- Every account in your wallet is listed. The active one is marked "· current".
- If the site named one of your accounts, that account is selected and tagged "Requested by" the site.
- You can pick any of your accounts, not only the one the site asked for.
- Switch is disabled while the active account is selected ("This account is already active.").
Click Switch to make the chosen account active, or Reject. The site only learns the account you choose. It never sees the list of your accounts. After the switch, every connected site sees the new active account and sends its future signature and API key requests to it.
If the site asks for the account that is already active, it gets an answer right away and you see no prompt.
Errors
| What you see | What it means | What to do |
|---|---|---|
Request Failed with REQUEST_NOT_FOUND | The request expired, was cancelled by the site, or was already answered | Close it and repeat the action on the site |
| Transaction Failed alert on the review screen | Signing failed, or the request expired while the screen was open. Either way the request is gone. | Reject or close it, then repeat the action on the site |
| Unlock screen instead of the request | The wallet was locked | Unlock. A request the site sent while the wallet was locked opens after you unlock. If the wallet auto-locked while the request was waiting, the request is gone: repeat the action on the site. |
For developers
The developer side of these requests is covered in the Integration guide and in the Wallet SDK docs: Connect a dApp and the Provider reference.
Troubleshooting
No approval screen appears
- Look for a separate wallet window that may have opened behind your other windows.
- Check the badge on the toolbar icon. A number means requests are waiting. Click the icon to open the wallet, and it shows the waiting request.
- Make sure the extension is enabled and up to date. Approval prompts became reliable in version 1.6.2. Get the latest version from the Chrome Web Store.
- Reload the site and try again.
The details look wrong
Reject the request. Check that you are on the real site, and contact the site's team.