Skip to content

core

Synapse Core - Main Entry Point

import * as core from '@filoz/synapse-core'
NamespaceDescription
paginate-
resolvePagination-
Type AliasDescription
ActionCallChainAction call chain options
ActionSyncCallbackAction sync callback options
ActionSyncOutputAction sync output type
PageOne bounded page of items and its opaque continuation cursor.
PageWithTotalA page that also reports the collection’s total size.
PaginatedActionCallOptionsConvert normalized action pagination into required contract-facing call arguments.
PaginationOptionsOptions shared by actions that return one bounded page.
FunctionDescription
pageFromLookaheadConvert a contract response fetched with limit + 1 into a bounded page.
paginateIterate over every item returned by a cursor-paginated action.
resolvePaginationValidate and resolve pagination options for an action.

Re-exports abis


Re-exports auction


Re-exports chains


Re-exports DataSetInfo


Re-exports datasetMetadataObjectToEntry


Re-exports endorsements


Re-exports erc20


Re-exports errors


Re-exports METADATA_LIMITS


Re-exports MetadataArray


Re-exports metadataArrayToObject


Re-exports MetadataDataSetInternal


Re-exports MetadataEntry


Re-exports MetadataObject


Re-exports MetadataPieceInternal


Re-exports pay


Re-exports PdpDataSet


Re-exports PdpDataSetInfo


Re-exports piece


Re-exports Piece


Re-exports pieceMetadataObjectToEntry


Re-exports PieceWithMetadata


Renames and re-exports session-key


Re-exports sp


Renames and re-exports sp-registry


Renames and re-exports typed-data


Re-exports usdfc


Re-exports utils


Renames and re-exports warm-storage