Skip to main content

Interface: JsonFeedOptions

Hierarchy

Properties

address

Optional address: string | Uint8Array | EthAddress

Valid only for get action, where either this address or signer has to be specified.

Defined in

bee-js/src/types/index.ts:419


fetch

Optional fetch: Fetch

User defined Fetch compatible function

Inherited from

RequestOptions.fetch

Defined in

bee-js/src/types/index.ts:128


retry

Optional retry: number

Configure backoff mechanism for requests retries. Specifies how many retries will be performed before failing a request. Retries are performed for GET, PUT, HEAD, DELETE, OPTIONS and TRACE requests. Default is 2.

Inherited from

RequestOptions.retry

Defined in

bee-js/src/types/index.ts:123


signer

Optional signer: string | Uint8Array | Signer

Custom Signer object or private key in either binary or hex form. This required for set action, and optional for get although if not specified for get then address option has to be specified.

Defined in

bee-js/src/types/index.ts:426


timeout

Optional timeout: number

Timeout of requests in milliseconds

Inherited from

RequestOptions.timeout

Defined in

bee-js/src/types/index.ts:115


type

Optional type: "sequence" | "epoch"

Defined in

bee-js/src/types/index.ts:427