Skip to main content

Python SDK for interacting with Synthetix V3 smart contracts

Project description

Synthetix Python SDK

Python SDK for interacting with Synthetix V3 smart contracts.

Installation

pip install synthetix

Quick Start

from synthetix import Synthetix

snx = Synthetix(
    provider_rpc="https://base-mainnet.infura.io/v3/...",
    network_id=8453,
    address="0x...",
)

# Fetch core account IDs
account_ids = snx.core.get_account_ids()

# Get perps markets
markets = snx.perps.get_markets()

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synthetix-0.1.24.tar.gz (200.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synthetix-0.1.24-py3-none-any.whl (263.6 kB view details)

Uploaded Python 3

File details

Details for the file synthetix-0.1.24.tar.gz.

File metadata

  • Download URL: synthetix-0.1.24.tar.gz
  • Upload date:
  • Size: 200.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for synthetix-0.1.24.tar.gz
Algorithm Hash digest
SHA256 5dd763dcc78e92a11b2fdcc6119ff31447e758a89b6247660ae8f3b22fb7be46
MD5 4ae8d922bcc5ed94bdc028ef11c69da6
BLAKE2b-256 24f6b3a5ba2bbd9fd15dd4778e9b1ab80c2439a8f872c1ff7bf950860eb1ec17

See more details on using hashes here.

File details

Details for the file synthetix-0.1.24-py3-none-any.whl.

File metadata

  • Download URL: synthetix-0.1.24-py3-none-any.whl
  • Upload date:
  • Size: 263.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for synthetix-0.1.24-py3-none-any.whl
Algorithm Hash digest
SHA256 9e190c3d6d7bb463c1437b0c84e2efef65a5e746a6e846ef52f467d7627506ff
MD5 bcdca83ad65f3fb44aa8134e223985ee
BLAKE2b-256 c05ec0014a2458768a351adf020e14b6e4286b5048cbcd1cb306b48c584b7307

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page