Key UpdateSEALED
#●#░█▓█○?█%█▪@░▫○!▪■○○^□^■▫█░#□!▫▫@█■▫&█#*■▪??●╱▓?#@▓~■╱~$╲^◆■▒#
Transaction ID
Execution Fee
0.00062 FLOWTransaction Summary
Key UpdateUpdated account key
Script Arguments
0publicKeyString
bd14197829aa002950dd4592a60ad6802215e551116ec39c83e325f9bad4133af543b08907f3dde465c2be356c200e8f628d13529b06822a4a923252df18dcf0
1signatureAlgorithmUInt8
1
2hashAlgorithmUInt8
1
3weightUFix64
500.0
Cadence Script
1// Flow Wallet - mainnet Script addKey - v2.72
2// Android - r3.0.10 - 400000400
3
4import Crypto
5
6transaction(publicKey: String, signatureAlgorithm: UInt8, hashAlgorithm: UInt8, weight: UFix64) {
7 prepare(signer: auth(Keys) &Account) {
8 let key = PublicKey(
9 publicKey: publicKey.decodeHex(),
10 signatureAlgorithm: SignatureAlgorithm(rawValue: signatureAlgorithm)!
11 )
12
13 signer.keys.add(
14 publicKey: key,
15 hashAlgorithm: HashAlgorithm(rawValue: hashAlgorithm)!,
16 weight: weight
17 )
18 }
19}