Skip to main content

Function: buckspayFacilitator()

buckspayFacilitator(opts, deps?): Relayer
Defined in: packages/relayer/src/buckspay-facilitator/facilitator.ts:47 Build a Relayer that talks to the buckspay facilitator. A thin, stateless, injectable HTTP client: every response is zod-validated against the README §4.3 shapes before return, and HTTP/facilitator errors map to typed BuckspayErrors.

Parameters

opts

FacilitatorOptions

deps?

Deps = {}

Returns

Relayer