Nodes

StraxNode

class StraxNode(ipaddress: str = http://localhost, network: Union[StraxMain, StraxTest, StraxRegTest] = StraxMain())

A Strax Node.

property coldstaking: ColdStaking

The coldstaking route.

Returns:

A ColdStaking instance.

Return type:

ColdStaking

property diagnostic: Diagnostic

The diagnostic route.

Returns:

A Diagnostic instance.

Return type:

Diagnostic

property externalapi: ExternalAPI

The externalapi route.

Returns:

A ExternalAPI instance.

Return type:

ExternalAPI

property mining: Mining

The mining route.

Returns:

A Mining instance.

Return type:

Mining

property signalr: SignalR

The signalr route.

Returns:

A SignalR instance.

Return type:

SignalR

property staking: Staking

The staking route.

Returns:

A Staking instance.

Return type:

Staking

property addressbook: AddressBook

The addressbook route.

Returns:

An addressbook instance.

Return type:

AddressBook

property blockchainnetwork: BaseNetwork

The node’s network type.

Returns:

The node’s network.

Return type:

BaseNetwork

property blockstore: BlockStore

The blockstore route.

Returns:

A BlockStore instance.

Return type:

BlockStore

check_all_endpoints_implemented() bool

Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.

Returns:

True if all endpoints are implemented, otherwise False.

Return type:

bool

property connection_manager: ConnectionManager

The connectionmanager route.

Returns:

A ConnectionManager instance.

Return type:

ConnectionManager

property consensus: Consensus

The consensus route.

Returns:

A Consensus instance.

Return type:

Consensus

property dashboard: Dashboard

The dashboard route.

Returns:

A Dashboard instance.

Return type:

Dashboard

property ipaddr: str

The node’s ip address.

Returns:

The specified ip address of the node.

Return type:

str

property mempool: Mempool

The mempool route.

Returns:

A Mempool instance.

Return type:

Mempool

property name: str

The node’s name.

Returns:

The node name.

Return type:

str

property network: Network

The netowrk route.

Returns:

A Network instance.

Return type:

Network

property node: Node

The node route.

Returns:

A Node instance.

Return type:

Node

property rpc: RPC

The RPC route.

Returns:

A RPC instance.

Return type:

RPC

stop_node() bool

Convenience method for stopping node.

property wallet: Wallet

The wallet route.

Returns:

A Wallet instance.

Return type:

Wallet

CirrusNode

class CirrusNode(ipaddress: str = http://localhost, network: Union[CirrusMain, CirrusTest, CirrusRegTest] = CirrusMain())

A Cirrus Node.

property balances: Balances

The balances route.

Returns:

A Balances instance.

Return type:

Balances

property collateral: Collateral

The collateral route.

Returns:

A Collateral instance.

Return type:

Collateral

property contract_swagger: ContractSwagger

The contract_swagger route.

Returns:

A ContractSwagger instance.

Return type:

ContractSwagger

property diagnostic: Diagnostic

The diagnostic route.

Returns:

A Diagnostic instance.

Return type:

Diagnostic

property dynamic_contract: DynamicContract

The dynamic contract route.

Returns:

A DynamicContract instance.

Return type:

DynamicContract

property federation: Federation

The federation route.

Returns:

A Federation instance.

Return type:

Federation

property smart_contracts: SmartContracts

The smartcontracts route.

Returns:

A SmartContracts instance.

Return type:

SmartContracts

property smart_contract_wallet: SmartContractWallet

The smartcontractwallet route.

Returns:

A SmartContractWallet instance.

Return type:

SmartContractWallet

property signalr: SignalR

The signalr route.

Returns:

A SignalR instance.

Return type:

SignalR

property voting: Voting

The voting route.

Returns:

A Voting instance.

Return type:

Voting

property addressbook: AddressBook

The addressbook route.

Returns:

An addressbook instance.

Return type:

AddressBook

property blockchainnetwork: BaseNetwork

The node’s network type.

Returns:

The node’s network.

Return type:

BaseNetwork

property blockstore: BlockStore

The blockstore route.

Returns:

A BlockStore instance.

Return type:

BlockStore

check_all_endpoints_implemented() bool

Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.

Returns:

True if all endpoints are implemented, otherwise False.

Return type:

bool

property connection_manager: ConnectionManager

The connectionmanager route.

Returns:

A ConnectionManager instance.

Return type:

ConnectionManager

property consensus: Consensus

The consensus route.

Returns:

A Consensus instance.

Return type:

Consensus

property dashboard: Dashboard

The dashboard route.

Returns:

A Dashboard instance.

Return type:

Dashboard

property ipaddr: str

The node’s ip address.

Returns:

The specified ip address of the node.

Return type:

str

property mempool: Mempool

The mempool route.

Returns:

A Mempool instance.

Return type:

Mempool

property name: str

The node’s name.

Returns:

The node name.

Return type:

str

property network: Network

The netowrk route.

Returns:

A Network instance.

Return type:

Network

property node: Node

The node route.

Returns:

A Node instance.

Return type:

Node

property rpc: RPC

The RPC route.

Returns:

A RPC instance.

Return type:

RPC

stop_node() bool

Convenience method for stopping node.

property wallet: Wallet

The wallet route.

Returns:

A Wallet instance.

Return type:

Wallet

InterfluxStraxNode

class InterfluxStraxNode(ipaddress: str = http://localhost, network: Union[StraxMain, StraxTest, StraxRegTest] = StraxMain())

A Interflux Strax Node.

property collateral: Collateral

The collateral route.

Returns:

A Collateral instance.

Return type:

Collateral

property collateral_voting: CollateralVoting

The collateralvoting route.

Returns:

A CollateralVoting instance.

Return type:

CollateralVoting

property federation_gateway: FederationGateway

The federationgateway route.

Returns:

A FederationGateway instance.

Return type:

FederationGateway

property federation_wallet: FederationWallet

The federationwallet route.

Returns:

A FederationWallet instance.

Return type:

FederationWallet

property mining: Mining

The mining route.

Returns:

A Mining instance.

Return type:

Mining

property multisig: Multisig

The multisig route.

Returns:

A Multisig instance.

Return type:

Multisig

property notifications: Notifications

The notifications route.

Returns:

A Notificiations instance.

Return type:

Notifications

property staking: Staking

The staking route.”

Returns:

A Staking instance.

Return type:

Staking

property addressbook: AddressBook

The addressbook route.

Returns:

An addressbook instance.

Return type:

AddressBook

property blockchainnetwork: BaseNetwork

The node’s network type.

Returns:

The node’s network.

Return type:

BaseNetwork

property blockstore: BlockStore

The blockstore route.

Returns:

A BlockStore instance.

Return type:

BlockStore

check_all_endpoints_implemented() bool

Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.

Returns:

True if all endpoints are implemented, otherwise False.

Return type:

bool

property connection_manager: ConnectionManager

The connectionmanager route.

Returns:

A ConnectionManager instance.

Return type:

ConnectionManager

property consensus: Consensus

The consensus route.

Returns:

A Consensus instance.

Return type:

Consensus

property dashboard: Dashboard

The dashboard route.

Returns:

A Dashboard instance.

Return type:

Dashboard

property ipaddr: str

The node’s ip address.

Returns:

The specified ip address of the node.

Return type:

str

property mempool: Mempool

The mempool route.

Returns:

A Mempool instance.

Return type:

Mempool

property name: str

The node’s name.

Returns:

The node name.

Return type:

str

property network: Network

The netowrk route.

Returns:

A Network instance.

Return type:

Network

property node: Node

The node route.

Returns:

A Node instance.

Return type:

Node

property rpc: RPC

The RPC route.

Returns:

A RPC instance.

Return type:

RPC

stop_node() bool

Convenience method for stopping node.

property wallet: Wallet

The wallet route.

Returns:

A Wallet instance.

Return type:

Wallet

InterfluxCirrusNode

class InterfluxCirrusNode(ipaddress: str = http://localhost, network: Union[CirrusMain, CirrusTest, CirrusRegTest] = CirrusMain())

An Interflux Cirrus node.

property balances: Balances

The balances route.

Returns:

A Balances instance.

Return type:

Balances

property collateral: Collateral

The collateral route.

Returns:

A Collateral instance.

Return type:

Collateral

property collateral_voting: CollateralVoting

The collateralvoting route.

Returns:

A CollateralVoting instance.

Return type:

CollateralVoting

property contract_swagger: ContractSwagger

The contract_swagger route.

Returns:

A ContractSwagger instance.

Return type:

ContractSwagger

property dynamic_contract: DynamicContract

The dynamic contract route.

Returns:

A DynamicContract instance.

Return type:

DynamicContract

property externalapi: ExternalAPI

The externalapi route.

Returns:

A ExternalAPI instance.

Return type:

ExternalAPI

property federation: Federation

The federation route.

Returns:

A Federation instance.

Return type:

Federation

property federation_gateway: FederationGateway

The federationgateway route.

Returns:

A FederationGateway instance.

Return type:

FederationGateway

property federation_wallet: FederationWallet

The federationwallet route.

Returns:

A FederationWallet instance.

Return type:

FederationWallet

property interop: Interop

The interop route.

Returns:

An Interop instance.

Return type:

Interop

property multisig: Multisig

The multisig route.

Returns:

A Multisig instance.

Return type:

Multisig

property smart_contracts: SmartContracts

The smartcontracts route.

Returns:

A SmartContracts instance.

Return type:

SmartContracts

property smart_contract_wallet: SmartContractWallet

The smartcontractwallet route.

Returns:

A SmartContractWallet instance.

Return type:

SmartContractWallet

property notifications: Notifications

The notifications route.

Returns:

A Notifications instance.

Return type:

Notifications

property voting: Voting

The voting route.

Returns:

A Voting instance.

Return type:

Voting

property addressbook: AddressBook

The addressbook route.

Returns:

An addressbook instance.

Return type:

AddressBook

property blockchainnetwork: BaseNetwork

The node’s network type.

Returns:

The node’s network.

Return type:

BaseNetwork

property blockstore: BlockStore

The blockstore route.

Returns:

A BlockStore instance.

Return type:

BlockStore

check_all_endpoints_implemented() bool

Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.

Returns:

True if all endpoints are implemented, otherwise False.

Return type:

bool

property connection_manager: ConnectionManager

The connectionmanager route.

Returns:

A ConnectionManager instance.

Return type:

ConnectionManager

property consensus: Consensus

The consensus route.

Returns:

A Consensus instance.

Return type:

Consensus

property dashboard: Dashboard

The dashboard route.

Returns:

A Dashboard instance.

Return type:

Dashboard

property ipaddr: str

The node’s ip address.

Returns:

The specified ip address of the node.

Return type:

str

property mempool: Mempool

The mempool route.

Returns:

A Mempool instance.

Return type:

Mempool

property name: str

The node’s name.

Returns:

The node name.

Return type:

str

property network: Network

The netowrk route.

Returns:

A Network instance.

Return type:

Network

property node: Node

The node route.

Returns:

A Node instance.

Return type:

Node

property rpc: RPC

The RPC route.

Returns:

A RPC instance.

Return type:

RPC

stop_node() bool

Convenience method for stopping node.

property wallet: Wallet

The wallet route.

Returns:

A Wallet instance.

Return type:

Wallet

StraxMasternode

class StraxMasterNode(ipaddress: str = http://localhost, network: Union[StraxMain, StraxTest, StraxRegTest] = StraxMain()())

The Strax member of the masternode pair.

property addressbook: AddressBook

The addressbook route.

Returns:

An addressbook instance.

Return type:

AddressBook

property balances: Balances

The balances route.

Returns:

A Balances instance

Return type:

Balances

property blockchainnetwork: BaseNetwork

The node’s network type.

Returns:

The node’s network.

Return type:

BaseNetwork

property blockstore: BlockStore

The blockstore route.

Returns:

A BlockStore instance.

Return type:

BlockStore

check_all_endpoints_implemented() bool

Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.

Returns:

True if all endpoints are implemented, otherwise False.

Return type:

bool

property collateral: Collateral

The collateral route. Not available in devmode.

Returns:

A Collateral instance.

Return type:

Collateral

property connection_manager: ConnectionManager

The connectionmanager route.

Returns:

A ConnectionManager instance.

Return type:

ConnectionManager

property consensus: Consensus

The consensus route.

Returns:

A Consensus instance.

Return type:

Consensus

property contract_swagger: ContractSwagger

The contract_swagger route.

Returns:

A ContractSwagger instance.

Return type:

ContractSwagger

property dashboard: Dashboard

The dashboard route.

Returns:

A Dashboard instance.

Return type:

Dashboard

property dynamic_contract: DynamicContract

The dynamic contract route.

Returns:

A DynamicContract instance.

Return type:

DynamicContract

property federation: Federation

The federation route.

Returns:

A Federation instance.

Return type:

Federation

property ipaddr: str

The node’s ip address.

Returns:

The specified ip address of the node.

Return type:

str

property mempool: Mempool

The mempool route.

Returns:

A Mempool instance.

Return type:

Mempool

property name: str

The node’s name.

Returns:

The node name.

Return type:

str

property network: Network

The netowrk route.

Returns:

A Network instance.

Return type:

Network

property node: Node

The node route.

Returns:

A Node instance.

Return type:

Node

property notifications: Notifications

The notifications route.

Returns:

A Notifications instance.

Return type:

Notifications

property rpc: RPC

The RPC route.

Returns:

A RPC instance.

Return type:

RPC

property signalr: SignalR

The signalr route.

Returns:

A SignalR instance.

Return type:

SignalR

property smart_contract_wallet: SmartContractWallet

The smartcontractwallet route.

Returns:

A SmartContractWallet instance.

Return type:

SmartContractWallet

property smart_contracts: SmartContracts

The smartcontracts route.

Returns:

A SmartContracts instance.

Return type:

SmartContracts

stop_node() bool

Convenience method for stopping node.

property voting: Voting

The voting route.

Returns:

A Voting instance.

Return type:

Voting

property wallet: Wallet

The wallet route.

Returns:

A Wallet instance.

Return type:

Wallet

CirrusMasternode

class CirrusMasterNode(ipaddress: str = http://localhost, network: Union[CirrusMain, CirrusTest, CirrusRegTest] = CirrusMain())

The Cirrus member of the masternode pair.

property addressbook: AddressBook

The addressbook route.

Returns:

An addressbook instance.

Return type:

AddressBook

property balances: Balances

The balances route.

Returns:

A Balances instance

Return type:

Balances

property blockchainnetwork: BaseNetwork

The node’s network type.

Returns:

The node’s network.

Return type:

BaseNetwork

property blockstore: BlockStore

The blockstore route.

Returns:

A BlockStore instance.

Return type:

BlockStore

check_all_endpoints_implemented() bool

Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.

Returns:

True if all endpoints are implemented, otherwise False.

Return type:

bool

property collateral: Collateral

The collateral route. Not available in devmode.

Returns:

A Collateral instance.

Return type:

Collateral

property connection_manager: ConnectionManager

The connectionmanager route.

Returns:

A ConnectionManager instance.

Return type:

ConnectionManager

property consensus: Consensus

The consensus route.

Returns:

A Consensus instance.

Return type:

Consensus

property contract_swagger: ContractSwagger

The contract_swagger route.

Returns:

A ContractSwagger instance.

Return type:

ContractSwagger

property dashboard: Dashboard

The dashboard route.

Returns:

A Dashboard instance.

Return type:

Dashboard

property dynamic_contract: DynamicContract

The dynamic contract route.

Returns:

A DynamicContract instance.

Return type:

DynamicContract

property federation: Federation

The federation route.

Returns:

A Federation instance.

Return type:

Federation

property ipaddr: str

The node’s ip address.

Returns:

The specified ip address of the node.

Return type:

str

property mempool: Mempool

The mempool route.

Returns:

A Mempool instance.

Return type:

Mempool

property name: str

The node’s name.

Returns:

The node name.

Return type:

str

property network: Network

The netowrk route.

Returns:

A Network instance.

Return type:

Network

property node: Node

The node route.

Returns:

A Node instance.

Return type:

Node

property notifications: Notifications

The notifications route.

Returns:

A Notifications instance.

Return type:

Notifications

property rpc: RPC

The RPC route.

Returns:

A RPC instance.

Return type:

RPC

property signalr: SignalR

The signalr route.

Returns:

A SignalR instance.

Return type:

SignalR

property smart_contract_wallet: SmartContractWallet

The smartcontractwallet route.

Returns:

A SmartContractWallet instance.

Return type:

SmartContractWallet

property smart_contracts: SmartContracts

The smartcontracts route.

Returns:

A SmartContracts instance.

Return type:

SmartContracts

stop_node() bool

Convenience method for stopping node.

property voting: Voting

The voting route.

Returns:

A Voting instance.

Return type:

Voting

property wallet: Wallet

The wallet route.

Returns:

A Wallet instance.

Return type:

Wallet