SynapseOptions
Defined in: packages/synapse-sdk/src/types.ts:91
Options for initializing the Synapse instance
Properties
Section titled “Properties”account
Section titled “account”account:
`0x${string}`|Account
Defined in: packages/synapse-sdk/src/types.ts:111
Viem account
chain?
Section titled “chain?”
optionalchain?:Chain
Defined in: packages/synapse-sdk/src/types.ts:103
Filecoin chain
sessionKey?
Section titled “sessionKey?”
optionalsessionKey?:SessionKey<"Secp256k1">
Defined in: packages/synapse-sdk/src/types.ts:113
source
Section titled “source”source:
string|null
Defined in: packages/synapse-sdk/src/types.ts:123
Application identifier for namespace isolation. When set to a non-empty string, datasets
are tagged with this value and only datasets with a matching source are reused. Set to
null to explicitly opt out.
transport?
Section titled “transport?”
optionaltransport?:Transport
Defined in: packages/synapse-sdk/src/types.ts:97
Viem transport
https://viem.sh/docs/clients/intro#transports
withCDN?
Section titled “withCDN?”
optionalwithCDN?:boolean
Defined in: packages/synapse-sdk/src/types.ts:116
Whether to use CDN for retrievals (default: false)