iota_sdk.types.common
CoinType Objects
class CoinType(IntEnum)
Coin types.
Attributes:
IOTA
4218 - IOTASHIMMER
4219 - SHIMMERETHER
60 - ETHER
Node Objects
class Node()
Represents a node in the network.
__init__
def __init__(url=None, jwt=None, username=None, password=None, disabled=None)
Initialize a Node.
Arguments:
url
- The node url.jwt
- A JWT token for authentication.username
- A username for basic authentication.password
- A password for basic authentication.disabled
- Whether the node should be used for API requests or not.
AddressAndAmount Objects
class AddressAndAmount()
Parameters to send a certain amount of coins to an address.
__init__
def __init__(amount: int, address: str)
Initialize AddressAndAmount for options in Client::build_and_post_block()
Arguments:
amount
- The base coin amount to send.address
- The receive address.