TransactionUNKNOWN

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

Transaction ID

Timestamp

Mar 30, 2024, 01:31:07 AM UTC
1y ago

Block Height

75,066,986

Computation

0

Proposerseq:460493 key:0

Authorizers

1

Transaction Summary

UpdatingTransaction

Script Arguments

Copy:
0publicKeys[Crypto.KeyListEntry]
[
  {
    "keyIndex": "1000",
    "publicKey": {
      "publicKey": [
        "2",
        "138",
        "134",
        "68",
        "16",
        "21",
        "180",
        "139",
        "219",
        "114",
        "145",
        "184",
        "179",
        "55",
        "54",
        "101",
        "42",
        "186",
        "204",
        "35",
        "184",
        "156",
        "193",
        "0",
        "14",
        "100",
        "168",
        "67",
        "129",
        "217",
        "58",
        "27",
        "126",
        "110",
        "38",
        "0",
        "170",
        "140",
        "60",
        "54",
        "158",
        "55",
        "114",
        "143",
        "69",
        "184",
        "78",
        "192",
        "34",
        "50",
        "14",
        "70",
        "58",
        "237",
        "99",
        "174",
        "49",
        "116",
        "37",
        "149",
        "15",
        "161",
        "219",
        "193"
      ],
      "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}