Skip to content

core

Synapse Core - Main Entry Point

import * as core from '@filoz/synapse-core'
Namespace Description
paginate -
resolvePagination -
Type Alias Description
AccountClient Wallet/account client for write actions.
ActionCallChain Action call chain options
ActionSyncCallback Action sync callback options
ActionSyncOutput Action sync output type
Extended -
Page One bounded page of items and its opaque continuation cursor.
PageWithTotal A page that also reports the collection’s total size.
PaginatedActionCallOptions Convert normalized action pagination into required contract-facing call arguments.
PaginationOptions Options shared by actions that return one bounded page.
ReadClient -
SessionKeyClient -
Function Description
pageFromLookahead Convert a contract response fetched with limit + 1 into a bounded page.
paginate Iterate over every item returned by a cursor-paginated action.
resolvePagination Validate 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


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