dragonchain/lib/dto/bnb.py
def export_as_at_rest(self) -> Dict[str, Any]:
        """Export this network to be saved in storage
        Returns:
            DTO as a dictionary to be saved
        """
        return {
            "version": "1",
            "blockchain": self.blockchain,
            "name": self.name,
            "testnet": self.testnet,
            "node_url": self.node_url,
            "rpc_port": self.rpc_port,
            "api_port": self.api_port,
            "private_key": self.get_private_key(),
        }
Export this network to be saved in storage
        Returns:
            DTO as a dictionary to be saved
        
Export this network to be saved in storage
Export this network to be saved in storage
def export_as_at_rest(self) -> Dict[str, Any]:
        return {
            "version": "1",
            "blockchain": self.blockchain,
            "name": self.name,
            "testnet": self.testnet,
            "node_url": self.node_url,
            "rpc_port": self.rpc_port,
            "api_port": self.api_port,
            "private_key": self.get_private_key(),
        }
def export_as_at_rest ( self ) -> Dict [ str , Any ] : return { "version" : "1" , "blockchain" : self . blockchain , "name" : self . name , "testnet" : self . testnet , "node_url" : self . node_url , "rpc_port" : self . rpc_port , "api_port" : self . api_port , "private_key" : self . get_private_key ( ) , }
Export this network to be saved in storage
Export this network to be saved in storage
"""Export this network to be saved in storage
        Returns:
            DTO as a dictionary to be saved
        """
DTO as a dictionary to be saved
DTO as a dictionary to be saved
self