Connection Tests vs Wallet Imports in API Integrations
Design a minimal access check that validates configuration without silently fetching wallet history, reserving a large budget or starting an import.

Overview
When translating these concepts into an integration, keep the scope described by the wallet history api with the result. The examples in wallet transaction history and smart contract event logs show how the same distinction affects neighbouring data questions.
A connection test should answer whether the configured service can perform its intended access check. It should not surprise users by launching unrelated work or consuming an unbounded query budget.
Choose a minimal contract
Validate endpoint, expected identity and permission scope using a documented low-impact operation. State what the check does and does not establish. A successful access check does not prove every product, network or historical range is available. Keep authentication, capability discovery and wallet data retrieval as distinct steps.
Worked example: access succeeds, range unsupported
A backend validates its project and key successfully. A later historical query requests a range outside supported coverage. The connection remains valid, but that data request is unsupported. Reporting the original access check as proof of complete historical access would be misleading.
Test without hidden work
Assert that the connection check does not fetch wallets, start jobs, retry indefinitely or mutate customer records. Use bounded timeouts and safe errors. Record only non-secret identity and capability information needed by the caller. A failed check should leave the prior configuration reviewable rather than partially importing data.
A practical acceptance test
Observe every call made by a connection test and assert that only the declared minimal access operation occurs. Reject hidden wallet fetches, background imports and unbounded retries. A valid key with an unsupported later data range should produce a capability-specific failure without retroactively changing the meaning of the earlier successful access check.
Questions about the topic
Frequently asked questions
Does a valid key prove every capability is enabled?
No. Access and product permissions are separate checks.
Should a test connection start a wallet scan?
Only if that behaviour is explicitly requested and clearly defined.
Standards & technical documentation