Skip to content

Conversation

0xnook
Copy link
Contributor

@0xnook 0xnook commented Jun 18, 2025

What it solves

When initializing safe api key with Sonic chainId 46 without specifying the txServiceUrl

new SafeApiKit({
      chainId: 46n,
      // txServiceUrl: 'https://safe-transaction-sonic.safe.global/api'
})

The error TypeError: There is no transaction service available for chainId 46. Please set the txServiceUrl property to use a custom transaction service. is thrown

How this PR fixes it

By adding the Sonic tx service url to the TRANSACTION_SERVICE_URLS dict

Copy link

github-actions bot commented Jun 18, 2025

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@0xnook
Copy link
Contributor Author

0xnook commented Jun 18, 2025

I have read the CLA Document and I hereby sign the CLA

@0xnook 0xnook changed the title feat: add sonic transaction service url feat(api-kit): add sonic transaction service url Jun 18, 2025
@dasanra dasanra merged commit b42899f into safe-global:development Jun 20, 2025
13 of 15 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants