Skip to main content

Python SDK for t.me/xJetSwapBot

Project description

pyxJetAPI

Authors

Usage/Examples

Live example

api = pyxJet(
    api_key="API_KEY",
    private_key="PRIVATE_KEY", 
    mainnet=xJetNet.TESTNET # or xJetNet.MAINNET
)
# Account methods
await api.me() # get API Application information.
await api.balance() # get balance
await api.submit_deposit() # check for deposit
await api.withdraw(ton_address, currency, amount) # check for deposit
# Cheques methods
await api.cheque_create(currency, amount, expires, description, activates_count, groups_id, personal_id, password) # create cheque
await api.cheque_status(cheque_id) # get cheque status
await api.cheque_list() # get cheques on account
await api.cheque_cancel(cheque_id) # delete cheque
# Invoice methods
await api.invoice_create(currency, amount, description, max_payments) # create invoice
await api.invoice_status(invoice_status) # get invoice status
await api.invoice_list() # get invoices on account
# NFT methods
await api.nft_list()
await api.nft_transfer(nft_address, to_address)

License

GNUv3

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

xjet-0.1.2.tar.gz (16.8 kB view hashes)

Uploaded Source

Built Distribution

xjet-0.1.2-py3-none-any.whl (17.3 kB view hashes)

Uploaded Python 3

Supported by

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