TransactionUNKNOWN

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

Transaction ID

Timestamp

Mar 13, 2024, 09:48:44 PM UTC
2y ago

Block Height

73,953,725

Computation

0

Proposerseq:366288 key:0

Authorizers

1

Transaction Summary

UpdatingTransaction

Script Arguments

Copy:
0publicKeys[Crypto.KeyListEntry]
[
  {
    "keyIndex": "1000",
    "publicKey": {
      "publicKey": [
        "195",
        "96",
        "217",
        "27",
        "174",
        "43",
        "81",
        "67",
        "44",
        "198",
        "112",
        "31",
        "183",
        "224",
        "164",
        "254",
        "141",
        "196",
        "207",
        "140",
        "60",
        "217",
        "26",
        "184",
        "113",
        "128",
        "31",
        "76",
        "132",
        "32",
        "130",
        "242",
        "23",
        "96",
        "41",
        "117",
        "103",
        "96",
        "172",
        "239",
        "55",
        "9",
        "120",
        "210",
        "58",
        "78",
        "22",
        "140",
        "18",
        "215",
        "254",
        "34",
        "56",
        "179",
        "218",
        "187",
        "56",
        "179",
        "173",
        "140",
        "78",
        "75",
        "215",
        "174"
      ],
      "signatureAlgorithm": {
        "id": "SignatureAlgorithm",
        "fields": [
          {
            "name": "rawValue",
            "value": {
              "type": "UInt8",
              "value": "1"
            }
          }
        ]
      }
    },
    "hashAlgorithm": {
      "id": "HashAlgorithm",
      "fields": [
        {
          "name": "rawValue",
          "value": {
            "type": "UInt8",
            "value": "3"
          }
        }
      ]
    },
    "weight": "1000.00000000",
    "isRevoked": false
  }
]
1contracts{String: String}
{}

Cadence Script

1import Crypto
2
3transaction(publicKeys: [Crypto.KeyListEntry], contracts: {String: String}) {
4	prepare(signer: AuthAccount) {
5		let account = AuthAccount(payer: signer)
6
7		// add all the keys to the account
8		for key in publicKeys {
9			account.keys.add(publicKey: key.publicKey, hashAlgorithm: key.hashAlgorithm, weight: key.weight)
10		}
11		
12		// add contracts if provided
13		for contract in contracts.keys {
14			account.contracts.add(name: contract, code: contracts[contract]!.decodeHex())
15		}
16	}
17}