Creates a transaction that updates Kaia account keys. You can find Kaia account key types in Accounts.
If you update the account to Legacy key type (1), you can start using your account once it is enabled. If you update the account to Public key type (2), the account cannot be used within the wallet. To restore your account, use Global Fee Delegation RLP API, or update to legacy externally and before enabling the account. If you update the key to Fail key type (3), the account will automatically be disabled.
The request is successful.
The request is not valid.
{- "from": "0xEF849f1e6589Fe8054651719083fa6BDa01CfBdF",
- "accountKey": {
- "keyType": 2,
- "key": "0x0404037e014e98d15905d404c06742f78df441c962e4ec58f39b0300b99b411c863e18f9b50f53d3750a6048d09ed7a573290da8f7fdb797f436217093cc33a3ec"
}, - "nonce": 0,
- "gas": 0,
- "submit": true
}
{- "accountKey": "0x02a10204037e014e98d15905d404c06742f78df441c962e4ec58f39b0300b99b411c86",
- "from": "0xef849f1e6589fe8054651719083fa6bda01cfbdf",
- "gas": 1000000,
- "gasPrice": "0x5d21dba00",
- "nonce": 0,
- "rlp": "0x20f88d808505d21dba00830f424094ef849f1e6589fe8054651719083fa6bda01cfbdfa302a10204037e014e98d15905d404c06742f78df441c962e4ec58f39b0300b99b411c86f847f8458207f6a066791442005f18f99eacc6868f7b6d7c390270ab55d4b6606db5fa85ddfca375a04f1e2e3e6d59dc7a8dbe4bbf56781ea7ebe939b2e78e5de3e4b5872d0382e057",
- "signatures": [
- {
- "R": "0x66791442005f18f99eacc6868f7b6d7c390270ab55d4b6606db5fa85ddfca375",
- "S": "0x4f1e2e3e6d59dc7a8dbe4bbf56781ea7ebe939b2e78e5de3e4b5872d0382e057",
- "V": "0x7f6"
}
], - "status": "Submitted",
- "transactionHash": "0xa3a0aa193714b2eb6078fd7e80b2883e994b78c30dbcaef7d22596fb6bba52c1",
- "typeInt": 32
}