wearenotabank Docs DE
Docs · Network calls
Docs

What the SDK sends over the network

Every third-party endpoint the SDK calls, for the integrator's privacy notice. Index: README.md. Where the SDK is configured: setup.md.

The SDK has no telemetry, no update check and no endpoint of ours. It makes no call the integrator did not point it at: the URL of every endpoint below comes from the configuration, and none has a default. Both SDKs make exactly these calls. In the Dart SDK they go through package:http, or through the integrator's own RpcTransport and FetchFunction where it passes them; in the second case the integrator's code is what sends them, and anything that code logs or forwards is the integrator's.

The network table

These are the endpoints that SDK-REQ-005 asks the documentation to name, and the third parties that receive data from the SDK, which COMP-REQ-005 asks for. The table is checked against the source of both SDKs by tools/test/integrator-docs.test.ts.

# Call To Made by When What the recipient receives
1 JSON-RPC reads: eth_call, eth_getCode, eth_getStorageAt, eth_getLogs, eth_blockNumber, eth_getBlockByNumber the RPC of each chain, as the integrator configured it (chains[chainId].rpc) every function that reads a chain each call to such a function the addresses read (the Safe, its owners through the Safe's views, our contracts, the tokens), call data, block ranges, and the caller's IP address
2 PUT {orderBook}/api/v1/app_data/{hash} CoW Protocol's order book of the chain, at the URL the integrator configured (chains[chainId].orderBook) uploadDocuments after a configuration is built for a chain; three requests for each chain the document: the Safe's address, the bridge module's address, the burn call data and its gas limit, the partner-fee recipients and rates, and the hash
3 POST {orderBook}/api/v1/orders CoW Protocol's order book of Ethereum, at the URL the integrator configured postBootstrapOrder once for each bootstrap order the order: sell and buy token, amounts, receiver, expiry, the Safe as from, the router-shaped signature and the document
4 GET {iris}/v2/messages/{sourceDomain}?transactionHash={hash} Circle's Iris attestation service, at the URL the integrator configured (iris); Circle's own is https://iris-api.circle.com, keyless status with transfers, findUnmintedBurns, buildMint only when the integrator asks for transfers or recovery the CCTP domain of the source chain and the burn's transaction hash
5 POST {iris}/v2/reattest/{nonce} the same Iris buildMint with reattest: true only for an expired message, on request the message's nonce, with no body

The SDK sends no transaction and signs nothing, so the RPC receives no eth_sendRawTransaction, eth_sendTransaction or signing request from it. It calls no bundler and no paymaster. It reads no order from the order book: whether an order was posted or filled is not reported by status. It reads no fee quote at run time; the defaults for maxFee and minBurn are fixed by the release record. Nothing is sent to Cube Algos UG (haftungsbeschränkt) or to any service it runs, and no such service exists.

The order book calls (2 and 3) and the Iris calls (4 and 5) are made only when the integrator's configuration holds the URL, and a call that needs one without it is refused with invalid-config and sends nothing. Recovery and transfer status can be left out of an app by leaving iris out. No upload means no orders (documents.md).

What to put in a privacy notice

The recipients of data from an integrator's use of the SDK are:

  1. the operator of each RPC endpoint the integrator configured, for each chain it reads;
  2. the operator of CoW Protocol's order book, for the documents and the bootstrap order;
  3. Circle, as operator of Iris, for the burns it is asked about;
  4. any bundler or paymaster the integrator uses for an op of its own, which the SDK does not call (limits.md, duties.md).

The data are the Safe's address and the contracts' and tokens' addresses, which are public on chain, together with what the network shows to a recipient of a request: the time and the caller's IP address. Which of the owner, the integrator or the host of the app is the controller of that data is the integrator's question. Cube Algos UG receives none of these calls (above). From that, the specification assumes that it processes nothing here, so the owners or the integrator, not the company, decide what their notice says. No lawyer has confirmed that assumption, and this page is not legal advice.

An error message of the SDK never repeats a URL (redactUrls), because an endpoint can carry its key in the path, so what an app logs from an SdkError holds none. A URL that the integrator passes with a key in its path is a secret of the integrator's, and the SDK refuses a URL that carries user info.