deposit_networks
Deposit Networks
This module contains the type definitions for the response of the deposit networks endpoint.
Classes
DepositNetworkInfo
: ATypedDict
that represents the structure of the network informationDepositNetworksResponse
: ATypedDict
that represents the structure of the deposit networks response
DepositNetworkInfo
Bases: TypedDict
Network Information.
Attributes:
Name | Type | Description |
---|---|---|
network_name |
(str
|
Network name. |
network_layer |
str
|
Network layer. |
description_deposit |
str
|
Description deposit. |
min_deposit |
str
|
Min deposit. |
address |
str
|
Address. |
memo |
str
|
Memo. |
Examples:
>>> DepositNetworkInfo(
... network_name="network_name",
... network_layer="network_layer",
... description_deposit="description_deposit",
... min_deposit="min_deposit",
... address="address",
... memo="memo",
... )
{
'network_name': 'network_name',
'network_layer': 'network_layer',
'description_deposit': 'description_deposit',
'min_deposit': 'min_deposit',
'address': 'address',
'memo': 'memo'
}
Source code in src/bit24/types/responses/deposit_networks.py
DepositNetworksResponse
Bases: TypedDict
Deposit Networks Response.
Attributes:
Name | Type | Description |
---|---|---|
networks |
list[DepositNetworkInfo]
|
Networks. |
Examples:
>>> DepositNetworksResponse(
... networks=[
... DepositNetworkInfo(
... network_name="network_name",
... network_layer="network_layer",
... description_deposit="description_deposit",
... min_deposit="min_deposit",
... address="address",
... memo="memo",
... )
... ]
... )
{
'networks': [
{
'network_name': 'network_name',
'network_layer': 'network_layer',
'description_deposit': 'description_deposit',
'min_deposit': 'min_deposit',
'address': 'address',
'memo': 'memo'
}
]
}