filecoin-pin
    Preparing search index...

    Interface ReadOnlyConfig

    Read-only mode using an address (cannot sign transactions)

    interface ReadOnlyConfig {
        chain?: FilecoinChain;
        dataSetMetadata?: Record<string, string>;
        readOnly: true;
        requiredPermissions?: Permission[];
        rpcUrl?: string;
        walletAddress: `0x${string}`;
        withCDN?: boolean;
    }

    Hierarchy

    • BaseSynapseConfig
      • ReadOnlyConfig
    Index
    chain?: FilecoinChain

    Target chain. Defaults to mainnet.

    dataSetMetadata?: Record<string, string>

    Default metadata to apply when creating datasets

    readOnly: true
    requiredPermissions?: Permission[]

    Session-key mode only: the permissions this command needs. Before doing any work, we check the session key's on-chain grants cover these. If one is missing, the command stops immediately with instructions for getting it granted (console link), rather than failing later mid-transaction. Leave unset for read-only commands — they need no permissions.

    rpcUrl?: string

    RPC endpoint for the target Filecoin network. Defaults to mainnet chain transport.

    walletAddress: `0x${string}`
    withCDN?: boolean

    Enable CDN service for datasets