ThorchainProviderConfig
Defined in: protocol-swap2-thorchain/src/provider.ts:330
Explicit constructor configuration; no deployment environment is read.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”affiliate?
Section titled “affiliate?”
optionalaffiliate?:string
Defined in: protocol-swap2-thorchain/src/provider.ts:332
affiliateBps?
Section titled “affiliateBps?”
optionalaffiliateBps?:string
Defined in: protocol-swap2-thorchain/src/provider.ts:333
allowInsecureNodeUrl?
Section titled “allowInsecureNodeUrl?”
optionalallowInsecureNodeUrl?:boolean
Defined in: protocol-swap2-thorchain/src/provider.ts:349
Allow http: node URLs (local development only): the vault and router a swap pays come from them.
clientId?
Section titled “clientId?”
optionalclientId?:string
Defined in: protocol-swap2-thorchain/src/provider.ts:351
Optional gateway identification; defaults to a neutral module name.
confirmNodeUrl?
Section titled “confirmNodeUrl?”
optionalconfirmNodeUrl?:string|string[]
Defined in: protocol-swap2-thorchain/src/provider.ts:345
Nodes that confirm the source vault and router a quote names (scan 2026-10-27 modules, F15): another host must
report the same before a quote is used and again right before broadcast; a disagreeing or silent second source
refuses. Default: the other nodeUrl hosts, else the default public nodes. Name a node of another operator.
enabled?
Section titled “enabled?”
optionalenabled?:boolean
Defined in: protocol-swap2-thorchain/src/provider.ts:331
nodeUrl?
Section titled “nodeUrl?”
optionalnodeUrl?:string|string[]
Defined in: protocol-swap2-thorchain/src/provider.ts:339
THORNode base URL(s), tried in order; a comma-separated string is accepted for env-style configuration. Defaults to the documented public hosts. Quote + inbound snapshot always come from the same host.
tronSource?
Section titled “tronSource?”
optionaltronSource?:boolean
Defined in: protocol-swap2-thorchain/src/provider.ts:358
Opt-in Tron SOURCE execution: a native TRX send / TRC-20 transfer to the
inbound vault carrying the swap memo in raw_data.data. Ships dark: the
bound account MUST attach the memo on-chain (raw_data.data); a
memo-less send is unsettleable.
trustedRouters?
Section titled “trustedRouters?”
optionaltrustedRouters?:Readonly<Record<string, readonlystring[]>>
Defined in: protocol-swap2-thorchain/src/provider.ts:347
Routers to trust besides THORCHAIN_ROUTERS, per CAIP-2 chain (a router migration before a release).