C-address (contract ID) of the deployed OnboardingBridge Soroban contract.
Must start with C and be a valid Stellar contract address.
OptionalhooksOptional observability hooks for instrumenting SDK method calls and RPC round-trips. Supply any subset of the four callbacks to integrate with your metrics, logging, or tracing infrastructure.
Two ready-made implementations are provided:
Network passphrase matching the RPC node.
Use Networks.PUBLIC for mainnet and Networks.TESTNET for testnet.
Mismatched passphrases cause all transactions to be rejected.
OptionalretryOptional retry configuration for automatic exponential-backoff retries on transient RPC failures (network errors, timeouts, rate limits, 502/503/504).
Read-only calls (simulation, getAccount, etc.) use up to maxRetries
attempts. State-changing calls (sendTransaction) use at most 1 retry to
avoid double-submission.
Omit to use the defaults (3 retries for reads). Set maxRetries: 0 to
disable automatic retries entirely.
Soroban-compatible RPC endpoint URL.
OptionaltimeoutOptional timeout in seconds for Soroban operations (simulation and send). Defaults to 30 seconds when omitted.
Configuration object passed to the OnboardingBridgeSDK constructor.
Example