sign_transaction
Sign EVM, SOL, SUI, or other blockchain transactions with a TEE-stored key. Provide keyCode and unsigned tx; optionally supply an address to skip HD derivation.
Instructions
Sign a blockchain transaction using a TEE-stored key. Supports EVM (RLP hex), SOL (base58/base64/hex), SUI, and other chains. keyCode is always required. Optionally provide address to skip HD derivation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | Yes | Unsigned transaction. EVM: 0x-prefixed RLP hex. SOL: base58/base64/hex encoded tx. | |
| path | No | BIP44 path (default: m/44'/60'/0'/0/0 for EVM). Only used with keyCode. | |
| chain | No | Transaction category. Only EVM and SOL supported. Required for mnemonic keys. Omit for private/secret key types. | |
| address | No | Specific address to sign with — optional, skips HD derivation when provided | |
| chainId | No | EVM chain ID (e.g. 1=Ethereum, 56=BSC, 137=Polygon, 42161=Arbitrum). Required for EVM. | |
| keyCode | Yes | Key code (required) | |
| encoding | No | SOL transaction encoding (default: base58) |