TransactionSEALED

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

Transaction ID

Timestamp

Sep 06, 2024, 05:09:44 AM UTC
1y ago

Block Height

86,129,063

Computation

0

Execution Fee

0.000001 FLOW

Proposerseq:512575 key:0

Authorizers

1

Transaction Summary

Transaction

Script Arguments

0publicKeys[Crypto.KeyListEntry]
[
  {
    "keyIndex": "1000",
    "publicKey": {
      "publicKey": [
        "135",
        "185",
        "168",
        "222",
        "255",
        "144",
        "37",
        "88",
        "145",
        "33",
        "170",
        "246",
        "99",
        "95",
        "151",
        "104",
        "143",
        "5",
        "255",
        "68",
        "24",
        "97",
        "156",
        "59",
        "42",
        "65",
        "65",
        "19",
        "146",
        "147",
        "112",
        "186",
        "201",
        "250",
        "71",
        "219",
        "165",
        "97",
        "192",
        "96",
        "211",
        "207",
        "253",
        "211",
        "216",
        "17",
        "73",
        "31",
        "210",
        "58",
        "63",
        "142",
        "176",
        "170",
        "18",
        "227",
        "247",
        "81",
        "103",
        "222",
        "153",
        "163",
        "229",
        "81"
      ],
      "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
{}

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}