Skip to main content

Interface: BridgeConfig

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / bridge / BridgeConfig

Interface: BridgeConfig

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:399

Bridge SDK configuration

Properties​

ethereumBridgeContract?​

optional ethereumBridgeContract?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:409

Ethereum bridge contract address (optional, defaults to mainnet)


ethereumPrivateKey?​

optional ethereumPrivateKey?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:413

Ethereum private key for inbound bridges (optional)


ethereumRpcUrl?​

optional ethereumRpcUrl?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:405

Ethereum RPC URL (optional, defaults to public endpoint)


galaChainApiBaseUrl?​

optional galaChainApiBaseUrl?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:403

GalaChain API base URL (optional, defaults to galaConnectBaseUrl)


galaConnectBaseUrl​

galaConnectBaseUrl: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:401

GalaConnect API base URL


pollInterval?​

optional pollInterval?: number

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:419

Status polling interval in milliseconds


pollTimeout?​

optional pollTimeout?: number

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:421

Status polling timeout in milliseconds


rateLimit?​

optional rateLimit?: number

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:417

Rate limit for API calls (requests per second)


solanaBridgeProgram?​

optional solanaBridgeProgram?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:411

Solana bridge program ID (optional, defaults to mainnet)


solanaPrivateKey?​

optional solanaPrivateKey?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:415

Solana private key (base58) for inbound bridges (optional)


solanaRpcUrl?​

optional solanaRpcUrl?: string

Defined in: packages/gala-core-sdk/dist/bridge.d.ts:407

Solana RPC URL (optional, defaults to public endpoint)