Skip to content

Fix transfers#114

Merged
alexex10 merged 9 commits into
starknetfrom
task/fix-transfers
Jun 22, 2026
Merged

Fix transfers#114
alexex10 merged 9 commits into
starknetfrom
task/fix-transfers

Conversation

@alexex10

@alexex10 alexex10 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Fix sub-accounts transfers settlement (+ example)
  • Add HexString type alias to explicitly mark hex string values
  • Mask x-api-key header value in logs
[2026-06-22 14:05:26,602 25134 8293851712 DEBUG] Sending GET https://api.starknet.sepolia.extended.exchange/api/v1/info/assets
[2026-06-22 14:05:28,088 25134 8293851712 DEBUG] Sending GET https://api.starknet.sepolia.extended.exchange/api/v1/user/accounts
[2026-06-22 14:05:29,187 25134 8293851712 DEBUG] Sending GET https://api.starknet.sepolia.extended.exchange/api/v1/user/balance
[2026-06-22 14:05:29,461 25134 8293851712 INFO] Transferring 5USDC from `Main account` to `Acc 2`
[2026-06-22 14:05:29,463 25134 8293851712 DEBUG] Sending POST https://api.starknet.sepolia.extended.exchange/api/v1/user/transfer/onchain, headers={<RequestHeader.ACCEPT: 'Accept'>: 'application/json', <RequestHeader.CONTENT_TYPE: 'Content-Type'>: 'application/json', <RequestHeader.USER_AGENT: 'User-Agent'>: 'X10PythonTradingClient/2.1.0', <RequestHeader.API_KEY: 'X-Api-Key'>: '***'}
[2026-06-22 14:05:29,752 25134 8293851712 INFO] Transfer: {
    "valid_signature": true,
    "id": 2068998806774517760,
    "hash_calculated": null,
    "stark_ex_representation": null
}

Comment thread examples/cases/account/get_orders_history_sorted.py
Comment thread pyproject.toml
Comment thread x10/utils/http.py
@alexex10 alexex10 marked this pull request as ready for review June 22, 2026 10:08
@alexex10 alexex10 merged commit eca914c into starknet Jun 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants