TransactionSEALED

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

Transaction ID

Timestamp

Dec 27, 2025, 09:30:55 AM UTC
2mo ago

Block Height

137,372,795

Computation

0

Proposerseq:0 key:0

Authorizers

1

Execution 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
f7c36387e24a72d275aa77a5f91142f2d438feacaac808496cdc5856af26276874bb6d1628d2c3698968906aaea1a6f81a80a6412c8537e47bb39e7c882a8c36
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}