Skip to content
Integra Agentic Connectors
API@integraledger/profile-facilitator

@integraledger/profile-facilitator

The exports of @integraledger/profile-facilitator.

Interfaces

ProfileFacilitatorConfig

Properties

PropertyTypeDescription
listenstring"host:port"
polkadot?object[]An RPC node that serves state_call and author_submitExtrinsic.
settleWaitMsnumberHow long /settle waits for inclusion before answering settlement_pending; default 30 000.
storeobjectPostgres, for deduplication only.
store.urlstring-
tron?object[]-

Type Aliases

SettleAnswer

SettleAnswer = { network: string; payer: string; success: true; transaction: string; } | { errorReason: string; network: string; success: false; transaction: string; }


VerifyAnswer

VerifyAnswer = { isValid: true; payer: string; } | { invalidReason: InvalidReason; isValid: false; payer?: string; }

Functions

serveProfileFacilitator()

serveProfileFacilitator(c): Promise<{ close: Promise<void>; }>

Parameters

Returns

Promise<{ close: Promise<void>; }>

Last updated on

On this page