Subkey
Activate pending subkey
Activate a pending subkey by providing a Starknet signature over pedersen(timestamp, eph_public_key).
post/account/keys/subkeys/activate
Request body
Example request
{
"account_id": "0x1234567890abcdef",
"name": "My Mobile Device",
"public_key": "0x3d9f2b2e5f50c1aade60ca540368cd7490160f41270c192c05729fe35b656a9",
"signature": [
"[\"0xr...\"",
"\"0xs...\"]"
],
"timestamp": 1706400000
}Response
OK
Example response
{
"encrypted_key": "0xabc..."
}