Create a transaction that updates Kaia account keys. You can find Kaia account key types in Kaia Docs.
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": "0xAE221779273867b9b9a17fF128D8a326622C8D8a",
- "accountKey": {
- "keyType": 1
}, - "nonce": 0,
- "gas": 0,
- "submit": true,
- "feeRatio": 20
}
{- "accountKey": "0x01c0",
- "feePayer": "0x1b71a63903e35371e2fc41c6012effb99b9a2c0f",
- "feeRatio": 20,
- "from": "0xae221779273867b9b9a17ff128d8a326622c8d8a",
- "gas": 1000000,
- "gasPrice": "0x5d21dba00",
- "nonce": 1,
- "rlp": "0x22f8cb018505d21dba00830f424094ae221779273867b9b9a17ff128d8a326622c8d8a8201c014f847f8458207f5a06ad279d2a05be1a7ce41f35a55dfcec45141c61ad93c6dca05c6a3784ea53b67a07526be70ca495bb7cc956107900796e6a97886821bfe08dae67e96c114137492941b71a63903e35371e2fc41c6012effb99b9a2c0ff847f8458207f6a05fda6b47a6528a7e87c4b4d0d6811dd762ad8a8e27f52edba853ea997632e04da056d3aa6842f765c53be30b81e78e410759d5bbcd88ccfaab12b578cf9ea66326",
- "signatures": [
- {
- "R": "0x6ad279d2a05be1a7ce41f35a55dfcec45141c61ad93c6dca05c6a3784ea53b67",
- "S": "0x7526be70ca495bb7cc956107900796e6a97886821bfe08dae67e96c114137492",
- "V": "0x7f5"
}
], - "status": "Submitted",
- "transactionHash": "0x13ebee0f1a957e8fbeacf02206918f849fccfad39dde53bd91fc992b64f8cdb0",
- "typeInt": 34
}