TransactionSEALED

░?#▫◇■■◇^$@◇╳$■&◆▓~▒░*░?@▓╲*!@~■○▫@*◆○~!%■◇%╱□█!^▒□@▫█*◆●▒^╲■○●●

Transaction ID

Timestamp

Dec 16, 2025, 03:03:57 AM UTC
2mo ago

Block Height

136,156,145

Computation

0

Execution Error

Error Code: 1118

error caused by: 1 error occurred:

Raw Error

[Error Code: 1118] error caused by: 1 error occurred: * [Error Code: 1118] payer 021d6625f303abbe has insufficient balance to attempt transaction execution (required balance: 0.00100000)

Transaction Summary

Transaction

Script Arguments

0keyString
e8de8b1a1075516b702670ffda0f138e76a9d5321a9f82022052dcdd3d60b820a0d67f2e27893db1a7836bf74c5068ba760feaa636d8022a9a24fcf622f670f9
1signatureAlgorithmUInt8
1
2hashAlgorithmUInt8
3
3weightUFix64
1000.00000000

Cadence Script

1import Crypto
2
3transaction(key: String, signatureAlgorithm: UInt8, hashAlgorithm: UInt8, weight: UFix64) {
4	prepare(signer: auth(BorrowValue, Storage) &Account) {
5		pre {
6			signatureAlgorithm >= 1 && signatureAlgorithm <= 3: "Must provide a signature algorithm raw value that is 1, 2, or 3"
7			hashAlgorithm >= 1 && hashAlgorithm <= 6: "Must provide a hash algorithm raw value that is between 1 and 6"
8			weight <= 1000.0: "The key weight must be between 0 and 1000"
9		}
10
11		let publicKey = PublicKey(
12			publicKey: key.decodeHex(),
13			signatureAlgorithm: SignatureAlgorithm(rawValue: signatureAlgorithm)!
14		)
15
16		let account = Account(payer: signer)
17
18		account.keys.add(publicKey: publicKey, hashAlgorithm: HashAlgorithm(rawValue: hashAlgorithm)!, weight: weight)
19	}
20}