Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DATASTRUCTURES 06 / solana v0 message account privilege address lookup compilation

Compile anonymous Solana v0 instructions into static/lookup account indices and signer privileges.

POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-06/solana-v0-message-account-privilege-address-lookup-compilation

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "solana"
      ],
      "properties": {
        "solana": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "instructions",
                "lookup_tables",
                "payer",
                "recent_blockhash"
              ],
              "properties": {
                "instructions": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "accounts",
                      "data_hex",
                      "program"
                    ],
                    "properties": {
                      "accounts": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "key",
                            "signer",
                            "writable"
                          ],
                          "properties": {
                            "key": {
                              "type": "string",
                              "maxLength": 20000
                            },
                            "signer": {
                              "type": "boolean"
                            },
                            "writable": {
                              "type": "boolean"
                            }
                          }
                        },
                        "maxItems": 512
                      },
                      "data_hex": {
                        "type": "string",
                        "maxLength": 20000
                      },
                      "program": {
                        "type": "string",
                        "maxLength": 20000
                      }
                    }
                  },
                  "maxItems": 512
                },
                "lookup_tables": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "addresses",
                      "key"
                    ],
                    "properties": {
                      "addresses": {
                        "$ref": "#/properties/artifact/%24defs/s0"
                      },
                      "key": {
                        "type": "string",
                        "maxLength": 20000
                      }
                    }
                  },
                  "maxItems": 512
                },
                "payer": {
                  "type": "string",
                  "maxLength": 20000
                },
                "recent_blockhash": {
                  "type": "string",
                  "maxLength": 20000
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "header",
                    "instructions",
                    "lookups",
                    "message_bytes",
                    "message_sha256",
                    "readonly_loaded",
                    "static_keys",
                    "writable_loaded"
                  ],
                  "properties": {
                    "header": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "readonly_signed",
                        "readonly_unsigned",
                        "required_signatures"
                      ],
                      "properties": {
                        "readonly_signed": {
                          "type": "number"
                        },
                        "readonly_unsigned": {
                          "type": "number"
                        },
                        "required_signatures": {
                          "type": "number"
                        }
                      }
                    },
                    "instructions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "account_indices",
                          "data_bytes",
                          "program_index"
                        ],
                        "properties": {
                          "account_indices": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "maxItems": 512
                          },
                          "data_bytes": {
                            "type": "number"
                          },
                          "program_index": {
                            "type": "number"
                          }
                        }
                      },
                      "maxItems": 512
                    },
                    "lookups": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "key",
                          "readonly",
                          "writable"
                        ],
                        "properties": {
                          "key": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "readonly": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "maxItems": 512
                          },
                          "writable": {
                            "type": "array",
                            "items": {
                              "type": "number"
                            },
                            "maxItems": 512
                          }
                        }
                      },
                      "maxItems": 512
                    },
                    "message_bytes": {
                      "type": "number"
                    },
                    "message_sha256": {
                      "type": "string",
                      "maxLength": 20000
                    },
                    "readonly_loaded": {
                      "$ref": "#/properties/artifact/%24defs/s0"
                    },
                    "static_keys": {
                      "$ref": "#/properties/artifact/%24defs/s0"
                    },
                    "writable_loaded": {
                      "$ref": "#/properties/artifact/%24defs/s0"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "$defs": {
        "s0": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 20000
          },
          "maxItems": 512
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →