Creates a Kaia account. It generates a Kaia account address and random private/public key pair, and returns public key and private key ID.
The request is successful.
curl -i -X POST \ -u <username>:<password> \ https://wallet-api.klaytnapi.com/v2/account \ -H 'x-chain-id: string'
{- "address": "0xa809284C83b901eD106Aba4Ccda14628Af128e14",
- "chainId": 1001,
- "createdAt": 1599187293,
- "keyId": "krn:1001:wallet:68ec0e4b-0f61-4e6f-ae35-be865ab23187:account-pool:default:0x4cbbcb974e32a7960e1b356edf60087613101919ed83199f12e872cba068a50f",
- "krn": "krn:1001:wallet:68ec0e4b-0f61-4e6f-ae35-be865ab23187:account-pool:default",
- "publicKey": "0x04cdccfb99b2905561e3dd886687b429a004718f11b04914f17ce68fd3a0db46c598a45da85caa61fe84cb78a0f2eaa9983ec7b8805a93ef9428eb1350a8558237",
- "updatedAt": 1599187293
}