Polkadot Apps
    Preparing search index...
    UploadResult:
        | UploadResultBase & { blockHash: string; kind: "transaction" }
        | UploadResultBase & { kind: "preimage"; preimageKey: string }

    Result of a successful upload to the Bulletin Chain.

    Discriminated on kind:

    • "transaction" — uploaded via a signed TransactionStorage.store extrinsic.
    • "preimage" — uploaded via the host preimage API (no user signing).

    Use result.kind to narrow the type and access path-specific fields.

    Type Declaration

    • UploadResultBase & { blockHash: string; kind: "transaction" }
      • blockHash: string

        Block hash where the store transaction was included.

      • kind: "transaction"

        Upload was performed via a signed transaction.

    • UploadResultBase & { kind: "preimage"; preimageKey: string }
      • kind: "preimage"

        Upload was performed via the host preimage API.

      • preimageKey: string

        Hex key returned by the host preimage API.