Polkadot Apps
    Preparing search index...
    • Upload data to the Bulletin Chain.

      When a signer is provided, submits a TransactionStorage.store transaction directly. When omitted, the upload strategy is auto-resolved:

      • Inside a host container (Polkadot Desktop / Mobile): uses the host preimage API — the host signs and submits automatically.
      • Standalone: uses Alice's dev signer (pre-funded on test chains).

      Computes the CIDv1 (blake2b-256, raw codec) locally in both cases.

      Parameters

      • api: BulletinApi

        Typed Bulletin Chain API.

      • data: Uint8Array

        Raw bytes to store.

      • Optionalsigner: PolkadotSigner

        Optional signer. When omitted, auto-resolved.

      • Optionaloptions: UploadOptions

        Upload options (gateway, timeout, waitFor, status callback).

      Returns Promise<UploadResult>

      Upload result with CID and either blockHash or preimageKey.