Skip to content

Commit

Permalink
docs updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Prudnikov committed Dec 29, 2024
1 parent 15da9ab commit a713fa0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/clients/evm_client/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Here's an example:
async def main():
eth_client = AioTxETHClient("NODE_URL")
await eth_client.connect()
last_block = await eth_client.get_last_block_number()
print("last_block", last_block)
Expand Down
2 changes: 1 addition & 1 deletion docs/clients/ton_client/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Here's an example:
"https://testnet.toncenter.com/api/v2",
headers={"X-API-Key": "GET API KEY FROM https://t.me/tonapibot"},
)
await ton_client.connect()
# Create a new wallet
memo, address, raw_address = await ton_client.generate_address()
print("New wallet address:", address)
Expand Down
1 change: 1 addition & 0 deletions docs/clients/tron_client/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Here's an example:
async def main():
await tron_client.connect()
last_block = await tron_client.get_last_block_number()
print("last_block", last_block)
Output: last_block 47393539
Expand Down
2 changes: 2 additions & 0 deletions docs/clients/utxo_client/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ To create an instance of `AioTxBTCClient` or `AioTxLTCClient`, you need to provi
btc_mainnet_client = AioTxBTCClient(
node_url="https://bitcoin-node-url"
)
await btc_mainnet_client.connect()
# Create a Litecoin client instance for testnet
ltc_testnet_client = AioTxLTCClient(
node_url="https://litecoin-testnet-node-url",
testnet=True
)
await ltc_testnet_client.connect()
# Use the client instances to interact with the respective networks
# ...
Expand Down

0 comments on commit a713fa0

Please sign in to comment.