Interface: BeeOptions
Defined in: bee-js/src/types/index.ts:68
Options for the Bee client which affect all method calls (unless overridden in the method call itself).
Extends BeeRequestOptions, which allows configuring the HTTP client behavior,
such as timeout, additional headers, custom httpAgent, etc.
Extends
Properties
baseURL?
optionalbaseURL:string
Defined in: bee-js/src/types/index.ts:52
Inherited from
BeeRequestOptions.baseURL
endlesslyRetry?
optionalendlesslyRetry:boolean
Defined in: bee-js/src/types/index.ts:58
Inherited from
BeeRequestOptions.endlesslyRetry
headers?
optionalheaders:Record<string,string>
Defined in: bee-js/src/types/index.ts:54
Inherited from
BeeRequestOptions.headers
httpAgent?
optionalhttpAgent:unknown
Defined in: bee-js/src/types/index.ts:56
Inherited from
BeeRequestOptions.httpAgent
httpsAgent?
optionalhttpsAgent:unknown
Defined in: bee-js/src/types/index.ts:57
Inherited from
BeeRequestOptions.httpsAgent
network?
optionalnetwork:"gnosis"|"sepolia"
Defined in: bee-js/src/types/index.ts:87
Network on which the Bee node is running.
This is currently used to determine block time for postage batch time-to-live (TTL) calculations.
The block time for gnosis is 5 seconds, and for sepolia it is 15 seconds.
Default value is gnosis.
onRequest()?
optionalonRequest: (request) =>void
Defined in: bee-js/src/types/index.ts:55
Parameters
request
Returns
void
Inherited from
BeeRequestOptions.onRequest
signal?
optionalsignal:AbortSignal
Defined in: bee-js/src/types/index.ts:59
Inherited from
BeeRequestOptions.signal
signer?
optionalsigner:string|Uint8Array<ArrayBufferLike> |PrivateKey
Defined in: bee-js/src/types/index.ts:77
Default signer (a private key) used for signing.
Mainly used in single-owner chunk (SOC) related operations, and consequently in feeds.
If not provided, methods such as makeFeedWriter and makeSOCWriter
must be provided with a private key in their respective function calls.
timeout?
optionaltimeout:number
Defined in: bee-js/src/types/index.ts:53
Inherited from
BeeRequestOptions.timeout