DestroyOss

This is the interface for logging off the gateway.

// DestroyOss destroys the oss role of the current account
//
// Return:
//   - string: block hash
//   - error: error message
func (c *ChainClient) DestroyOss() (string, error)

For example code, please refer to exit.go

Last updated