Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token generated from the Goldsky Dashboard. Pass as: Authorization: Bearer

Path Parameters

theme
string
required

The feed's theme, e.g. wallets.

dataset
string
required

The feed's dataset, e.g. balances or transfers.

name
string
required

The sync's name.

Minimum string length: 1

Body

application/json
address
string

Backfill only this watched wallet. Leave out to backfill every watched wallet. Not for a sync with a wallet_table.

Minimum string length: 1
updated_at_from
string<date-time>

A sync with a wallet_table only: backfill the wallets whose row was updated at or after this time.

updated_at_to
string<date-time>

A sync with a wallet_table only: backfill the wallets whose row was updated before this time.

Response

202 - application/json

Default Response

name
string
required
theme
string
required
dataset
string
required
chains
string[]
required

The chains the sync covers, by Goldsky chain slug.

backfill
boolean
required

Whether each wallet's history is backfilled when it is added, and an added chain's history for every wallet.

secret_name
string | null
required

The secret holding the destination database's credentials, or a webhook's auth headers.

created_at
string<date-time>
required
wallet_table
object | null
required

A table in the project's own Postgres that the sync reads its wallets from, in place of the wallets added through the API.