post https://api.uniblock.dev/uni/v1/json-rpc#56
Give a user control over an address by providing the private key.
Not recommended for use on Mainnet.
Description
Give a user control over an address by providing the private key that controls the address.
Signature:
avax.importKey({
username: string,
password:string,
privateKey:string
}) -> {address: string}
Request:
- Add
privateKey
tousername
's set of private keys.
Response:
address
is the addressusername
now controls with the private key. It will be in hex format.