Sign Transaction
Sign an unsigned transaction using the appropriate protocol adapter (EVM, Solana, etc.). The signing is performed securely within the TEE.
Request
Chain identifier (e.g., eip155:1)
Unsigned transaction in hex format
BIP-44 coin type (60 for ETH, 501 for SOL)
Account index for key derivation
Additional signing metadata
Response
Transaction signature in hex format
Message digest that was signed
Signing algorithm used (e.g., secp256k1)
Example
curl -X POST https://api.axonvault.io/v1/signature/sign \
-H "X-Access-Key: ak_live_abc123" \
-H "X-Signature: 5d41402abc4b2a76b9719d911017c592" \
-H "X-Timestamp: 2024-01-15T10:30:00Z" \
-H "Content-Type: application/json" \
-d '{
"chainReference": "eip155:1",
"unsignedTxHex": "0xf86c0a8502540be400825208...",
"keyId": "key_xyz789",
"coinType": 60,
"accountIndex": 0
}'
Response Example
{
"signature": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef1c",
"digest": "0xabc123def456789...",
"algorithm": "secp256k1"
}
Supported Chains
| Chain Type | Coin Type | Algorithm |
|---|
| EVM (Ethereum, Base, etc.) | 60 | secp256k1 |
| Solana | 501 | ed25519 |
| Bitcoin | 0 | secp256k1 |
Errors
| Error Type | Status | Description |
|---|
invalid_request | 400 | Missing required fields |
key_not_found | 404 | Key ID not found |
signing_failed | 500 | Signing operation failed |
policy_denied | 403 | Signing blocked by policy |
Security
All signing operations are performed within the Trusted Execution Environment (TEE). Private keys never leave the secure enclave.