withdraw_networks
Withdrawal Networks Response.
This module contains the type definitions for the response of the withdrawal networks endpoint.
Classes
WithdrawNetworkInfo
: ATypedDict
that represents the structure of the network information.WithdrawalNetworksResponse
: ATypedDict
that represents the structure of the withdrawal networks response.
WithdrawNetworkInfo
Bases: TypedDict
Network Information.
Attributes:
Name | Type | Description |
---|---|---|
network_id |
int
|
Network ID. |
network_name |
str
|
Network name. |
network_layer |
str
|
Network layer. |
min_withdraw |
str
|
Min withdraw. |
max_withdraw |
str
|
Max withdraw. |
fee |
str
|
Fee. |
address_regex |
str
|
Address regex. |
memo_regex |
str
|
Memo regex. |
Examples:
>>> WithdrawNetworkInfo(
... network_id=1,
... network_name="network_name",
... network_layer="network_layer",
... min_withdraw="min_withdraw",
... max_withdraw="max_withdraw",
... fee="fee",
... address_regex="address_regex",
... memo_regex="memo_regex",
... )
{
'network_id': 1,
'network_name': 'network_name',
'network_layer': 'network_layer',
'min_withdraw': 'min_withdraw',
'max_withdraw': 'max_withdraw',
'fee': 'fee',
'address_regex': 'address_regex',
'memo_regex': 'memo_regex'
}
Source code in src/bit24/types/responses/withdraw_networks.py
WithdrawalNetworksResponse
Bases: TypedDict
Withdrawal Networks Response.
Attributes:
Name | Type | Description |
---|---|---|
balance |
str
|
Balance. |
networks |
list[NetworkInfo]
|
Networks. |
Examples:
>>> WithdrawalNetworksResponse(
... balance="balance",
... networks=[
... WithdrawNetworkInfo(
... network_id=1,
... network_name="network_name",
... network_layer="network_layer",
... min_withdraw="min_withdraw",
... max_withdraw="max_withdraw",
... fee="fee",
... address_regex="address_regex",
... memo_regex="memo_regex",
... )
... ],
... )
{
'balance': 'balance',
'networks': [
{
'network_id': 1,
'network_name': 'network_name',
'network_layer': 'network_layer',
'min_withdraw': 'min_withdraw',
'max_withdraw': 'max_withdraw',
'fee': 'fee',
'address_regex': 'address_regex',
'memo_regex': 'memo_regex'
}
]
}