Skip to main content

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

Metadata

Release files for synthetix 0.1.24

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for synthetix 0.1.24
File Size Uploaded
synthetix-0.1.24.tar.gz 200.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for synthetix 0.1.24
File Interpreter ABI Platform
synthetix-0.1.24-py3-none-any.whl Python 3 none any Details

Total release size: 464.5 kB

Release files / synthetix-0.1.24.tar.gz

Download URL synthetix-0.1.24.tar.gz
Size 200.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5dd763dcc78e92a11b2fdcc6119ff31447e758a89b6247660ae8f3b22fb7be46
BLAKE2b-256 checksum
How to use checksums
24f6b3a5ba2bbd9fd15dd4778e9b1ab80c2439a8f872c1ff7bf950860eb1ec17
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / synthetix-0.1.24-py3-none-any.whl

Download URL synthetix-0.1.24-py3-none-any.whl
Size 263.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e190c3d6d7bb463c1437b0c84e2efef65a5e746a6e846ef52f467d7627506ff
BLAKE2b-256 checksum
How to use checksums
c05ec0014a2458768a351adf020e14b6e4286b5048cbcd1cb306b48c584b7307
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

0.1.24 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page